Searched refs:jobCountInRateLimitingWindow (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | QuotaController.java | 216 public int jobCountInRateLimitingWindow; field in QuotaController.ExecutionStats 245 + "rateLimitJobCountWindow=" + jobCountInRateLimitingWindow + ", " in toString() 267 && this.jobCountInRateLimitingWindow == other.jobCountInRateLimitingWindow in equals() 291 result = 31 * result + jobCountInRateLimitingWindow; in hashCode() 680 || stats.jobCountInRateLimitingWindow < mMaxJobCountPerRateLimitingWindow); in isUnderJobCountQuotaLocked() 1033 stats.jobCountInRateLimitingWindow = 0; in incrementJobCount() 1035 stats.jobCountInRateLimitingWindow += count; in incrementJobCount() 2880 es.jobCountInRateLimitingWindow); in dumpControllerStateLocked()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 1330 SOURCE_USER_ID, SOURCE_PACKAGE, ACTIVE_INDEX).jobCountInRateLimitingWindow); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_BelowFGS() 1404 SOURCE_USER_ID, fgChangerPkgName, i).jobCountInRateLimitingWindow); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_SeparateApps() 1406 SOURCE_USER_ID, unaffectedPkgName, i).jobCountInRateLimitingWindow); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_SeparateApps() 1758 stats.jobCountInRateLimitingWindow = in testMaybeScheduleStartAlarmLocked_JobCount_RateLimitingWindow() 2313 assertEquals(0, stats.jobCountInRateLimitingWindow); in testTimerTracking_JobCount_Foreground() 2325 assertEquals(0, stats.jobCountInRateLimitingWindow); in testTimerTracking_JobCount_Foreground() 2341 assertEquals(0, stats.jobCountInRateLimitingWindow); in testTimerTracking_JobCount_Background() 2352 assertEquals(2, stats.jobCountInRateLimitingWindow); in testTimerTracking_JobCount_Background()
|