Searched refs:jobCountInRateLimitingWindow (Results 1 – 2 of 2) sorted by relevance
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
H A D | QuotaController.java | 178 public int jobCountInRateLimitingWindow; field in QuotaController.ExecutionStats 208 + "rateLimitJobCountWindow=" + jobCountInRateLimitingWindow + ", " in toString() 231 && this.jobCountInRateLimitingWindow == other.jobCountInRateLimitingWindow in equals() 256 result = 31 * result + jobCountInRateLimitingWindow; in hashCode() 928 || stats.jobCountInRateLimitingWindow < mMaxJobCountPerRateLimitingWindow); 1456 stats.jobCountInRateLimitingWindow = 0; 1458 stats.jobCountInRateLimitingWindow += count; 4725 es.jobCountInRateLimitingWindow);
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
H A D | QuotaControllerTest.java | 2045 SOURCE_USER_ID, SOURCE_PACKAGE, ACTIVE_INDEX).jobCountInRateLimitingWindow); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_BelowFGS() 2127 SOURCE_USER_ID, fgChangerPkgName, i).jobCountInRateLimitingWindow); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_SeparateApps() 2129 SOURCE_USER_ID, unaffectedPkgName, i).jobCountInRateLimitingWindow); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_SeparateApps() 3243 stats.jobCountInRateLimitingWindow = in testMaybeScheduleStartAlarmLocked_JobCount_RateLimitingWindow() 4149 assertEquals(0, stats.jobCountInRateLimitingWindow); in testTimerTracking_JobCount_Foreground() 4169 assertEquals(0, stats.jobCountInRateLimitingWindow); in testTimerTracking_JobCount_Foreground() 4188 assertEquals(0, stats.jobCountInRateLimitingWindow); in testTimerTracking_JobCount_Background() 4207 assertEquals(2, stats.jobCountInRateLimitingWindow); in testTimerTracking_JobCount_Background()
|