Searched refs:alarmsToDeliver (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | BackgroundRestrictedAlarmsTest.java | 82 SparseArray<ArrayList<Alarm>> pending, ArrayList<Alarm> alarmsToDeliver) { in runCheckAllPendingAlarms() argument 85 alarmsToDeliver, alarm -> alarm.type == RTC_WAKEUP); in runCheckAllPendingAlarms() 92 final ArrayList<Alarm> alarmsToDeliver = new ArrayList<>(); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_empty() local 94 runCheckAllPendingAlarms(pending, alarmsToDeliver); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_empty() 97 assertEquals("", toString(alarmsToDeliver)); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_empty() 106 final ArrayList<Alarm> alarmsToDeliver = new ArrayList<>(); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_remove() local 108 runCheckAllPendingAlarms(pending, alarmsToDeliver); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_remove() 111 assertEquals("", toString(alarmsToDeliver)); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_remove() 120 final ArrayList<Alarm> alarmsToDeliver = new ArrayList<>(); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_nonremove() local 121 runCheckAllPendingAlarms(pending, alarmsToDeliver); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_nonremove() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 1162 final ArrayList<Alarm> alarmsToDeliver; in sendPendingBackgroundAlarmsLocked() local 1167 alarmsToDeliver = new ArrayList<>(); in sendPendingBackgroundAlarmsLocked() 1171 alarmsToDeliver.add(alarmsForUid.remove(i)); in sendPendingBackgroundAlarmsLocked() 1181 alarmsToDeliver = alarmsForUid; in sendPendingBackgroundAlarmsLocked() 1184 deliverPendingBackgroundAlarmsLocked(alarmsToDeliver, mInjector.getElapsedRealtime()); in sendPendingBackgroundAlarmsLocked() 1195 final ArrayList<Alarm> alarmsToDeliver = new ArrayList<>(); in sendAllUnrestrictedPendingBackgroundAlarmsLocked() local 1198 mPendingBackgroundAlarms, alarmsToDeliver, this::isBackgroundRestricted); in sendAllUnrestrictedPendingBackgroundAlarmsLocked() 1200 if (alarmsToDeliver.size() > 0) { in sendAllUnrestrictedPendingBackgroundAlarmsLocked() 1201 deliverPendingBackgroundAlarmsLocked(alarmsToDeliver, mInjector.getElapsedRealtime()); in sendAllUnrestrictedPendingBackgroundAlarmsLocked()
|