Home
last modified time | relevance | path

Searched refs:toRemove (Results 1 – 25 of 25) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarLocationPublisher.kt46 var toRemove: WeakReference<StatusBarMarginUpdatedListener>? = null
49 toRemove = l
53 if (toRemove != null) {
54 listeners.remove(toRemove)
H A DLegacyNotificationIconAreaControllerImpl.java404 ArrayList<View> toRemove = new ArrayList<>(); in updateIconsForLayout() local
434 toRemove.add(removedIcon); in updateIconsForLayout()
448 final int toRemoveCount = toRemove.size(); in updateIconsForLayout()
450 hostLayout.removeView(toRemove.get(i)); in updateIconsForLayout()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleOverflowContainerView.java246 Bubble toRemove = update.removedOverflowBubble;
247 if (toRemove != null) {
249 Log.d(TAG, "remove: " + toRemove);
251 toRemove.cleanupViews();
252 final int indexToRemove = mOverflowBubbles.indexOf(toRemove);
253 mOverflowBubbles.remove(toRemove);
H A DBubbleData.java601 ArrayList<Bubble> toRemove = new ArrayList<>(); in trim() local
608 if (toRemove.size() < numtoRemove) { in trim()
609 toRemove.add(b); in trim()
612 toRemove.forEach((b) -> doRemove(b.getKey(), Bubbles.DISMISS_AGED)); in trim()
/aosp14/frameworks/base/telecomm/java/android/telecom/
H A DConference.java910 List<String> toRemove = new ArrayList<String>(); in setExtras() local
913 toRemove.add(oldKey); in setExtras()
917 if (!toRemove.isEmpty()) { in setExtras()
918 removeExtras(toRemove); in setExtras()
H A DConnection.java3049 List<String> toRemove = new ArrayList<String>(); in setExtras() local
3052 toRemove.add(oldKey); in setExtras()
3055 if (!toRemove.isEmpty()) { in setExtras()
3056 removeExtras(toRemove); in setExtras()
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioDeviceInventory.java1454 final ArraySet<String> toRemove = new ArraySet<>();
1458 toRemove.add(deviceInfo.mDeviceAddress);
1464 if (toRemove.size() > 0) {
1468 toRemove.stream().forEach(deviceAddress ->
1481 toRemove.add(deviceInfo.mDeviceAddress);
1497 toRemove.add(deviceInfo.mDeviceAddress);
1503 if (toRemove.size() > 0) {
1506 toRemove.stream().forEach(deviceAddress ->
1555 toRemove.add(deviceInfo.mDeviceAddress);
1561 if (toRemove.size() > 0) {
[all …]
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/
H A DMediaSessions.java156 final Set<Token> toRemove = new HashSet<Token>(mRecords.keySet()); in onActiveSessionsUpdatedH() local
160 toRemove.remove(token); in onActiveSessionsUpdatedH()
174 for (Token t : toRemove) { in onActiveSessionsUpdatedH()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewbinder/
H A DNotificationIconAreaControllerViewBinderWrapperImpl.kt495 val toRemove = ArrayList<View>() regex
523 toRemove.add(child)
536 val toRemoveCount = toRemove.size
538 hostLayout.removeView(toRemove[i])
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/
H A DTemporaryViewDisplayController.kt416 val toRemove = activeViews.find { it.info.id == id } regex
417 toRemove?.let {
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowState.java1728 if (toRemove.isEmpty()) return; in cutRect()
1729 if (toRemove.top < rect.bottom && toRemove.bottom > rect.top) { in cutRect()
1730 if (toRemove.right >= rect.right && toRemove.left >= rect.left) { in cutRect()
1731 rect.right = toRemove.left; in cutRect()
1732 } else if (toRemove.left <= rect.left && toRemove.right <= rect.right) { in cutRect()
1733 rect.left = toRemove.right; in cutRect()
1736 if (toRemove.left < rect.right && toRemove.right > rect.left) { in cutRect()
1737 if (toRemove.bottom >= rect.bottom && toRemove.top >= rect.top) { in cutRect()
1738 rect.bottom = toRemove.top; in cutRect()
1739 } else if (toRemove.top <= rect.top && toRemove.bottom <= rect.bottom) { in cutRect()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DHeadsUpCoordinator.kt619 val toRemove = ArraySet<String>() regex
622 toRemove.add(key)
625 mEntriesUpdateTimes.removeAll(toRemove)
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecNetwork.java766 List<Integer> toRemove = new ArrayList<>(); in removeDevicesConnectedToPort() local
772 toRemove.add(key); in removeDevicesConnectedToPort()
775 for (Integer key : toRemove) { in removeDevicesConnectedToPort()
/aosp14/frameworks/base/core/java/android/view/
H A DDisplay.java1382 HdrSdrRatioListenerWrapper toRemove = null; in unregisterHdrSdrRatioChangedListener() local
1386 toRemove = mHdrSdrRatioListeners.remove(index); in unregisterHdrSdrRatioChangedListener()
1389 if (toRemove != null) { in unregisterHdrSdrRatioChangedListener()
1390 mGlobal.unregisterDisplayListener(toRemove); in unregisterHdrSdrRatioChangedListener()
/aosp14/frameworks/base/core/java/android/permission/
H A DPermissionUsageHelper.java227 ArrayList<Integer> toRemove = new ArrayList<>(); in onOpActiveChanged() local
235 toRemove.add(chainId); in onOpActiveChanged()
240 mAttributionChains.removeAll(toRemove); in onOpActiveChanged()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DVcnManagementService.java523 final List<ParcelUuid> toRemove = new ArrayList<>(); in onReceive() local
526 toRemove.add(entry.getKey()); in onReceive()
530 for (ParcelUuid subGrp : toRemove) { in onReceive()
534 if (!toRemove.isEmpty()) { in onReceive()
/aosp14/frameworks/base/services/core/java/com/android/server/vcn/
H A DVcnGatewayConnection.java1915 final Set<LinkAddress> toRemove = new ArraySet<>(); in setupInterface() local
1916 toRemove.addAll(existingAddrs); in setupInterface()
1917 toRemove.removeAll(newAddrs); in setupInterface()
1923 for (LinkAddress address : toRemove) { in setupInterface()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DPreferencesHelperTest.java4155 ArraySet<String> toRemove = new ArraySet<>(); in testUpdateDefaultApps_remove() local
4156 toRemove.add(PKG_O); in testUpdateDefaultApps_remove()
4157 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), toRemove, null); in testUpdateDefaultApps_remove() local
4185 ArraySet<String> toRemove = new ArraySet<>(); in testUpdateDefaultApps_addAndRemove() local
4186 toRemove.add(PKG_O); in testUpdateDefaultApps_addAndRemove()
4189 mHelper.updateDefaultApps(USER.getIdentifier(), toRemove, toAdd); in testUpdateDefaultApps_addAndRemove() local
4201 ArraySet<String> toRemove = new ArraySet<>(); in testUpdateDefaultApps_appDoesNotExist_noCrash() local
4202 toRemove.add(PKG_N_MR1); in testUpdateDefaultApps_appDoesNotExist_noCrash()
4279 ArraySet<String> toRemove = new ArraySet<>(); in testUpdateFixedImportance_thenDefaultAppsRemoves() local
4280 toRemove.add(PKG_O); in testUpdateFixedImportance_thenDefaultAppsRemoves()
[all …]
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobSchedulerService.java2045 private final Consumer<JobStatus> mCancelJobDueToUserRemovalConsumer = (toRemove) -> {
2049 cancelJobImplLocked(toRemove, null, JobParameters.STOP_REASON_USER,
2136 JobStatus toRemove = jobsForUid.valueAt(i);
2137 if (!namespaceOnly || Objects.equals(namespace, toRemove.getNamespace())) {
2138 cancelJobImplLocked(toRemove, null, reason, internalReasonCode, debugReason);
2553 final ArrayList<JobStatus> toRemove = new ArrayList<>();
2558 getJobStore().getRtcCorrectedJobsLocked(toAdd, toRemove);
2564 final JobStatus oldJob = toRemove.get(i);
H A DJobStore.java257 final ArrayList<JobStatus> toRemove) { in getRtcCorrectedJobsLocked() argument
273 toRemove.add(job); in getRtcCorrectedJobsLocked()
/aosp14/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java5752 final String toRemove = accessibilityMenuToMigrate.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) {
6178 if (componentNames != null && componentNames.contains(toRemove)) {
6179 componentNames.remove(toRemove);
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/pipeline/
H A DMediaDataManager.kt417 val toRemove = mediaEntries.filter { it.value.packageName == packageName } regex
418 toRemove.forEach { removeEntry(it.key) }
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DPreferencesHelper.java1404 public void updateDefaultApps(int userId, ArraySet<String> toRemove, in updateDefaultApps() argument
1409 if (toRemove != null && toRemove.contains(p.pkg)) { in updateDefaultApps()
H A DNotificationManagerService.java6024 List<String> toRemove = new ArrayList<>();
6027 toRemove.add(potentialKey);
6030 for (String removeKey : toRemove) {
11933 ArraySet<String> toRemove = new ArraySet<>();
11938 toRemove.add(previous);
11953 mPreferencesHelper.updateDefaultApps(user.getIdentifier(), toRemove, toAdd);
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java7495 List<String> toRemove = new ArrayList<>(mKeepUninstalledPackages);
7496 toRemove.removeAll(packageList); // Do not remove anything still in the list
7501 for (int i = 0; i < toRemove.size(); i++) {
7502 deletePackageIfUnused(snapshot, toRemove.get(i));