Searched refs:nextCleanupElapsed (Results 1 – 2 of 2) sorted by relevance
533 long nextCleanupElapsed = earliestEndElapsed + mMaxPeriodMs; in maybeScheduleCleanupAlarmLocked() local534 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()
1624 long nextCleanupElapsed = earliestEndElapsed + MAX_PERIOD_MS; in maybeScheduleCleanupAlarmLocked() local1625 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()