Home
last modified time | relevance | path

Searched refs:updates (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/
DCallLogMutations.java28 private final ArrayMap<Long, ContentValues> updates = new ArrayMap<>(); field in CallLogMutations
38 Assert.checkArgument(!updates.containsKey(id), "Can't insert row scheduled for update"); in insert()
58 ContentValues existingContentValues = updates.get(id); in update()
62 updates.put(id, contentValues); in update()
72 Assert.checkArgument(!updates.containsKey(id), "Can't delete row scheduled for update"); in delete()
79 return inserts.isEmpty() && updates.isEmpty() && deletes.isEmpty(); in isEmpty()
99 return updates; in getUpdates()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java291 final Set<Preference> updates = new ArraySet<>(); in run() local
302 updates.add(p); in run()
311 updates.add(p); in run()
323 updates.add(p); in run()
327 mSettings.setShownPreferences(updates); in run()
337 public void setShownPreferences(final Collection<Preference> updates) { in setShownPreferences() argument
338 mLegacyVpnPreferences.values().retainAll(updates); in setShownPreferences()
339 mAppPreferences.values().retainAll(updates); in setShownPreferences()
346 if (updates.contains(p)) { in setShownPreferences()
347 updates.remove(p); in setShownPreferences()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DVpnSettings.java292 final Set<Preference> updates = new ArraySet<>(); in run() local
303 updates.add(p); in run()
312 updates.add(p); in run()
324 updates.add(p); in run()
328 mSettings.setShownPreferences(updates); in run()
338 public void setShownPreferences(final Collection<Preference> updates) { in setShownPreferences() argument
339 mLegacyVpnPreferences.values().retainAll(updates); in setShownPreferences()
340 mAppPreferences.values().retainAll(updates); in setShownPreferences()
347 if (updates.contains(p)) { in setShownPreferences()
348 updates.remove(p); in setShownPreferences()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageInstallStateChangedTask.java74 final HashSet<ItemInfo> updates = new HashSet<>(); in execute() local
86 updates.add(si); in execute()
94 updates.add(widget); in execute()
98 if (!updates.isEmpty()) { in execute()
102 callbacks.bindRestoreItemsChange(updates); in execute()
/packages/apps/Settings/src/com/android/settings/shortcut/
DShortcutsUpdateTask.java47 List<ShortcutInfo> updates = new ArrayList<>(); in doInBackground() local
58 updates.add(new ShortcutInfo.Builder(mContext, info.getId()) in doInBackground()
61 if (!updates.isEmpty()) { in doInBackground()
62 sm.updateShortcuts(updates); in doInBackground()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/shortcut/
DShortcutsUpdateTask.java47 List<ShortcutInfo> updates = new ArrayList<>(); in doInBackground() local
58 updates.add(new ShortcutInfo.Builder(mContext, info.getId()) in doInBackground()
61 if (!updates.isEmpty()) { in doInBackground()
62 sm.updateShortcuts(updates); in doInBackground()
/packages/apps/Settings/tests/robotests/src/com/android/settings/shortcut/
DShortcutsUpdateTaskTest.java106 final List<ShortcutInfo> updates = mListCaptor.getValue(); in shortcutsUpdateTask() local
108 assertThat(updates).hasSize(2); in shortcutsUpdateTask()
109 assertThat(pinnedShortcuts.get(2).getId()).isEqualTo(updates.get(0).getId()); in shortcutsUpdateTask()
110 assertThat(pinnedShortcuts.get(4).getId()).isEqualTo(updates.get(1).getId()); in shortcutsUpdateTask()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DPackageInstallStateChangedTaskTest.java60 HashSet<Integer> updates = new HashSet<>(Arrays.asList(idsUpdated)); in verifyProgressUpdate() local
63 assertEquals(updates.contains(info.id) ? progress: 0, in verifyProgressUpdate()
66 assertEquals(updates.contains(info.id) ? progress: -1, in verifyProgressUpdate()
DCacheDataUpdatedTaskTest.java88 HashSet<Integer> updates = new HashSet<>(Arrays.asList(idsUpdated)); in verifyUpdate() local
90 if (updates.contains(info.id)) { in verifyUpdate()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DPlayerApplicationSettings.java106 public void setSupport(PlayerApplicationSettings updates) { in setSupport() argument
107 mSettings = updates.mSettings; in setSupport()
108 mSupportedValues = updates.mSupportedValues; in setSupport()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsInitialize.java131 final List<ShortcutInfo> updates = new ArrayList<>(); in refreshExistingShortcuts() local
141 updates.add(updatedInfo); in refreshExistingShortcuts()
143 shortcutManager.updateShortcuts(updates); in refreshExistingShortcuts()
/packages/apps/Settings/src/com/android/settings/
DSettingsInitialize.java131 final List<ShortcutInfo> updates = new ArrayList<>(); in refreshExistingShortcuts() local
141 updates.add(updatedInfo); in refreshExistingShortcuts()
143 shortcutManager.updateShortcuts(updates); in refreshExistingShortcuts()
/packages/apps/Launcher3/src/com/android/launcher3/qsb/
DQsbContainerView.java385 private static boolean containsAll(Bundle original, Bundle updates) { in containsAll() argument
386 for (String key : updates.keySet()) { in containsAll()
387 Object value1 = updates.get(key); in containsAll()
/packages/apps/Contacts/src/com/android/contacts/
DDynamicShortcuts.java167 final List<ShortcutInfo> updates = new ArrayList<>(); in updatePinned() local
185 updates.add(update); in updatePinned()
197 Log.d(TAG, "updating " + updates); in updatePinned()
202 mShortcutManager.updateShortcuts(updates); in updatePinned()
/packages/apps/Settings/tests/uitests/assets/
Dsearch_results_list19 Additional system updates;additional_system_update_settings
66 Automatic system updates;ota_disable_automatic_update
468 Show hardware layers updates;show_hw_layers_updates
473 Show surface updates;show_screen_updates
475 Show view updates;show_hw_screen_updates
516 System updates;system_update_settings
/packages/apps/Gallery/
DOWNERS1 # This project has no significant updates recently.
/packages/apps/BasicSmsReceiver/
DOWNERS1 # This project has no significant updates recently.
/packages/apps/OneTimeInitializer/
DOWNERS1 # This project has no significant updates recently.
/packages/apps/DeskClock/
DOWNERS1 # This project has no significant updates recently.
/packages/providers/PartnerBookmarksProvider/
DOWNERS1 # This project has no significant updates recently.
/packages/apps/Calendar/
DOWNERS1 # This project has no significant updates recently.
/packages/apps/LegacyCamera/
DOWNERS1 # This project has no significant updates recently.
/packages/apps/DevCamera/
DOWNERS1 # This project has no significant updates recently.
/packages/apps/Protips/
DOWNERS1 # This project has no significant updates recently.
/packages/services/Telephony/ecc/
DREADME.md2 data and updates.

12