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.java533 long nextCleanupElapsed = earliestEndElapsed + mMaxPeriodMs; in maybeScheduleCleanupAlarmLocked() local
534 if (nextCleanupElapsed - mNextCleanupTimeElapsed <= 10 * MINUTE_IN_MILLIS) { in maybeScheduleCleanupAlarmLocked()
537 nextCleanupElapsed += 10 * MINUTE_IN_MILLIS; in maybeScheduleCleanupAlarmLocked()
539 mNextCleanupTimeElapsed = nextCleanupElapsed; in maybeScheduleCleanupAlarmLocked()
540 scheduleAlarm(AlarmManager.ELAPSED_REALTIME, nextCleanupElapsed, ALARM_TAG_CLEANUP, in maybeScheduleCleanupAlarmLocked()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java1624 long nextCleanupElapsed = earliestEndElapsed + MAX_PERIOD_MS; in maybeScheduleCleanupAlarmLocked() local
1625 if (nextCleanupElapsed - mNextCleanupTimeElapsed <= 10 * MINUTE_IN_MILLIS) { in maybeScheduleCleanupAlarmLocked()
1628 nextCleanupElapsed = mNextCleanupTimeElapsed + 10 * MINUTE_IN_MILLIS; in maybeScheduleCleanupAlarmLocked()
1630 mNextCleanupTimeElapsed = nextCleanupElapsed; in maybeScheduleCleanupAlarmLocked()
1631 mAlarmManager.set(AlarmManager.ELAPSED_REALTIME, nextCleanupElapsed, ALARM_TAG_CLEANUP, in maybeScheduleCleanupAlarmLocked()