Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DQuotaControllerTest.java651 inputStats.jobCountLimit = expectedStats.jobCountLimit = 100; in testUpdateExecutionStatsLocked_NoTimer()
746 inputStats.jobCountLimit = expectedStats.jobCountLimit = 6; in testUpdateExecutionStatsLocked_NoTimer()
798 inputStats.jobCountLimit = expectedStats.jobCountLimit = 100; in testUpdateExecutionStatsLocked_NoTimer()
843 inputStats.jobCountLimit = expectedStats.jobCountLimit = mQcConstants.MAX_JOB_COUNT_RARE; in testUpdateExecutionStatsLocked_WithTimer()
1261 expectedStats.jobCountLimit = originalStatsActive.jobCountLimit; in testGetExecutionStatsLocked_Caching()
1281 expectedStats.jobCountLimit = originalStatsWorking.jobCountLimit; in testGetExecutionStatsLocked_Caching()
1298 expectedStats.jobCountLimit = originalStatsFrequent.jobCountLimit; in testGetExecutionStatsLocked_Caching()
1315 expectedStats.jobCountLimit = originalStatsRare.jobCountLimit; in testGetExecutionStatsLocked_Caching()
2305 assertEquals(10, stats.jobCountLimit); in testIsWithinQuotaLocked_WithQuotaBump_JobCount()
2311 assertEquals(11, stats.jobCountLimit); in testIsWithinQuotaLocked_WithQuotaBump_JobCount()
[all …]
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DQuotaController.java139 public int jobCountLimit; field in QuotaController.ExecutionStats
199 + "jobCountLimit=" + jobCountLimit + ", " in toString()
221 && this.jobCountLimit == other.jobCountLimit in equals()
247 result = 31 * result + hashLong(jobCountLimit); in hashCode()
930 && stats.bgJobCountInWindow < stats.jobCountLimit;
1237 || stats.jobCountLimit != jobCountLimit
1242 stats.jobCountLimit = jobCountLimit;
1287 if (stats.bgJobCountInWindow >= stats.jobCountLimit) {
1320 stats.jobCountLimit += mQuotaBumpAdditionalJobCount;
1358 if (stats.bgJobCountInWindow >= stats.jobCountLimit) {
[all …]