/frameworks/av/services/audioflinger/ |
D | NBAIO_Tee.cpp | 283 size_t toRemove = 0; in setDirectory() local 307 toRemove = files.size() - MAX_FILES_KEEP; in setDirectory() 308 std::nth_element(files.begin(), files.begin() + toRemove - 1, files.end()); in setDirectory() 312 std::sort(files.begin() + toRemove, files.end()); in setDirectory() 321 if (toRemove > 0) { // launch a clean in background. in setDirectory() 339 size_t toRemove = mFiles.size() - MAX_FILES_KEEP; in clean() local 343 mFiles.begin() + toRemove, in clean() 345 mFiles.erase(mFiles.begin(), mFiles.begin() + toRemove); in clean()
|
/frameworks/base/cmds/statsd/src/state/ |
D | StateManager.cpp | 68 sp<StateTracker> toRemove; in unregisterListener() local 77 toRemove = it->second; in unregisterListener()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioDeviceInventory.java | 717 final ArraySet<String> toRemove = new ArraySet<>(); in disconnectA2dp() local 721 toRemove.add(deviceInfo.mDeviceAddress); in disconnectA2dp() 726 if (toRemove.size() > 0) { in disconnectA2dp() 730 toRemove.stream().forEach(deviceAddress -> in disconnectA2dp() 739 final ArraySet<String> toRemove = new ArraySet<>(); in disconnectA2dpSink() local 743 toRemove.add(deviceInfo.mDeviceAddress); in disconnectA2dpSink() 748 toRemove.stream().forEach(deviceAddress -> makeA2dpSrcUnavailable(deviceAddress)); in disconnectA2dpSink() 754 final ArraySet<String> toRemove = new ArraySet<>(); in disconnectHearingAid() local 758 toRemove.add(deviceInfo.mDeviceAddress); in disconnectHearingAid() 763 if (toRemove.size() > 0) { in disconnectHearingAid() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationViewHierarchyManager.java | 368 ArrayList<ExpandableNotificationRow> toRemove = new ArrayList<>(); in removeNotificationChildren() local 381 toRemove.clear(); in removeNotificationChildren() 386 toRemove.add(childRow); in removeNotificationChildren() 389 for (ExpandableNotificationRow remove : toRemove) { in removeNotificationChildren()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Conference.java | 845 List<String> toRemove = new ArrayList<String>(); in setExtras() local 848 toRemove.add(oldKey); in setExtras() 852 if (!toRemove.isEmpty()) { in setExtras() 853 removeExtras(toRemove); in setExtras()
|
D | Connection.java | 2819 List<String> toRemove = new ArrayList<String>(); in setExtras() local 2822 toRemove.add(oldKey); in setExtras() 2825 if (!toRemove.isEmpty()) { in setExtras() 2826 removeExtras(toRemove); in setExtras()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardStatusView.java | 424 int toRemove = (int) ((expanded - collapsed) * ratio); in layoutOwnerInfo() local 425 setBottom(getMeasuredHeight() - toRemove); in layoutOwnerInfo() 429 mNotificationIcons.setScrollY(toRemove); in layoutOwnerInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationIconAreaController.java | 408 ArrayList<View> toRemove = new ArrayList<>(); in updateIconsForLayout() local 438 toRemove.add(removedIcon); in updateIconsForLayout() 452 final int toRemoveCount = toRemove.size(); in updateIconsForLayout() 454 hostLayout.removeView(toRemove.get(i)); in updateIconsForLayout()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/ |
D | MediaSessions.java | 150 final Set<Token> toRemove = new HashSet<Token>(mRecords.keySet()); in onActiveSessionsUpdatedH() local 154 toRemove.remove(token); in onActiveSessionsUpdatedH() 168 for (Token t : toRemove) { in onActiveSessionsUpdatedH()
|
/frameworks/av/services/mediametrics/ |
D | TransactionLog.h | 226 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/wm/ |
D | WindowState.java | 1565 private void cutRect(Rect rect, Rect toRemove) { in cutRect() argument 1566 if (toRemove.isEmpty()) return; in cutRect() 1567 if (toRemove.top < rect.bottom && toRemove.bottom > rect.top) { in cutRect() 1568 if (toRemove.right >= rect.right && toRemove.left >= rect.left) { in cutRect() 1569 rect.right = toRemove.left; in cutRect() 1570 } else if (toRemove.left <= rect.left && toRemove.right <= rect.right) { in cutRect() 1571 rect.left = toRemove.right; in cutRect() 1574 if (toRemove.left < rect.right && toRemove.right > rect.left) { in cutRect() 1575 if (toRemove.bottom >= rect.bottom && toRemove.top >= rect.top) { in cutRect() 1576 rect.bottom = toRemove.top; in cutRect() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaDataManager.kt | 183 val toRemove = mediaEntries.filter { it.value.packageName == packageName } in removeAllForPackage() constant 184 toRemove.forEach { in removeAllForPackage()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerService.java | 1187 JobStatus toRemove = jobsForUser.get(i); 1188 cancelJobImplLocked(toRemove, null, "user removed"); 1233 JobStatus toRemove = jobsForUid.get(i); 1234 cancelJobImplLocked(toRemove, null, reason); 1492 final ArrayList<JobStatus> toRemove = new ArrayList<>(); 1497 getJobStore().getRtcCorrectedJobsLocked(toAdd, toRemove); 1503 final JobStatus oldJob = toRemove.get(i);
|
D | JobStore.java | 179 final ArrayList<JobStatus> toRemove) { in getRtcCorrectedJobsLocked() argument 194 toRemove.add(job); in getRtcCorrectedJobsLocked()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 2765 ArraySet<String> toRemove = new ArraySet<>(); in testUpdateDefaultApps_remove() local 2766 toRemove.add(PKG_O); in testUpdateDefaultApps_remove() 2767 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), toRemove, null); in testUpdateDefaultApps_remove() local 2793 ArraySet<String> toRemove = new ArraySet<>(); in testUpdateDefaultApps_addAndRemove() local 2794 toRemove.add(PKG_O); in testUpdateDefaultApps_addAndRemove() 2797 mHelper.updateDefaultApps(USER.getIdentifier(), toRemove, toAdd); in testUpdateDefaultApps_addAndRemove() local 2809 ArraySet<String> toRemove = new ArraySet<>(); in testUpdateDefaultApps_appDoesNotExist_noCrash() local 2810 toRemove.add(PKG_N_MR1); in testUpdateDefaultApps_appDoesNotExist_noCrash() 2811 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), toRemove, toAdd); in testUpdateDefaultApps_appDoesNotExist_noCrash() local
|
/frameworks/base/core/java/android/net/ |
D | LinkProperties.java | 326 public boolean removeLinkAddress(@NonNull LinkAddress toRemove) { in removeLinkAddress() argument 327 int i = findLinkAddressIndex(toRemove); in removeLinkAddress()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AlarmManagerServiceTest.java | 977 final int toRemove = 8; in alarmCountOnRemoveFromPendingWhileIdle() local 978 for (int i = 0; i < toRemove; i++) { in alarmCountOnRemoveFromPendingWhileIdle()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 3286 final ArrayList<Alarm> toRemove = mPendingBackgroundAlarms.valueAt(i); in removeForStoppedLocked() local 3287 if (toRemove != null) { in removeForStoppedLocked() 3288 decrementAlarmCount(uid, toRemove.size()); in removeForStoppedLocked() 3328 final ArrayList<Alarm> toRemove = mPendingBackgroundAlarms.valueAt(i); in removeUserLocked() local 3329 if (toRemove != null) { in removeUserLocked() 3330 for (int j = 0; j < toRemove.size(); j++) { in removeUserLocked() 3331 decrementAlarmCount(toRemove.get(j).uid, 1); in removeUserLocked()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PreferencesHelper.java | 1177 public void updateDefaultApps(int userId, ArraySet<String> toRemove, in updateDefaultApps() argument 1182 if (toRemove != null && toRemove.contains(p.pkg)) { in updateDefaultApps()
|
D | NotificationManagerService.java | 5100 List<String> toRemove = new ArrayList<>(); 5103 toRemove.add(potentialKey); 5106 for (String removeKey : toRemove) { 9694 ArraySet<String> toRemove = new ArraySet<>(); 9699 toRemove.add(previous); 9714 mPreferencesHelper.updateDefaultApps(user.getIdentifier(), toRemove, toAdd);
|