Home
last modified time | relevance | path

Searched refs:mAlarmQueue (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/utils/quota/
DQuotaTracker.java475 private final AlarmQueue mAlarmQueue = new AlarmQueue(); field in QuotaTracker.InQuotaAlarmListener
482 mAlarmQueue.remove(uptc); in addAlarmLocked()
483 mAlarmQueue.offer(new Pair<>(uptc, inQuotaTimeElapsed)); in addAlarmLocked()
490 mAlarmQueue.clear(); in clearLocked()
496 if (mAlarmQueue.remove(uptc)) { in removeAlarmLocked()
497 if (mAlarmQueue.size() == 0) { in removeAlarmLocked()
508 Pair[] alarms = mAlarmQueue.toArray(new Pair[mAlarmQueue.size()]); in removeAlarmsLocked()
512 mAlarmQueue.remove(alarms[i]); in removeAlarmsLocked()
524 Pair[] alarms = mAlarmQueue.toArray(new Pair[mAlarmQueue.size()]); in removeAlarmsLocked()
528 mAlarmQueue.remove(alarms[i]); in removeAlarmsLocked()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java1881 private final AlarmQueue mAlarmQueue = new AlarmQueue(); field in QuotaController.InQuotaAlarmListener
1892 mAlarmQueue.remove(pkg); in addAlarmLocked()
1893 mAlarmQueue.offer(new Pair<>(pkg, inQuotaTimeElapsed)); in addAlarmLocked()
1904 if (mAlarmQueue.remove(pkg)) { in removeAlarmLocked()
1917 Pair[] alarms = mAlarmQueue.toArray(new Pair[mAlarmQueue.size()]); in removeAlarmsLocked()
1921 mAlarmQueue.remove(alarms[i]); in removeAlarmsLocked()
1937 if (mAlarmQueue.size() > 0) { in setNextAlarmLocked()
1938 final Pair<Package, Long> alarm = mAlarmQueue.peek(); in setNextAlarmLocked()
1966 while (mAlarmQueue.size() > 0) { in onAlarm()
1967 final Pair<Package, Long> alarm = mAlarmQueue.peek(); in onAlarm()
[all …]