Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java748 final long startMaxElapsed = nowElapsed - MAX_PERIOD_MS; in getTimeUntilQuotaConsumedLocked() local
757 sessions, startMaxElapsed, maxExecutionTimeRemainingMs); in getTimeUntilQuotaConsumedLocked()
766 sessions, startMaxElapsed, maxExecutionTimeRemainingMs), in getTimeUntilQuotaConsumedLocked()
906 final long startMaxElapsed = nowElapsed - MAX_PERIOD_MS; in updateExecutionStatsLocked() local
956 if (startMaxElapsed < session.startTimeElapsed) { in updateExecutionStatsLocked()
960 emptyTimeMs = Math.min(emptyTimeMs, session.startTimeElapsed - startMaxElapsed); in updateExecutionStatsLocked()
966 } else if (startMaxElapsed < session.endTimeElapsed) { in updateExecutionStatsLocked()
969 stats.executionTimeInMaxPeriodMs += session.endTimeElapsed - startMaxElapsed; in updateExecutionStatsLocked()
974 startMaxElapsed + stats.executionTimeInMaxPeriodMs in updateExecutionStatsLocked()