Searched refs:jobCountInRateLimitingWindow (Results 1 – 2 of 2) sorted by relevance
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
H A D | QuotaController.java | 224 public int jobCountInRateLimitingWindow; field in QuotaController.ExecutionStats 253 + "rateLimitJobCountWindow=" + jobCountInRateLimitingWindow + ", " in toString() 275 && this.jobCountInRateLimitingWindow == other.jobCountInRateLimitingWindow in equals() 299 result = 31 * result + jobCountInRateLimitingWindow; in hashCode() 927 || stats.jobCountInRateLimitingWindow < mMaxJobCountPerRateLimitingWindow); 1396 stats.jobCountInRateLimitingWindow = 0; 1398 stats.jobCountInRateLimitingWindow += count; 4392 es.jobCountInRateLimitingWindow);
|
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
H A D | QuotaControllerTest.java | 1775 SOURCE_USER_ID, SOURCE_PACKAGE, ACTIVE_INDEX).jobCountInRateLimitingWindow); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_BelowFGS() 1857 SOURCE_USER_ID, fgChangerPkgName, i).jobCountInRateLimitingWindow); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_SeparateApps() 1859 SOURCE_USER_ID, unaffectedPkgName, i).jobCountInRateLimitingWindow); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_SeparateApps() 2539 stats.jobCountInRateLimitingWindow = in testMaybeScheduleStartAlarmLocked_JobCount_RateLimitingWindow() 3323 assertEquals(0, stats.jobCountInRateLimitingWindow); in testTimerTracking_JobCount_Foreground() 3343 assertEquals(0, stats.jobCountInRateLimitingWindow); in testTimerTracking_JobCount_Foreground() 3362 assertEquals(0, stats.jobCountInRateLimitingWindow); in testTimerTracking_JobCount_Background() 3381 assertEquals(2, stats.jobCountInRateLimitingWindow); in testTimerTracking_JobCount_Background()
|