/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/ |
H A D | SemiStableSort.kt | 154 preSortedAdditions.forEach { toAdd -> 155 if (DEBUG) println(" need to add $toAdd to $existing, starting at $iStart") 161 val cmp = comparator.compare(toAdd, existing[i]).sign 169 if (DEBUG) println("inserting $toAdd at $iCmpSumMax") 170 existing.add(iCmpSumMax, toAdd)
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | BubbleOverflowContainerView.java | 257 Bubble toAdd = update.addedOverflowBubble; 258 if (toAdd != null) { 259 final int indexToAdd = mOverflowBubbles.indexOf(toAdd); 261 Log.d(TAG, "add: " + toAdd + " prevIndex: " + indexToAdd); 264 mOverflowBubbles.remove(toAdd); 265 mOverflowBubbles.add(0, toAdd); 268 mOverflowBubbles.add(0, toAdd);
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | PreferencesHelperTest.java | 3972 toAdd.add(new Pair<>(PKG_O, UID_O)); in testUpdateNotificationChannel_defaultApp() 4109 toAdd.add(new Pair<>(PKG_O, UID_O)); in testUpdateDefaultApps_add_multiUser() 4129 toAdd.add(new Pair<>(PKG_O, UID_O)); in testUpdateDefaultApps_add_onlyGivenPkg() 4147 toAdd.add(new Pair<>(PKG_O, UID_O)); in testUpdateDefaultApps_remove() 4175 toAdd.add(new Pair<>(PKG_O, UID_O)); in testUpdateDefaultApps_addAndRemove() 4187 toAdd = new ArraySet<>(); in testUpdateDefaultApps_addAndRemove() 4200 toAdd.add(new Pair<>(PKG_O, UID_O)); in testUpdateDefaultApps_appDoesNotExist_noCrash() 4213 toAdd.add(new Pair<>(PKG_O, UID_O)); in testUpdateDefaultApps_channelDoesNotExistYet() 4229 toAdd.add(new Pair<>(PKG_O, UID_O)); in testUpdateNotificationChannel_defaultAppLockedImportance() 4256 toAdd.add(new Pair<>(PKG_O, UID_O)); in testDefaultApp_appHasNoSettingsYet() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
H A D | ControlsControllerImpl.kt | 204 val toAdd = auxiliaryPersistenceWrapper.getCachedFavoritesAndRemoveFor(it) regex 205 if (toAdd.isNotEmpty()) { 207 toAdd.forEach {
|
/aosp14/frameworks/base/media/java/android/mtp/ |
H A D | MtpStorageManager.java | 584 …private synchronized boolean getObjects(List<MtpObject> toAdd, MtpObject parent, int format, boole… in getObjects() argument 591 toAdd.add(o); in getObjects() 599 ret &= getObjects(toAdd, o, format, true); in getObjects()
|
/aosp14/frameworks/base/services/core/java/com/android/server/vcn/ |
H A D | VcnGatewayConnection.java | 1911 final Set<LinkAddress> toAdd = new ArraySet<>(); in setupInterface() local 1912 toAdd.addAll(newAddrs); in setupInterface() 1913 toAdd.removeAll(existingAddrs); in setupInterface() 1919 for (LinkAddress address : toAdd) { in setupInterface()
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | LauncherApps.java | 1736 CallbackMessageHandler toAdd = new CallbackMessageHandler(handler.getLooper(), callback); in addCallbackLocked() local 1737 mCallbacks.add(toAdd); in addCallbackLocked()
|
/aosp14/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsProvider.java | 5753 final String toAdd = ACCESSIBILITY_MENU_IN_SYSTEM.flattenToString(); 5756 Secure.ACCESSIBILITY_BUTTON_TARGETS, toRemove, toAdd); 5758 Secure.ACCESSIBILITY_BUTTON_TARGET_COMPONENT, toRemove, toAdd); 5760 Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE, toRemove, toAdd); 5762 Secure.ENABLED_ACCESSIBILITY_SERVICES, toRemove, toAdd); 6175 String setting, String toRemove, String toAdd) { 6180 componentNames.add(toAdd);
|
/aosp14/system/core/fs_mgr/libsnapshot/libsnapshot_cow/ |
H A D | cow_writer.cpp | 390 std::queue<CowOperation> toAdd; in OpenForAppend() local
|
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
H A D | JobStore.java | 256 public void getRtcCorrectedJobsLocked(final ArrayList<JobStatus> toAdd, in getRtcCorrectedJobsLocked() argument 272 toAdd.add(newJob); in getRtcCorrectedJobsLocked()
|
H A D | JobSchedulerService.java | 2554 final ArrayList<JobStatus> toAdd = new ArrayList<>(); 2558 getJobStore().getRtcCorrectedJobsLocked(toAdd, toRemove); 2562 final int N = toAdd.size(); 2565 final JobStatus newJob = toAdd.get(i);
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | PreferencesHelper.java | 1405 ArraySet<Pair<String, Integer>> toAdd) { in updateDefaultApps() argument 1419 if (toAdd != null) { in updateDefaultApps() 1420 for (Pair<String, Integer> approvedApp : toAdd) { in updateDefaultApps()
|
H A D | NotificationManagerService.java | 11934 ArraySet<Pair<String, Integer>> toAdd = new ArraySet<>(); 11943 toAdd.add(new Pair(nowApproved, 11953 mPreferencesHelper.updateDefaultApps(user.getIdentifier(), toRemove, toAdd);
|