Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java389 expectedStats.jobCountLimit = mQcConstants.MAX_JOB_COUNT_RARE; in testOnAppRemovedLocked()
429 expectedStats.jobCountLimit = mQcConstants.MAX_JOB_COUNT_RARE; in testOnUserRemovedLocked()
463 inputStats.jobCountLimit = expectedStats.jobCountLimit = 100; in testUpdateExecutionStatsLocked_NoTimer()
543 inputStats.jobCountLimit = expectedStats.jobCountLimit = 6; in testUpdateExecutionStatsLocked_NoTimer()
589 inputStats.jobCountLimit = expectedStats.jobCountLimit = 100; in testUpdateExecutionStatsLocked_NoTimer()
640 expectedStats.jobCountLimit = mQcConstants.MAX_JOB_COUNT_ACTIVE; in testGetExecutionStatsLocked_Values()
653 expectedStats.jobCountLimit = mQcConstants.MAX_JOB_COUNT_WORKING; in testGetExecutionStatsLocked_Values()
668 expectedStats.jobCountLimit = mQcConstants.MAX_JOB_COUNT_FREQUENT; in testGetExecutionStatsLocked_Values()
683 expectedStats.jobCountLimit = mQcConstants.MAX_JOB_COUNT_RARE; in testGetExecutionStatsLocked_Values()
713 expectedStats.jobCountLimit = mQcConstants.MAX_JOB_COUNT_ACTIVE; in testGetExecutionStatsLocked_Values_BeginningOfTime()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DQuotaController.java260 public int jobCountLimit; field in QuotaController.ExecutionStats
318 + "jobCountLimit=" + jobCountLimit + ", " in toString()
338 && this.jobCountLimit == other.jobCountLimit in equals()
363 result = 31 * result + hashLong(jobCountLimit); in hashCode()
949 final int jobCountLimit = mMaxBucketJobCounts[standbyBucket]; in getExecutionStatsLocked() local
955 || stats.jobCountLimit != jobCountLimit in getExecutionStatsLocked()
959 stats.jobCountLimit = jobCountLimit; in getExecutionStatsLocked()
1036 if (stats.bgJobCountInWindow >= stats.jobCountLimit) { in updateExecutionStatsLocked()
1403 if (!isUnderJobCountQuota && stats.bgJobCountInWindow < stats.jobCountLimit) { in maybeScheduleStartAlarmLocked()
2747 es.jobCountLimit); in dumpControllerStateLocked()