Home
last modified time | relevance | path

Searched refs:whichAlarms (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmStore.java55 ArrayList<Alarm> remove(Predicate<Alarm> whichAlarms); in remove() argument
DLazyAlarmStore.java83 public ArrayList<Alarm> remove(Predicate<Alarm> whichAlarms) { in remove() argument
86 if (whichAlarms.test(mAlarms.get(i))) { in remove()
DBatchingAlarmStore.java82 public ArrayList<Alarm> remove(Predicate<Alarm> whichAlarms) { in remove() argument
86 removed.addAll(b.remove(whichAlarms)); in remove()
DAlarmManagerService.java1738 final Predicate<Alarm> whichAlarms = a -> { in refreshExactAlarmCandidates() local
1747 removeAlarmsInternalLocked(whichAlarms, REMOVE_REASON_EXACT_PERMISSION_REVOKED); in refreshExactAlarmCandidates()
3620 final Predicate<Alarm> whichAlarms = a -> (a.uid == uid && a.packageName.equals(packageName) in removeExactAlarmsOnPermissionRevokedLocked() local
3622 removeAlarmsInternalLocked(whichAlarms, REMOVE_REASON_EXACT_PERMISSION_REVOKED); in removeExactAlarmsOnPermissionRevokedLocked()
3630 private void removeAlarmsInternalLocked(Predicate<Alarm> whichAlarms, int reason) { in removeAlarmsInternalLocked() argument
3634 final ArrayList<Alarm> removedAlarms = mAlarmStore.remove(whichAlarms); in removeAlarmsInternalLocked()
3641 if (whichAlarms.test(alarm)) { in removeAlarmsInternalLocked()
3651 if (whichAlarms.test(a)) { in removeAlarmsInternalLocked()
3674 if (mPendingIdleUntil != null && whichAlarms.test(mPendingIdleUntil)) { in removeAlarmsInternalLocked()
3678 if (mNextWakeFromIdle != null && whichAlarms.test(mNextWakeFromIdle)) { in removeAlarmsInternalLocked()
[all …]