Searched refs:NEVER_INDEX (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | BackgroundJobsController.java | 19 import static com.android.server.job.JobSchedulerService.NEVER_INDEX; 384 if (isActive && jobStatus.getStandbyBucket() == NEVER_INDEX) { in updateSingleJobRestrictionLocked()
|
D | QuotaController.java | 26 import static com.android.server.job.JobSchedulerService.NEVER_INDEX; 827 if (standbyBucket == RESTRICTED_INDEX || standbyBucket == NEVER_INDEX) { in hasTempAllowlistExemptionLocked() 905 if (standbyBucket == NEVER_INDEX) return false; 941 if (standbyBucket == NEVER_INDEX) return false; 990 if (standbyBucket == NEVER_INDEX) { in getRemainingExecutionTimeLocked() 1005 if (quota.getStandbyBucketLocked() == NEVER_INDEX) { in getRemainingEJExecutionTimeLocked() 1067 if (standbyBucket == NEVER_INDEX) { in getTimeUntilQuotaConsumedLocked() 1240 if (standbyBucket == NEVER_INDEX) { in getExecutionStatsLocked() 1833 if (standbyBucket == NEVER_INDEX) { in maybeScheduleStartAlarmLocked()
|
D | JobStatus.java | 21 import static com.android.server.job.JobSchedulerService.NEVER_INDEX; 1242 if (actualBucket != RESTRICTED_INDEX && actualBucket != NEVER_INDEX in getEffectiveStandbyBucket() 2127 if (getEffectiveStandbyBucket() == NEVER_INDEX) { in getPendingJobReason() 2318 || getEffectiveStandbyBucket() == NEVER_INDEX) { in isReady()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | JobStatusTest.java | 28 import static com.android.server.job.JobSchedulerService.NEVER_INDEX; 134 effectiveBucket.put(NEVER_INDEX, NEVER_INDEX); in assertEffectiveBucketForMediaExemption() 699 job.setStandbyBucket(NEVER_INDEX); in testGetEffectiveStandbyBucket_buggyApp() 700 assertEquals(NEVER_INDEX, job.getEffectiveStandbyBucket()); in testGetEffectiveStandbyBucket_buggyApp()
|
D | QuotaControllerTest.java | 31 import static com.android.server.job.JobSchedulerService.NEVER_INDEX; 1963 mQuotaController.isWithinQuotaLocked(0, "com.android.test.never", NEVER_INDEX)); in testIsWithinQuotaLocked_NeverApp() 2573 setStandbyBucket(NEVER_INDEX, js); in testIsWithinEJQuotaLocked_NeverApp() 3073 setStandbyBucket(NEVER_INDEX); in testMaybeScheduleStartAlarmLocked_Never_EffectiveNotNever() 4914 i == NEVER_INDEX ? 0 : (limits[i] - 5 * MINUTE_IN_MILLIS), in testGetRemainingEJExecutionTimeLocked_AllSessionsWithinWindow() 4950 i == NEVER_INDEX ? 0 in testGetRemainingEJExecutionTimeLocked_Installer() 4980 i == NEVER_INDEX ? 0 : (limits[i] - 5 * MINUTE_IN_MILLIS), in testGetRemainingEJExecutionTimeLocked_OneSessionStraddlesEdge() 5017 i == NEVER_INDEX ? 0 : (limits[i] - 5 * MINUTE_IN_MILLIS), in testGetRemainingEJExecutionTimeLocked_WithStaleSessions() 5042 i == NEVER_INDEX ? 0 : (limits[i] - 75 * SECOND_IN_MILLIS), in testGetRemainingEJExecutionTimeLocked_BeginningOfTime() 5124 i == NEVER_INDEX ? 0 : (limits[i] - 5 * MINUTE_IN_MILLIS), in testGetTimeUntilEJQuotaConsumedLocked_AllSessionsWithinWindow()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | AlarmManagerService.java | 231 static final int NEVER_INDEX = 4; field in AlarmManagerService 2319 index = NEVER_INDEX; in getQuotaForBucketLocked()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerService.java | 477 public static final int NEVER_INDEX = 4; 4631 return NEVER_INDEX;
|