/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/services/core/java/com/android/server/audio/ |
D | AudioDeviceInventory.java | 466 final ArraySet<String> toRemove = new ArraySet<>(); in disconnectA2dp() local 470 toRemove.add(deviceInfo.mDeviceAddress); in disconnectA2dp() 473 if (toRemove.size() > 0) { in disconnectA2dp() 477 toRemove.stream().forEach(deviceAddress -> in disconnectA2dp() 486 final ArraySet<String> toRemove = new ArraySet<>(); in disconnectA2dpSink() local 490 toRemove.add(deviceInfo.mDeviceAddress); in disconnectA2dpSink() 493 toRemove.stream().forEach(deviceAddress -> makeA2dpSrcUnavailable(deviceAddress)); in disconnectA2dpSink() 499 final ArraySet<String> toRemove = new ArraySet<>(); in disconnectHearingAid() local 503 toRemove.add(deviceInfo.mDeviceAddress); in disconnectHearingAid() 506 if (toRemove.size() > 0) { in disconnectHearingAid() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationViewHierarchyManager.java | 317 ArrayList<ExpandableNotificationRow> toRemove = new ArrayList<>(); in removeNotificationChildren() local 330 toRemove.clear(); in removeNotificationChildren() 335 toRemove.add(childRow); in removeNotificationChildren() 338 for (ExpandableNotificationRow remove : toRemove) { in removeNotificationChildren()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Conference.java | 839 List<String> toRemove = new ArrayList<String>(); in setExtras() local 842 toRemove.add(oldKey); in setExtras() 846 if (!toRemove.isEmpty()) { in setExtras() 847 removeExtras(toRemove); in setExtras()
|
D | Connection.java | 2795 List<String> toRemove = new ArrayList<String>(); in setExtras() local 2798 toRemove.add(oldKey); in setExtras() 2801 if (!toRemove.isEmpty()) { in setExtras() 2802 removeExtras(toRemove); in setExtras()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardStatusView.java | 425 int toRemove = (int) ((expanded - collapsed) * ratio); in layoutOwnerInfo() local 426 setBottom(getMeasuredHeight() - toRemove); in layoutOwnerInfo() 430 mNotificationIcons.setScrollY(toRemove); in layoutOwnerInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationIconAreaController.java | 371 ArrayList<View> toRemove = new ArrayList<>(); in updateIconsForLayout() local 401 toRemove.add(removedIcon); in updateIconsForLayout() 415 final int toRemoveCount = toRemove.size(); in updateIconsForLayout() 417 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/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 2532 ArraySet<String> toRemove = new ArraySet<>(); in testUpdateDefaultApps_remove() local 2533 toRemove.add(PKG_O); in testUpdateDefaultApps_remove() 2534 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), toRemove, null); in testUpdateDefaultApps_remove() local 2560 ArraySet<String> toRemove = new ArraySet<>(); in testUpdateDefaultApps_addAndRemove() local 2561 toRemove.add(PKG_O); in testUpdateDefaultApps_addAndRemove() 2564 mHelper.updateDefaultApps(USER.getIdentifier(), toRemove, toAdd); in testUpdateDefaultApps_addAndRemove() local 2576 ArraySet<String> toRemove = new ArraySet<>(); in testUpdateDefaultApps_appDoesNotExist_noCrash() local 2577 toRemove.add(PKG_N_MR1); in testUpdateDefaultApps_appDoesNotExist_noCrash() 2578 mHelper.updateDefaultApps(UserHandle.getUserId(UID_O), toRemove, toAdd); in testUpdateDefaultApps_appDoesNotExist_noCrash() local
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 1114 JobStatus toRemove = jobsForUser.get(i); in cancelJobsForUser() local 1115 cancelJobImplLocked(toRemove, null, "user removed"); in cancelJobsForUser() 1160 JobStatus toRemove = jobsForUid.get(i); in cancelJobsForUid() local 1161 cancelJobImplLocked(toRemove, null, reason); in cancelJobsForUid() 1372 final ArrayList<JobStatus> toRemove = new ArrayList<>(); 1377 getJobStore().getRtcCorrectedJobsLocked(toAdd, toRemove); 1383 final JobStatus oldJob = toRemove.get(i);
|
D | JobStore.java | 181 final ArrayList<JobStatus> toRemove) { in getRtcCorrectedJobsLocked() argument 197 toRemove.add(job); in getRtcCorrectedJobsLocked()
|
/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 | 988 final int toRemove = 8; in alarmCountOnRemoveFromPendingWhileIdle() local 989 for (int i = 0; i < toRemove; i++) { in alarmCountOnRemoveFromPendingWhileIdle()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 3262 final ArrayList<Alarm> toRemove = mPendingBackgroundAlarms.valueAt(i); in removeForStoppedLocked() local 3263 if (toRemove != null) { in removeForStoppedLocked() 3264 decrementAlarmCount(uid, toRemove.size()); in removeForStoppedLocked() 3304 final ArrayList<Alarm> toRemove = mPendingBackgroundAlarms.valueAt(i); in removeUserLocked() local 3305 if (toRemove != null) { in removeUserLocked() 3306 for (int j = 0; j < toRemove.size(); j++) { in removeUserLocked() 3307 decrementAlarmCount(toRemove.get(j).uid, 1); in removeUserLocked()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PreferencesHelper.java | 935 public void updateDefaultApps(int userId, ArraySet<String> toRemove, in updateDefaultApps() argument 940 if (toRemove != null && toRemove.contains(p.pkg)) { in updateDefaultApps()
|
D | NotificationManagerService.java | 4314 List<String> toRemove = new ArrayList<>(); 4317 toRemove.add(potentialKey); 4320 for (String removeKey : toRemove) { 8587 ArraySet<String> toRemove = new ArraySet<>(); 8592 toRemove.add(previous); 8607 mPreferencesHelper.updateDefaultApps(user.getIdentifier(), toRemove, toAdd);
|