Home
last modified time | relevance | path

Searched refs:updateArgs (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/
DDynamicShortcutsTests.java153 final ArgumentCaptor<List<ShortcutInfo>> updateArgs = in test_updatePinned_updatesExistingShortcutsWithMatchingKeys() local
158 verify(mockShortcutManager).updateShortcuts(updateArgs.capture()); in test_updatePinned_updatesExistingShortcutsWithMatchingKeys()
160 final List<ShortcutInfo> arg = updateArgs.getValue(); in test_updatePinned_updatesExistingShortcutsWithMatchingKeys()
182 final ArgumentCaptor<List<ShortcutInfo>> updateArgs = in test_refresh_setsDynamicShortcutsToStrequentContacts() local
185 verify(mockShortcutManager).setDynamicShortcuts(updateArgs.capture()); in test_refresh_setsDynamicShortcutsToStrequentContacts()
187 final List<ShortcutInfo> arg = updateArgs.getValue(); in test_refresh_setsDynamicShortcutsToStrequentContacts()
209 final ArgumentCaptor<List<ShortcutInfo>> updateArgs = in test_refresh_skipsContactsWithNullName() local
212 verify(mockShortcutManager).setDynamicShortcuts(updateArgs.capture()); in test_refresh_skipsContactsWithNullName()
214 final List<ShortcutInfo> arg = updateArgs.getValue(); in test_refresh_skipsContactsWithNullName()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DPickerDbFacade.java549 final String[] updateArgs = new String[] {cloudId}; in demoteCloudMediaToHidden() local
550 if (updateMedia(QB_MATCH_CLOUD, CONTENT_VALUE_HIDDEN, updateArgs) == SUCCESS) { in demoteCloudMediaToHidden()
623 final String[] updateArgs = {id}; in promoteCloudMediaToVisible() local
624 if (updateMedia(QB_MATCH_ID, CONTENT_VALUE_VISIBLE, updateArgs) == SUCCESS) { in promoteCloudMediaToVisible()