Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DQuotaControllerTest.java532 expectedStats.jobCountLimit = mQcConstants.MAX_JOB_COUNT_RARE; in testOnAppRemovedLocked()
592 expectedStats.jobCountLimit = mQcConstants.MAX_JOB_COUNT_RARE; in testOnUserRemovedLocked()
634 inputStats.jobCountLimit = expectedStats.jobCountLimit = 100; in testUpdateExecutionStatsLocked_NoTimer()
728 inputStats.jobCountLimit = expectedStats.jobCountLimit = 6; in testUpdateExecutionStatsLocked_NoTimer()
780 inputStats.jobCountLimit = expectedStats.jobCountLimit = 100; in testUpdateExecutionStatsLocked_NoTimer()
823 inputStats.jobCountLimit = expectedStats.jobCountLimit = mQcConstants.MAX_JOB_COUNT_RARE; in testUpdateExecutionStatsLocked_WithTimer()
970 expectedStats.jobCountLimit = mQcConstants.MAX_JOB_COUNT_RARE; in testGetExecutionStatsLocked_Values()
1238 expectedStats.jobCountLimit = originalStatsActive.jobCountLimit; in testGetExecutionStatsLocked_Caching()
1257 expectedStats.jobCountLimit = originalStatsWorking.jobCountLimit; in testGetExecutionStatsLocked_Caching()
1273 expectedStats.jobCountLimit = originalStatsFrequent.jobCountLimit; in testGetExecutionStatsLocked_Caching()
[all …]
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DQuotaController.java186 public int jobCountLimit; field in QuotaController.ExecutionStats
244 + "jobCountLimit=" + jobCountLimit + ", " in toString()
265 && this.jobCountLimit == other.jobCountLimit in equals()
290 result = 31 * result + hashLong(jobCountLimit); in hashCode()
1203 final int jobCountLimit = mMaxBucketJobCounts[standbyBucket];
1209 || stats.jobCountLimit != jobCountLimit
1213 stats.jobCountLimit = jobCountLimit;
1230 if (stats.jobCountLimit == 0 || stats.sessionCountLimit == 0) {
1257 if (stats.bgJobCountInWindow >= stats.jobCountLimit) {
1301 if (stats.bgJobCountInWindow >= stats.jobCountLimit) {
[all …]