Home
last modified time | relevance | path

Searched refs:updates (Results 1 – 25 of 38) 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.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/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/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DPlayerApplicationSettings.java121 public void setSupport(PlayerApplicationSettings updates) { in setSupport() argument
122 mSettings = updates.mSettings; in setSupport()
123 mSupportedValues = updates.mSupportedValues; in setSupport()
126 public void setValues(BluetoothAvrcpPlayerSettings updates) { in setValues() argument
127 int supportedSettings = updates.getSettings(); in setValues()
130 mSettings.put(i, updates.getSettingValue(i)); in setValues()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageInstallStateChangedTask.java107 final HashSet<ItemInfo> updates = new HashSet<>(); in execute() local
119 updates.add(si); in execute()
127 updates.add(widget); in execute()
131 if (!updates.isEmpty()) { in execute()
135 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.java59 HashSet<Integer> updates = new HashSet<>(Arrays.asList(idsUpdated)); in verifyProgressUpdate() local
62 assertEquals(updates.contains(info.id) ? progress: 0, in verifyProgressUpdate()
65 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/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.java305 private static boolean containsAll(Bundle original, Bundle updates) { in containsAll() argument
306 for (String key : updates.keySet()) { in containsAll()
307 Object value1 = updates.get(key); in containsAll()
/packages/apps/Email/provider_src/com/android/email/service/
DPop3Service.java278 Cursor updates = resolver.query( in synchronizePop3Mailbox() local
285 while (updates.moveToNext()) { in synchronizePop3Mailbox()
286 long id = updates.getLong(Message.ID_COLUMNS_ID_COLUMN); in synchronizePop3Mailbox()
302 updates.close(); in synchronizePop3Mailbox()
/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/SoundRecorder/
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/providers/PartnerBookmarksProvider/
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/apps/DevCamera/
DOWNERS1 # This project has no significant updates recently.

12