Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DQuotaControllerTest.java545 expectedStats.allowedTimePerPeriodMs = 10 * MINUTE_IN_MILLIS; in testOnAppRemovedLocked()
605 expectedStats.allowedTimePerPeriodMs = 10 * MINUTE_IN_MILLIS; in testOnUserRemovedLocked()
649 inputStats.allowedTimePerPeriodMs = 10 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
655 expectedStats.allowedTimePerPeriodMs = 10 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
840 inputStats.allowedTimePerPeriodMs = expectedStats.allowedTimePerPeriodMs = in testUpdateExecutionStatsLocked_WithTimer()
939 expectedStats.allowedTimePerPeriodMs = 10 * MINUTE_IN_MILLIS; in testGetExecutionStatsLocked_Values()
1022 expectedStats.allowedTimePerPeriodMs = 10 * MINUTE_IN_MILLIS; in testGetExecutionStatsLocked_Values_BeginningOfTime()
1259 expectedStats.allowedTimePerPeriodMs = originalStatsActive.allowedTimePerPeriodMs; in testGetExecutionStatsLocked_Caching()
1279 expectedStats.allowedTimePerPeriodMs = originalStatsWorking.allowedTimePerPeriodMs; in testGetExecutionStatsLocked_Caching()
1296 expectedStats.allowedTimePerPeriodMs = originalStatsFrequent.allowedTimePerPeriodMs; in testGetExecutionStatsLocked_Caching()
[all …]
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DQuotaController.java137 public long allowedTimePerPeriodMs; field in QuotaController.ExecutionStats
197 + "allowedTimePerPeriodMs=" + allowedTimePerPeriodMs + ", " in toString()
219 && this.allowedTimePerPeriodMs == other.allowedTimePerPeriodMs in equals()
245 result = 31 * result + hashLong(allowedTimePerPeriodMs); in hashCode()
971 return Math.min(stats.allowedTimePerPeriodMs - stats.executionTimeInWindowMs,
1057 final long allowedTimePerPeriodMs = mAllowedTimePerPeriodMs[standbyBucket];
1058 final long allowedTimeRemainingMs = allowedTimePerPeriodMs - stats.executionTimeInWindowMs;
1235 || stats.allowedTimePerPeriodMs != bucketAllowedTimeMs
1240 stats.allowedTimePerPeriodMs = bucketAllowedTimeMs;
1265 final long allowedTimeIntoQuotaMs = stats.allowedTimePerPeriodMs - mQuotaBufferMs;
[all …]