Searched refs:mAllowedTimePerPeriodMs (Results 1 – 1 of 1) sorted by relevance
336 private long mAllowedTimePerPeriodMs = QcConstants.DEFAULT_ALLOWED_TIME_PER_PERIOD_MS; field in QuotaController354 private long mAllowedTimeIntoQuotaMs = mAllowedTimePerPeriodMs - mQuotaBufferMs;723 return Math.min(mAllowedTimePerPeriodMs - stats.executionTimeInWindowMs, in getRemainingExecutionTimeLocked()743 return mAllowedTimePerPeriodMs; in getTimeUntilQuotaConsumedLocked()749 final long allowedTimeRemainingMs = mAllowedTimePerPeriodMs - stats.executionTimeInWindowMs; in getTimeUntilQuotaConsumedLocked()755 if (stats.windowSizeMs == mAllowedTimePerPeriodMs) { in getTimeUntilQuotaConsumedLocked()1289 if (stats.executionTimeInWindowMs < mAllowedTimePerPeriodMs in maybeScheduleStartAlarmLocked()2350 if (mAllowedTimePerPeriodMs != newAllowedTimeMs) { in updateConstants()2351 mAllowedTimePerPeriodMs = newAllowedTimeMs; in updateConstants()2352 mAllowedTimeIntoQuotaMs = mAllowedTimePerPeriodMs - mQuotaBufferMs; in updateConstants()[all …]