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.java475 expectedStats.bgJobCountInWindow = 0; in testUpdateExecutionStatsLocked_NoTimer()
486 expectedStats.bgJobCountInWindow = 3; in testUpdateExecutionStatsLocked_NoTimer()
498 expectedStats.bgJobCountInWindow = 3; in testUpdateExecutionStatsLocked_NoTimer()
510 expectedStats.bgJobCountInWindow = 3; in testUpdateExecutionStatsLocked_NoTimer()
521 expectedStats.bgJobCountInWindow = 4; in testUpdateExecutionStatsLocked_NoTimer()
534 expectedStats.bgJobCountInWindow = 5; in testUpdateExecutionStatsLocked_NoTimer()
548 expectedStats.bgJobCountInWindow = 10; in testUpdateExecutionStatsLocked_NoTimer()
561 expectedStats.bgJobCountInWindow = 10; in testUpdateExecutionStatsLocked_NoTimer()
576 expectedStats.bgJobCountInWindow = 15; in testUpdateExecutionStatsLocked_NoTimer()
594 expectedStats.bgJobCountInWindow = 15; in testUpdateExecutionStatsLocked_NoTimer()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DQuotaController.java265 public int bgJobCountInWindow; field in QuotaController.ExecutionStats
321 + "bgJobCountInWindow=" + bgJobCountInWindow + ", " in toString()
341 && this.bgJobCountInWindow == other.bgJobCountInWindow in equals()
366 result = 31 * result + bgJobCountInWindow; in hashCode()
791 && (stats.bgJobCountInWindow < mMaxBucketJobCounts[standbyBucket]); in isUnderJobCountQuotaLocked()
972 stats.bgJobCountInWindow = 0; in updateExecutionStatsLocked()
984 stats.bgJobCountInWindow = stats.bgJobCountInMaxPeriod = timer.getBgJobCount(); in updateExecutionStatsLocked()
1030 stats.bgJobCountInWindow += session.bgJobCount; in updateExecutionStatsLocked()
1036 if (stats.bgJobCountInWindow >= stats.jobCountLimit) { in updateExecutionStatsLocked()
1403 if (!isUnderJobCountQuota && stats.bgJobCountInWindow < stats.jobCountLimit) { in maybeScheduleStartAlarmLocked()
[all …]