Home
last modified time | relevance | path

Searched refs:toAdd (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java2485 ArraySet<Pair<String, Integer>> toAdd = new ArraySet<>(); in testUpdateDefaultApps_add_multiUser() local
2486 toAdd.add(new Pair(PKG_O, UID_O)); in testUpdateDefaultApps_add_multiUser()
2487 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), null, toAdd); in testUpdateDefaultApps_add_multiUser() local
2505 ArraySet<Pair<String, Integer>> toAdd = new ArraySet<>(); in testUpdateDefaultApps_add_onlyGivenPkg() local
2506 toAdd.add(new Pair(PKG_O, UID_O)); in testUpdateDefaultApps_add_onlyGivenPkg()
2507 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), null, toAdd); in testUpdateDefaultApps_add_onlyGivenPkg() local
2523 ArraySet<Pair<String, Integer>> toAdd = new ArraySet<>(); in testUpdateDefaultApps_remove() local
2524 toAdd.add(new Pair(PKG_O, UID_O)); in testUpdateDefaultApps_remove()
2525 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), null, toAdd); in testUpdateDefaultApps_remove() local
2549 ArraySet<Pair<String, Integer>> toAdd = new ArraySet<>(); in testUpdateDefaultApps_addAndRemove() local
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DLoaderDicom.java144 HashSet<Integer> toAdd = new HashSet<Integer>(); in read() local
146 toAdd.add(n); in read()
173 if (toAdd.contains(tagInt(e.mGroup, e.mElement))) { in read()
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java546 …private synchronized boolean getObjects(List<MtpObject> toAdd, MtpObject parent, int format, boole… in getObjects() argument
553 toAdd.add(o); in getObjects()
561 ret &= getObjects(toAdd, o, format, true); in getObjects()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java1258 CallbackMessageHandler toAdd = new CallbackMessageHandler(handler.getLooper(), callback); in addCallbackLocked() local
1259 mCallbacks.add(toAdd); in addCallbackLocked()
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java180 public void getRtcCorrectedJobsLocked(final ArrayList<JobStatus> toAdd, in getRtcCorrectedJobsLocked() argument
196 toAdd.add(newJob); in getRtcCorrectedJobsLocked()
DJobSchedulerService.java1373 final ArrayList<JobStatus> toAdd = new ArrayList<>();
1377 getJobStore().getRtcCorrectedJobsLocked(toAdd, toRemove);
1381 final int N = toAdd.size();
1384 final JobStatus newJob = toAdd.get(i);
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java936 ArraySet<Pair<String, Integer>> toAdd) { in updateDefaultApps() argument
948 if (toAdd != null) { in updateDefaultApps()
949 for (Pair<String, Integer> approvedApp : toAdd) { in updateDefaultApps()
DNotificationManagerService.java8588 ArraySet<Pair<String, Integer>> toAdd = new ArraySet<>();
8597 toAdd.add(new Pair(nowApproved,
8607 mPreferencesHelper.updateDefaultApps(user.getIdentifier(), toRemove, toAdd);