Searched refs:whichAlarms (Results 1 – 4 of 4) sorted by relevance
55 ArrayList<Alarm> remove(Predicate<Alarm> whichAlarms); in remove() argument
83 public ArrayList<Alarm> remove(Predicate<Alarm> whichAlarms) { in remove() argument86 if (whichAlarms.test(mAlarms.get(i))) { in remove()
82 public ArrayList<Alarm> remove(Predicate<Alarm> whichAlarms) { in remove() argument86 removed.addAll(b.remove(whichAlarms)); in remove()
1738 final Predicate<Alarm> whichAlarms = a -> { in refreshExactAlarmCandidates() local1747 removeAlarmsInternalLocked(whichAlarms, REMOVE_REASON_EXACT_PERMISSION_REVOKED); in refreshExactAlarmCandidates()3620 final Predicate<Alarm> whichAlarms = a -> (a.uid == uid && a.packageName.equals(packageName) in removeExactAlarmsOnPermissionRevokedLocked() local3622 removeAlarmsInternalLocked(whichAlarms, REMOVE_REASON_EXACT_PERMISSION_REVOKED); in removeExactAlarmsOnPermissionRevokedLocked()3630 private void removeAlarmsInternalLocked(Predicate<Alarm> whichAlarms, int reason) { in removeAlarmsInternalLocked() argument3634 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 …]