Home
last modified time | relevance | path

Searched refs:RARE_INDEX (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DQuotaControllerTest.java337 case RARE_INDEX: in bucketIndexToUsageStatsBucket()
1337 setStandbyBucket(RARE_INDEX, job); in testGetMaxJobExecutionTimeLocked_Regular()
1420 setStandbyBucket(RARE_INDEX, job); in testGetMaxJobExecutionTimeLocked_EJ()
1540 setStandbyBucket(RARE_INDEX); in testGetTimeUntilQuotaConsumedLocked_BucketWindow()
1741 setStandbyBucket(RARE_INDEX); in testGetTimeUntilQuotaConsumedLocked_EdgeOfWindow_BucketWindow()
1827 setStandbyBucket(RARE_INDEX); in testGetTimeUntilQuotaConsumedLocked_QuotaBump()
5057 setStandbyBucket(RARE_INDEX); in testGetTimeUntilEJQuotaConsumedLocked_SessionsAtEdgeOfWindow()
5110 setStandbyBucket(RARE_INDEX); in testGetTimeUntilEJQuotaConsumedLocked_OneSessionStraddlesEdge()
5362 setStandbyBucket(RARE_INDEX); in testMaybeScheduleStartAlarmLocked_Ej_BucketChange()
6590 setStandbyBucket(RARE_INDEX); in testEJDebitTallying()
[all …]
H A DJobStatusTest.java27 import static com.android.server.job.JobSchedulerService.RARE_INDEX;
129 effectiveBucket.put(RARE_INDEX, exemptionGranted ? WORKING_INDEX : RARE_INDEX); in assertEffectiveBucketForMediaExemption()
611 job.setStandbyBucket(RARE_INDEX); in testGetEffectiveStandbyBucket_buggyApp()
612 assertEquals(RARE_INDEX, job.getEffectiveStandbyBucket()); in testGetEffectiveStandbyBucket_buggyApp()
H A DConnectivityControllerTest.java38 import static com.android.server.job.JobSchedulerService.RARE_INDEX;
1296 networked.setStandbyBucket(RARE_INDEX); in testRestrictedJobTracking()
1297 unnetworked.setStandbyBucket(RARE_INDEX); in testRestrictedJobTracking()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DQuotaController.java27 import static com.android.server.job.JobSchedulerService.RARE_INDEX;
3595 if (mMaxBucketJobCounts[RARE_INDEX] != newRareMaxJobCount) {
3596 mMaxBucketJobCounts[RARE_INDEX] = newRareMaxJobCount;
3655 mMaxBucketSessionCounts[RARE_INDEX] = newRareMaxSessionCount;
3852 if (mAllowedTimePerPeriodMs[RARE_INDEX] != newAllowedTimeRareMs) {
3853 mAllowedTimePerPeriodMs[RARE_INDEX] = newAllowedTimeRareMs;
3896 long newRarePeriodMs = Math.max(mAllowedTimePerPeriodMs[RARE_INDEX],
3898 if (mBucketPeriodsMs[RARE_INDEX] != newRarePeriodMs) {
3899 mBucketPeriodsMs[RARE_INDEX] = newRarePeriodMs;
4029 if (mEJLimitsMs[RARE_INDEX] != newRareLimitMs) {
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
H A DJobSchedulerServiceTest.java29 import static com.android.server.job.JobSchedulerService.RARE_INDEX;
1717 job.setStandbyBucket(RARE_INDEX); in testRareJobBatching()
1764 oldRareJob.setStandbyBucket(RARE_INDEX); in testRareJobBatching()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobSchedulerService.java460 public static final int RARE_INDEX = 3;
4172 return RARE_INDEX;
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
H A DAlarmManagerService.java227 static final int RARE_INDEX = 3; field in AlarmManagerService
2411 index = RARE_INDEX; in getQuotaForBucketLocked()