Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarLocationPublisher.kt46 var toRemove: WeakReference<StatusBarMarginUpdatedListener>? = null in <lambda>() variable
49 toRemove = l in <lambda>()
53 if (toRemove != null) { in <lambda>()
54 listeners.remove(toRemove) in <lambda>()
DLegacyNotificationIconAreaControllerImpl.java392 ArrayList<View> toRemove = new ArrayList<>(); in updateIconsForLayout() local
422 toRemove.add(removedIcon); in updateIconsForLayout()
436 final int toRemoveCount = toRemove.size(); in updateIconsForLayout()
438 hostLayout.removeView(toRemove.get(i)); in updateIconsForLayout()
/frameworks/av/services/audioflinger/afutils/
DNBAIO_Tee.cpp285 size_t toRemove = 0; in setDirectory() local
309 toRemove = files.size() - MAX_FILES_KEEP; in setDirectory()
310 std::nth_element(files.begin(), files.begin() + toRemove - 1, files.end()); in setDirectory()
314 std::sort(files.begin() + toRemove, files.end()); in setDirectory()
323 if (toRemove > 0) { // launch a clean in background. in setDirectory()
341 const size_t toRemove = mFiles.size() - MAX_FILES_KEEP; in clean() local
345 mFiles.begin() + toRemove, in clean()
347 mFiles.erase(mFiles.begin(), mFiles.begin() + toRemove); in clean()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleOverflowContainerView.java258 Bubble toRemove = update.removedOverflowBubble;
259 if (toRemove != null) {
260 toRemove.cleanupViews();
261 final int indexToRemove = mOverflowBubbles.indexOf(toRemove);
262 mOverflowBubbles.remove(toRemove);
283 (toRemove != null ? toRemove.getKey() : "null"));
DBubbleData.java626 ArrayList<Bubble> toRemove = new ArrayList<>(); in trim() local
633 if (toRemove.size() < numtoRemove) { in trim()
634 toRemove.add(b); in trim()
637 toRemove.forEach((b) -> doRemove(b.getKey(), Bubbles.DISMISS_AGED)); in trim()
/frameworks/base/telecomm/java/android/telecom/
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()
DConnection.java3033 List<String> toRemove = new ArrayList<String>(); in setExtras() local
3036 toRemove.add(oldKey); in setExtras()
3039 if (!toRemove.isEmpty()) { in setExtras()
3040 removeExtras(toRemove); in setExtras()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewbinder/
DNotificationIconContainerViewBinder.kt314 val toRemove = mutableListOf<View>() in <lambda>() constant
320 toRemove.add(actual) in <lambda>()
329 for (child in toRemove) { in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/
DMediaSessions.java157 final Set<Token> toRemove = new HashSet<Token>(mRecords.keySet()); in onActiveSessionsUpdatedH() local
161 toRemove.remove(token); in onActiveSessionsUpdatedH()
175 for (Token t : toRemove) { in onActiveSessionsUpdatedH()
/frameworks/av/services/mediametrics/include/mediametricsservice/
DTransactionLog.h226 size_t toRemove = mLog.size() - mLowWaterMark; in gc() local
232 for (size_t i = 0; i < toRemove; ++i) { in gc()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java1819 final ArraySet<String> toRemove = new ArraySet<>();
1823 toRemove.add(deviceInfo.mDeviceAddress);
1829 if (toRemove.size() > 0) {
1833 toRemove.stream().forEach(deviceAddress ->
1842 final ArraySet<String> toRemove = new ArraySet<>();
1846 toRemove.add(deviceInfo.mDeviceAddress);
1852 toRemove.stream().forEach(deviceAddress -> makeA2dpSrcUnavailable(deviceAddress));
1858 final ArraySet<String> toRemove = new ArraySet<>();
1862 toRemove.add(deviceInfo.mDeviceAddress);
1868 if (toRemove.size() > 0) {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/
DTemporaryViewDisplayController.kt416 val toRemove = activeViews.find { it.info.id == id } in <lambda>() constant
417 toRemove?.let { in <lambda>()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecNetwork.java771 List<Integer> toRemove = new ArrayList<>(); in removeDevicesConnectedToPort() local
777 toRemove.add(key); in removeDevicesConnectedToPort()
780 for (Integer key : toRemove) { in removeDevicesConnectedToPort()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinator.kt625 val toRemove = ArraySet<String>() in <lambda>() constant
628 toRemove.add(key) in <lambda>()
631 mEntriesUpdateTimes.removeAll(toRemove) in <lambda>()
/frameworks/base/core/java/android/view/
DDisplay.java1481 HdrSdrRatioListenerWrapper toRemove = null; in unregisterHdrSdrRatioChangedListener() local
1485 toRemove = mHdrSdrRatioListeners.remove(index); in unregisterHdrSdrRatioChangedListener()
1488 if (toRemove != null) { in unregisterHdrSdrRatioChangedListener()
1489 mGlobal.unregisterDisplayListener(toRemove); in unregisterHdrSdrRatioChangedListener()
/frameworks/base/core/java/android/permission/
DPermissionUsageHelper.java225 ArrayList<Integer> toRemove = new ArrayList<>(); in onOpActiveChanged() local
233 toRemove.add(chainId); in onOpActiveChanged()
238 mAttributionChains.removeAll(toRemove); in onOpActiveChanged()
/frameworks/base/services/core/java/com/android/server/
DVcnManagementService.java547 final List<ParcelUuid> toRemove = new ArrayList<>(); in onReceive() local
550 toRemove.add(entry.getKey()); in onReceive()
554 for (ParcelUuid subGrp : toRemove) { in onReceive()
558 if (!toRemove.isEmpty()) { in onReceive()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java295 final List<File> toRemove = new ArrayList<>(); in load() local
300 toRemove.add(new File(dir, name)); in load()
307 toRemove.add(new File(dir, name)); in load()
316 if (!toRemove.isEmpty()) { in load()
321 for (File file : toRemove) { in load()
/frameworks/base/services/core/java/com/android/server/vcn/
DVcnGatewayConnection.java1950 final Set<LinkAddress> toRemove = new ArraySet<>(); in setupInterface() local
1951 toRemove.addAll(existingAddrs); in setupInterface()
1952 toRemove.removeAll(newAddrs); in setupInterface()
1958 for (LinkAddress address : toRemove) { in setupInterface()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java4393 ArraySet<String> toRemove = new ArraySet<>(); in testUpdateDefaultApps_remove() local
4394 toRemove.add(PKG_O); in testUpdateDefaultApps_remove()
4395 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), toRemove, null); in testUpdateDefaultApps_remove() local
4423 ArraySet<String> toRemove = new ArraySet<>(); in testUpdateDefaultApps_addAndRemove() local
4424 toRemove.add(PKG_O); in testUpdateDefaultApps_addAndRemove()
4427 mHelper.updateDefaultApps(USER.getIdentifier(), toRemove, toAdd); in testUpdateDefaultApps_addAndRemove() local
4439 ArraySet<String> toRemove = new ArraySet<>(); in testUpdateDefaultApps_appDoesNotExist_noCrash() local
4440 toRemove.add(PKG_N_MR1); in testUpdateDefaultApps_appDoesNotExist_noCrash()
4441 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), toRemove, toAdd); in testUpdateDefaultApps_appDoesNotExist_noCrash() local
4517 ArraySet<String> toRemove = new ArraySet<>(); in testUpdateFixedImportance_thenDefaultAppsRemoves() local
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java2198 private final Consumer<JobStatus> mCancelJobDueToUserRemovalConsumer = (toRemove) -> {
2202 cancelJobImplLocked(toRemove, null, JobParameters.STOP_REASON_USER,
2289 JobStatus toRemove = jobsForUid.valueAt(i);
2290 if (!namespaceOnly || Objects.equals(namespace, toRemove.getNamespace())) {
2291 cancelJobImplLocked(toRemove, null, reason, internalReasonCode, debugReason);
2728 final ArrayList<JobStatus> toRemove = new ArrayList<>();
2733 getJobStore().getRtcCorrectedJobsLocked(toAdd, toRemove);
2739 final JobStatus oldJob = toRemove.get(i);
DJobStore.java260 final ArrayList<JobStatus> toRemove) { in getRtcCorrectedJobsLocked() argument
276 toRemove.add(job); in getRtcCorrectedJobsLocked()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java5777 final String toRemove = accessibilityMenuToMigrate.flattenToString();
5781 Secure.ACCESSIBILITY_BUTTON_TARGETS, toRemove, toAdd);
5783 Secure.ACCESSIBILITY_BUTTON_TARGET_COMPONENT, toRemove, toAdd);
5785 Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE, toRemove, toAdd);
5787 Secure.ENABLED_ACCESSIBILITY_SERVICES, toRemove, toAdd);
6354 String setting, String toRemove, String toAdd) {
6357 if (componentNames != null && componentNames.contains(toRemove)) {
6358 componentNames.remove(toRemove);
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessor.kt390 val toRemove = in <lambda>() constant
392 toRemove.forEach { removeEntry(it.key) } in <lambda>()
DLegacyMediaDataManagerImpl.kt423 val toRemove = mediaEntries.filter { it.value.packageName == packageName } in removeAllForPackage() constant
424 toRemove.forEach { removeEntry(it.key) } in removeAllForPackage()

12