Home
last modified time | relevance | path

Searched refs:removedIds (Results 1 – 3 of 3) sorted by relevance

/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerImplTest.java437 List<String> removedIds = new ArrayList<>(totalNum); in testContactsIndexerImpl_batchRemoveContacts_largerThanBatchSize() local
439 removedIds.add(String.valueOf(i)); in testContactsIndexerImpl_batchRemoveContacts_largerThanBatchSize()
442 contactsIndexerImpl.batchRemoveContactsAsync(removedIds, in testContactsIndexerImpl_batchRemoveContacts_largerThanBatchSize()
445 assertThat(mAppSearchHelper.mRemovedIds).hasSize(removedIds.size()); in testContactsIndexerImpl_batchRemoveContacts_largerThanBatchSize()
446 assertThat(mAppSearchHelper.mRemovedIds).isEqualTo(removedIds); in testContactsIndexerImpl_batchRemoveContacts_largerThanBatchSize()
455 List<String> removedIds = new ArrayList<>(totalNum); in testContactsIndexerImpl_batchRemoveContacts_smallerThanBatchSize() local
457 removedIds.add(String.valueOf(i)); in testContactsIndexerImpl_batchRemoveContacts_smallerThanBatchSize()
460 contactsIndexerImpl.batchRemoveContactsAsync(removedIds, in testContactsIndexerImpl_batchRemoveContacts_smallerThanBatchSize()
463 assertThat(mAppSearchHelper.mRemovedIds).hasSize(removedIds.size()); in testContactsIndexerImpl_batchRemoveContacts_smallerThanBatchSize()
464 assertThat(mAppSearchHelper.mRemovedIds).isEqualTo(removedIds); in testContactsIndexerImpl_batchRemoveContacts_smallerThanBatchSize()
/packages/apps/Contacts/src/com/android/contacts/
DDynamicShortcuts.java168 final List<String> removedIds = new ArrayList<>(); in updatePinned() local
192 removedIds.add(shortcut.getId()); in updatePinned()
199 Log.d(TAG, "disabling " + removedIds); in updatePinned()
204 mShortcutManager.disableShortcuts(removedIds, in updatePinned()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java447 final IntSet removedIds = new IntSet(); in onSessionFailure() local
466 removedIds.add(info.id); in onSessionFailure()
483 if (!removedIds.isEmpty() && !isAppArchived) { in onSessionFailure()
485 ItemInfoMatcher.ofItemIds(removedIds), in onSessionFailure()