Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/utils/quota/
DCountQuotaTracker.java263 final Long limitMs = mCategoryCountWindowSizesMs.get(category); in getWindowSizeMs() local
264 if (limitMs == null) { in getWindowSizeMs()
267 return limitMs; in getWindowSizeMs()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java1008 final long limitMs = in getRemainingEJExecutionTimeLocked() local
1010 long remainingMs = limitMs - quota.getTallyLocked(); in getRemainingEJExecutionTimeLocked()
1189 final long limitMs = in getTimeUntilEJQuotaConsumedLocked() local
1225 return Math.min(limitMs, deadSpaceMs + phasedOutSessionTimeMs + remainingDeadSpaceMs); in getTimeUntilEJQuotaConsumedLocked()
1888 final long limitMs = in maybeScheduleStartAlarmLocked()
1895 if (sumMs >= limitMs) { in maybeScheduleStartAlarmLocked()
1896 inEJQuotaTimeElapsed = (nowElapsed - limitMs) + mEJLimitWindowSizeMs; in maybeScheduleStartAlarmLocked()
1905 if (sumMs >= limitMs) { in maybeScheduleStartAlarmLocked()
1907 ts.startTimeElapsed + (sumMs - limitMs) + mEJLimitWindowSizeMs; in maybeScheduleStartAlarmLocked()