Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/utils/quota/
DCountQuotaTracker.java535 long nextCleanupElapsed = earliestEndElapsed + mMaxPeriodMs; in maybeScheduleCleanupAlarmLocked() local
536 if (nextCleanupElapsed - mNextCleanupTimeElapsed <= 10 * MINUTE_IN_MILLIS) { in maybeScheduleCleanupAlarmLocked()
539 nextCleanupElapsed += 10 * MINUTE_IN_MILLIS; in maybeScheduleCleanupAlarmLocked()
541 mNextCleanupTimeElapsed = nextCleanupElapsed; in maybeScheduleCleanupAlarmLocked()
542 scheduleAlarm(AlarmManager.ELAPSED_REALTIME, nextCleanupElapsed, ALARM_TAG_CLEANUP, in maybeScheduleCleanupAlarmLocked()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java1120 long nextCleanupElapsed = earliestEndElapsed + MAX_PERIOD_MS; in maybeScheduleCleanupAlarmLocked() local
1121 if (nextCleanupElapsed - mNextCleanupTimeElapsed <= 10 * MINUTE_IN_MILLIS) { in maybeScheduleCleanupAlarmLocked()
1124 nextCleanupElapsed += 10 * MINUTE_IN_MILLIS; in maybeScheduleCleanupAlarmLocked()
1126 mNextCleanupTimeElapsed = nextCleanupElapsed; in maybeScheduleCleanupAlarmLocked()
1127 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME, nextCleanupElapsed, ALARM_TAG_CLEANUP, in maybeScheduleCleanupAlarmLocked()