Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java479 expectedStats.bgJobCountInWindow = 0; in testUpdateExecutionStatsLocked_NoTimer()
490 expectedStats.bgJobCountInWindow = 3; in testUpdateExecutionStatsLocked_NoTimer()
502 expectedStats.bgJobCountInWindow = 3; in testUpdateExecutionStatsLocked_NoTimer()
514 expectedStats.bgJobCountInWindow = 3; in testUpdateExecutionStatsLocked_NoTimer()
525 expectedStats.bgJobCountInWindow = 4; in testUpdateExecutionStatsLocked_NoTimer()
538 expectedStats.bgJobCountInWindow = 5; in testUpdateExecutionStatsLocked_NoTimer()
552 expectedStats.bgJobCountInWindow = 10; in testUpdateExecutionStatsLocked_NoTimer()
565 expectedStats.bgJobCountInWindow = 10; in testUpdateExecutionStatsLocked_NoTimer()
580 expectedStats.bgJobCountInWindow = 15; in testUpdateExecutionStatsLocked_NoTimer()
598 expectedStats.bgJobCountInWindow = 15; in testUpdateExecutionStatsLocked_NoTimer()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java183 public int bgJobCountInWindow; field in QuotaController.ExecutionStats
239 + "bgJobCountInWindow=" + bgJobCountInWindow + ", " in toString()
260 && this.bgJobCountInWindow == other.bgJobCountInWindow in equals()
285 result = 31 * result + bgJobCountInWindow; in hashCode()
682 && (stats.bgJobCountInWindow < mMaxBucketJobCounts[standbyBucket]); in isUnderJobCountQuotaLocked()
863 stats.bgJobCountInWindow = 0; in updateExecutionStatsLocked()
882 stats.bgJobCountInWindow = stats.bgJobCountInMaxPeriod = timer.getBgJobCount(); in updateExecutionStatsLocked()
894 if (stats.bgJobCountInWindow >= stats.jobCountLimit) { in updateExecutionStatsLocked()
932 stats.bgJobCountInWindow += session.bgJobCount; in updateExecutionStatsLocked()
938 if (stats.bgJobCountInWindow >= stats.jobCountLimit) { in updateExecutionStatsLocked()
[all …]