Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/job/controllers/
DQuotaController.java426 private long mAllowedTimePerPeriodMs = QcConstants.DEFAULT_ALLOWED_TIME_PER_PERIOD_MS; field in QuotaController
444 private long mAllowedTimeIntoQuotaMs = mAllowedTimePerPeriodMs - mQuotaBufferMs;
832 return Math.min(mAllowedTimePerPeriodMs - stats.executionTimeInWindowMs, in getRemainingExecutionTimeLocked()
852 return mAllowedTimePerPeriodMs; in getTimeUntilQuotaConsumedLocked()
858 final long allowedTimeRemainingMs = mAllowedTimePerPeriodMs - stats.executionTimeInWindowMs; in getTimeUntilQuotaConsumedLocked()
864 if (stats.windowSizeMs == mAllowedTimePerPeriodMs) { in getTimeUntilQuotaConsumedLocked()
1375 if (stats.executionTimeInWindowMs < mAllowedTimePerPeriodMs in maybeScheduleStartAlarmLocked()
2276 if (mAllowedTimePerPeriodMs != newAllowedTimeMs) { in updateConstants()
2277 mAllowedTimePerPeriodMs = newAllowedTimeMs; in updateConstants()
2278 mAllowedTimeIntoQuotaMs = mAllowedTimePerPeriodMs - mQuotaBufferMs; in updateConstants()
[all …]