Home
last modified time | relevance | path

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

/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DBackgroundJobsController.java19 import static com.android.server.job.JobSchedulerService.NEVER_INDEX;
242 if (isActive && jobStatus.getStandbyBucket() == NEVER_INDEX) { in updateSingleJobRestrictionLocked()
H A DQuotaController.java26 import static com.android.server.job.JobSchedulerService.NEVER_INDEX;
818 if (standbyBucket == RESTRICTED_INDEX || standbyBucket == NEVER_INDEX) { in hasTempAllowlistExemptionLocked()
912 if (standbyBucket == NEVER_INDEX) return false;
963 if (standbyBucket == NEVER_INDEX) {
978 if (quota.getStandbyBucketLocked() == NEVER_INDEX) {
1040 if (standbyBucket == NEVER_INDEX) {
1213 if (standbyBucket == NEVER_INDEX) {
1802 if (standbyBucket == NEVER_INDEX) {
H A DJobStatus.java23 import static com.android.server.job.JobSchedulerService.NEVER_INDEX;
1182 if (actualBucket != RESTRICTED_INDEX && actualBucket != NEVER_INDEX in getEffectiveStandbyBucket()
2038 if (getEffectiveStandbyBucket() == NEVER_INDEX) { in getPendingJobReason()
2236 || getEffectiveStandbyBucket() == NEVER_INDEX) { in isReady()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DJobStatusTest.java26 import static com.android.server.job.JobSchedulerService.NEVER_INDEX;
130 effectiveBucket.put(NEVER_INDEX, NEVER_INDEX); in assertEffectiveBucketForMediaExemption()
617 job.setStandbyBucket(NEVER_INDEX); in testGetEffectiveStandbyBucket_buggyApp()
618 assertEquals(NEVER_INDEX, job.getEffectiveStandbyBucket()); in testGetEffectiveStandbyBucket_buggyApp()
H A DQuotaControllerTest.java30 import static com.android.server.job.JobSchedulerService.NEVER_INDEX;
1919 mQuotaController.isWithinQuotaLocked(0, "com.android.test.never", NEVER_INDEX)); in testIsWithinQuotaLocked_NeverApp()
2461 setStandbyBucket(NEVER_INDEX, js); in testIsWithinEJQuotaLocked_NeverApp()
2959 setStandbyBucket(NEVER_INDEX); in testMaybeScheduleStartAlarmLocked_Never_EffectiveNotNever()
4800 i == NEVER_INDEX ? 0 : (limits[i] - 5 * MINUTE_IN_MILLIS), in testGetRemainingEJExecutionTimeLocked_AllSessionsWithinWindow()
4836 i == NEVER_INDEX ? 0 in testGetRemainingEJExecutionTimeLocked_Installer()
4866 i == NEVER_INDEX ? 0 : (limits[i] - 5 * MINUTE_IN_MILLIS), in testGetRemainingEJExecutionTimeLocked_OneSessionStraddlesEdge()
4903 i == NEVER_INDEX ? 0 : (limits[i] - 5 * MINUTE_IN_MILLIS), in testGetRemainingEJExecutionTimeLocked_WithStaleSessions()
4928 i == NEVER_INDEX ? 0 : (limits[i] - 75 * SECOND_IN_MILLIS), in testGetRemainingEJExecutionTimeLocked_BeginningOfTime()
5010 i == NEVER_INDEX ? 0 : (limits[i] - 5 * MINUTE_IN_MILLIS), in testGetTimeUntilEJQuotaConsumedLocked_AllSessionsWithinWindow()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobSchedulerService.java461 public static final int NEVER_INDEX = 4;
4168 return NEVER_INDEX;
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
H A DAlarmManagerService.java228 static final int NEVER_INDEX = 4; field in AlarmManagerService
2413 index = NEVER_INDEX; in getQuotaForBucketLocked()