/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | RestoreDbTask.java | 142 long newId = profileMapping.valueAt(i); in sanitizeDB() local 144 if (oldId != newId) { in sanitizeDB() 145 if (profileMapping.indexOfKey(newId) >= 0) { in sanitizeDB() 146 tempMigratedIds.put(numTempMigrations, newId); in sanitizeDB() 148 newId = tempLocationOffset + newId; in sanitizeDB() 150 migrateProfileId(db, oldId, newId); in sanitizeDB() 156 long newId = tempMigratedIds.valueAt(i); in sanitizeDB() local 157 migrateProfileId(db, tempLocationOffset + newId, newId); in sanitizeDB()
|
/packages/modules/DnsResolver/ |
D | DnsTlsQueryMap.cpp | 35 int32_t newId = getFreeId(); in recordQuery() local 36 if (newId < 0) { in recordQuery() 43 Query q = {.newId = static_cast<uint16_t>(newId), .query = std::move(tmp)}; in recordQuery() 45 const auto [it, inserted] = mQueries.try_emplace(newId, q); in recordQuery() 58 void DnsTlsQueryMap::markTried(uint16_t newId) { in markTried() argument 60 auto it = mQueries.find(newId); in markTried()
|
D | resolv_tls_unit_test.cpp | 876 EXPECT_EQ(0, f0->query.newId); in TEST() 877 EXPECT_EQ(1, f1->query.newId); in TEST() 878 EXPECT_EQ(2, f2->query.newId); in TEST() 886 EXPECT_EQ(0, all[0].newId); in TEST() 887 EXPECT_EQ(1, all[1].newId); in TEST() 888 EXPECT_EQ(2, all[2].newId); in TEST() 933 EXPECT_EQ(i, futures[i]->query.newId); in TEST() 955 EXPECT_EQ(40000, f->query.newId); in TEST()
|
D | DnsTlsQueryMap.h | 41 uint16_t newId; member 75 void markTried(uint16_t newId);
|
D | DnsTlsTransport.cpp | 63 const bool sent = mSocket->query(q.newId, netdutils::drop(netdutils::makeSlice(q.query), 2)); in sendQuery() 65 mQueries.markTried(q.newId); in sendQuery()
|
/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/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 | 395 mThemes.add(new CustomTheme(CustomTheme.newId(), in addCustomThemes() 403 mThemes.add(new CustomTheme(CustomTheme.newId(), mContext.getString( in addCustomThemes() 411 mThemes.add(new CustomTheme(CustomTheme.newId(), mContext.getString( in addCustomThemes()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | IdGenerator.java | 37 public long newId() { in newId() method in IdGenerator
|
/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/Gallery2/src/com/android/gallery3d/data/ |
D | SnailSource.java | 59 public static synchronized int newId() { in newId() method in SnailSource
|
/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/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 | 736 int newId = LauncherSettings.Settings.call(getContext().getContentResolver(), in commitExtraEmptyScreen() local 739 mWorkspaceScreens.put(newId, cl); in commitExtraEmptyScreen() 740 mScreenOrder.add(newId); in commitExtraEmptyScreen() 742 return newId; in commitExtraEmptyScreen()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoPage.java | 404 int id = SnailSource.newId(); in onCreate()
|