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.java2506 ArraySet<Pair<String, Integer>> toAdd = new ArraySet<>(); in testUpdateDefaultApps_add_multiUser() local
2507 toAdd.add(new Pair(PKG_O, UID_O)); in testUpdateDefaultApps_add_multiUser()
2508 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), null, toAdd); in testUpdateDefaultApps_add_multiUser() local
2526 ArraySet<Pair<String, Integer>> toAdd = new ArraySet<>(); in testUpdateDefaultApps_add_onlyGivenPkg() local
2527 toAdd.add(new Pair(PKG_O, UID_O)); in testUpdateDefaultApps_add_onlyGivenPkg()
2528 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), null, toAdd); in testUpdateDefaultApps_add_onlyGivenPkg() local
2544 ArraySet<Pair<String, Integer>> toAdd = new ArraySet<>(); in testUpdateDefaultApps_remove() local
2545 toAdd.add(new Pair(PKG_O, UID_O)); in testUpdateDefaultApps_remove()
2546 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), null, toAdd); in testUpdateDefaultApps_remove() local
2570 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.java539 …private synchronized boolean getObjects(List<MtpObject> toAdd, MtpObject parent, int format, boole… in getObjects() argument
546 toAdd.add(o); in getObjects()
554 ret &= getObjects(toAdd, o, format, true); in getObjects()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java1229 CallbackMessageHandler toAdd = new CallbackMessageHandler(handler.getLooper(), callback); in addCallbackLocked() local
1230 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.java920 ArraySet<Pair<String, Integer>> toAdd) { in updateDefaultApps() argument
932 if (toAdd != null) { in updateDefaultApps()
933 for (Pair<String, Integer> approvedApp : toAdd) { in updateDefaultApps()
DNotificationManagerService.java8348 ArraySet<Pair<String, Integer>> toAdd = new ArraySet<>();
8357 toAdd.add(new Pair(nowApproved,
8367 mPreferencesHelper.updateDefaultApps(user.getIdentifier(), toRemove, toAdd);