/packages/modules/DnsResolver/ |
D | DnsTlsQueryMap.cpp | 42 int32_t newId = getFreeId(); in recordQuery() local 43 if (newId < 0) { in recordQuery() 50 Query q = {.newId = static_cast<uint16_t>(newId), .query = std::move(tmp)}; in recordQuery() 52 const auto [it, inserted] = mQueries.try_emplace(newId, q); in recordQuery() 65 void DnsTlsQueryMap::markTried(uint16_t newId) { in markTried() argument 67 auto it = mQueries.find(newId); in markTried()
|
D | DnsTlsQueryMap.h | 43 uint16_t newId; member 77 void markTried(uint16_t newId);
|
D | DnsTlsTransport.cpp | 180 const bool sent = mSocket->query(q.newId, netdutils::drop(netdutils::makeSlice(q.query), 2)); in sendQuery() 182 mQueries.markTried(q.newId); in sendQuery()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | RestoreDbTask.java | 193 long newId = profileMapping.valueAt(i); in sanitizeDB() local 195 if (oldId != newId) { in sanitizeDB() 196 if (profileMapping.indexOfKey(newId) >= 0) { in sanitizeDB() 197 tempMigratedIds.put(numTempMigrations, newId); in sanitizeDB() 199 newId = tempLocationOffset + newId; in sanitizeDB() 201 migrateProfileId(db, oldId, newId); in sanitizeDB() 207 long newId = tempMigratedIds.valueAt(i); in sanitizeDB() local 208 migrateProfileId(db, tempLocationOffset + newId, newId); in sanitizeDB()
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | DynamicShortcuts.java | 198 String newId = entry.getKey(); in computeDelta() local 200 if (!containsShortcut(oldDynamicShortcuts, newId)) { in computeDelta() 203 delta.shortcutsToAddById.put(newId, newShortcut); in computeDelta()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_tls_unit_test.cpp | 926 EXPECT_EQ(0, f0->query.newId); in TEST() 927 EXPECT_EQ(1, f1->query.newId); in TEST() 928 EXPECT_EQ(2, f2->query.newId); in TEST() 936 EXPECT_EQ(0, all[0].newId); in TEST() 937 EXPECT_EQ(1, all[1].newId); in TEST() 938 EXPECT_EQ(2, all[2].newId); in TEST() 983 EXPECT_EQ(i, futures[i]->query.newId); in TEST() 1005 EXPECT_EQ(40000, f->query.newId); in TEST()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarDatabaseHelper.java | 3396 final long newId = DatabaseUtils.longForQuery( in duplicateEvent() local 3398 if (newId < 0) { in duplicateEvent() 3403 Log.v(TAG, "Duplicating event " + id + " into new event " + newId); in duplicateEvent() 3406 copyEventRelatedTables(db, newId, id); in duplicateEvent() 3417 static void copyEventRelatedTables(SQLiteDatabase db, long newId, long id) { in copyEventRelatedTables() argument 3424 new Object[] {newId, id}); in copyEventRelatedTables() 3431 new Object[] {newId, id}); in copyEventRelatedTables() 3438 new Object[]{newId, id}); in copyEventRelatedTables()
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/ |
D | DefaultThemeProvider.java | 114 .setId(CustomTheme.newId()) in loadAll() 333 .setId(CustomTheme.newId()) in addCustomThemes() 343 .setId(CustomTheme.newId()) in addCustomThemes()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | GridSizeMigrationTaskV2.java | 308 int newId = -1; in copyEntryAndUpdate() local 320 newId = LauncherSettings.Settings.call(context.getContentResolver(), in copyEntryAndUpdate() 323 values.put(LauncherSettings.Favorites._ID, newId); in copyEntryAndUpdate() 327 return newId; in copyEntryAndUpdate()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | IdGenerator.java | 37 public long newId() { in newId() method in IdGenerator
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | SnailSource.java | 59 public static synchronized int newId() { in newId() method in SnailSource
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | AggregationSuggestionEngine.java | 355 for (final Long newId : newIds) { in updateSuggestedContactIds() 356 mSuggestedContactIds[i++] = newId; in updateSuggestedContactIds()
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/ |
D | CustomTheme.java | 33 public static String newId() { in newId() method in CustomTheme
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregatorTest.java | 1776 long newId = RawContactUtil.createRawContact(mResolver, in testNotAggregate_TooManyRawContactsInCandidate() local 1778 DataUtil.insertStructuredName(mResolver, newId, "John", "Doe"); in testNotAggregate_TooManyRawContactsInCandidate() 1779 assertNotAggregated(preId, newId); in testNotAggregate_TooManyRawContactsInCandidate() 1780 assertTrue(queryContactId(newId) > 0); in testNotAggregate_TooManyRawContactsInCandidate()
|
D | ContactAggregator2Test.java | 1786 long newId = RawContactUtil.createRawContact(mResolver, in testNotAggregate_TooManyRawContactsInCandidate() local 1788 DataUtil.insertStructuredName(mResolver, newId, "John", "Doe"); in testNotAggregate_TooManyRawContactsInCandidate() 1789 assertNotAggregated(preId, newId); in testNotAggregate_TooManyRawContactsInCandidate() 1790 assertTrue(queryContactId(newId) > 0); in testNotAggregate_TooManyRawContactsInCandidate()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | DatabaseHelper.java | 152 long newId, int newMediaType, boolean newIsDownload, in onUpdate() argument 287 final long newId = Long.parseLong(split[4]); in onConfigure() 297 oldMediaType, oldIsDownload, newId, newMediaType, newIsDownload, in onConfigure()
|
D | MediaProvider.java | 684 long newId, int newMediaType, boolean newIsDownload, 688 handleUpdatedRowForFuse(oldPath, oldOwnerPackage, oldId, newId);
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrDataManagerImpl.java | 662 r.setId(IdGenerator.SCHEDULED_RECORDING.newId()); in addScheduledRecording() 682 r.setId(IdGenerator.SERIES_RECORDING.newId()); in addSeriesRecording()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 752 int newId = LauncherSettings.Settings.call(getContext().getContentResolver(), in commitExtraEmptyScreen() local 755 mWorkspaceScreens.put(newId, cl); in commitExtraEmptyScreen() 756 mScreenOrder.add(newId); in commitExtraEmptyScreen() 758 return newId; in commitExtraEmptyScreen()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoPage.java | 404 int id = SnailSource.newId(); in onCreate()
|