/packages/apps/Dialer/java/com/android/dialer/calllog/database/ |
H A D | CallLogMutations.java | 30 private final ArrayMap<Integer, ContentValues> updates = new ArrayMap<>(); field in class:CallLogMutations 41 updates.put(id, contentValues); 49 return inserts.isEmpty() && updates.isEmpty() && deletes.isEmpty();
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
H A D | PackageInstallStateChangedTask.java | 33 * Handles changes due to a sessions updates for a currently installing app. 51 final HashSet<ItemInfo> updates = new HashSet<>(); 64 updates.add(si); 72 updates.add(widget); 76 if (!updates.isEmpty()) { 80 callbacks.bindRestoreItemsChange(updates);
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
H A D | PackageInstallStateChangedTaskTest.java | 50 HashSet<Long> updates = new HashSet<>(Arrays.asList(idsUpdated)); 53 assertEquals(updates.contains(info.id) ? progress: 0, 56 assertEquals(updates.contains(info.id) ? progress: -1,
|
H A D | CacheDataUpdatedTaskTest.java | 71 HashSet<Long> updates = new HashSet<>(Arrays.asList(idsUpdated)); 73 if (updates.contains(info.id)) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
H A D | PlayerApplicationSettings.java | 123 public void setSupport(PlayerApplicationSettings updates) { argument 124 mSettings = updates.mSettings; 125 mSupportedValues = updates.mSupportedValues; 128 public void setValues(BluetoothAvrcpPlayerSettings updates) { argument 129 int supportedSettings = updates.getSettings(); 132 mSettings.put(i, updates.getSettingValue(i));
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
H A D | VpnSettings.java | 291 final Set<Preference> updates = new ArraySet<>(); 302 updates.add(p); 311 updates.add(p); 323 updates.add(p); 327 mSettings.setShownPreferences(updates); 337 public void setShownPreferences(final Collection<Preference> updates) { argument 338 mLegacyVpnPreferences.values().retainAll(updates); 339 mAppPreferences.values().retainAll(updates); 341 // Change {@param updates} in-place to only contain new preferences that were not already 346 if (updates [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | CreateShortcut.java | 176 List<ShortcutInfo> updates = new ArrayList<>(); 187 updates.add(new ShortcutInfo.Builder(mContext, info.getId()) 190 if (!updates.isEmpty()) { 191 sm.updateShortcuts(updates);
|
/packages/apps/Settings/tests/app/src/com/android/settings/ |
H A D | CreateShortcutTest.java | 131 List<ShortcutInfo> updates = mListCaptor.getValue(); 132 assertEquals(2, updates.size()); 133 assertEquals(pinnedShortcuts.get(2).getId(), updates.get(0).getId()); 134 assertEquals(pinnedShortcuts.get(4).getId(), updates.get(1).getId());
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | DynamicShortcuts.java | 66 * This class creates and updates the dynamic shortcuts displayed on the Nexus launcher for the 162 final List<ShortcutInfo> updates = new ArrayList<>(); 180 updates.add(update); 192 Log.d(TAG, "updating " + updates); 197 mShortcutManager.updateShortcuts(updates);
|
/packages/apps/Email/provider_src/com/android/email/service/ |
H A D | Pop3Service.java | 278 Cursor updates = resolver.query( 285 while (updates.moveToNext()) { 286 long id = updates.getLong(Message.ID_COLUMNS_ID_COLUMN); 302 updates.close();
|
H A D | ImapService.java | 768 // Now handle updates / upsyncs 854 // no point in continuing through the rest of the pending updates. 930 // no point in continuing through the rest of the pending updates. 949 Cursor updates = resolver.query(EmailContent.Message.UPDATED_CONTENT_URI, 957 // loop through messages marked as needing updates 958 while (updates.moveToNext()) { 966 EmailContent.getContent(context, updates, EmailContent.Message.class); 1013 // no point in continuing through the rest of the pending updates. 1019 updates.close(); 1151 // We only have one message, so, any updates _must [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | Utilities.java | 582 * Returns true if {@param original} contains all entries defined in {@param updates} and 586 public static boolean containsAll(Bundle original, Bundle updates) { argument 587 for (String key : updates.keySet()) { 588 Object value1 = updates.get(key);
|
H A D | Workspace.java | 3952 final HashSet<ShortcutInfo> updates = new HashSet<ShortcutInfo>(total); 3957 updates.add(s); 3965 updates.contains(info)) { 4036 public void updateRestoreItems(final HashSet<ItemInfo> updates) { argument 4041 && updates.contains(info)) { 4045 && updates.contains(info)) {
|
H A D | Launcher.java | 1024 // It is possible that widgets can receive updates while launcher is not in the foreground. 3262 // Create the custom content page (this call updates mDefaultScreen which calls 3847 public void bindRestoreItemsChange(final HashSet<ItemInfo> updates) { argument 3850 bindRestoreItemsChange(updates); 3857 mWorkspace.updateRestoreItems(updates);
|
H A D | LauncherModel.java | 130 // our monitoring of the package manager provides all updates and we never 200 public void bindRestoreItemsChange(HashSet<ItemInfo> updates); argument 491 * not be called as DB updates are automatically followed by UI update 1166 // any future restore updates. 1819 * use partial updates similar to {@link UserManagerCompat} 1859 * A runnable which changes/updates the data model of the launcher based on certain events.
|