Searched refs:ACTIVE_INDEX (Results 1 – 8 of 8) sorted by relevance
325 case ACTIVE_INDEX: in bucketIndexToUsageStatsBucket()1353 setStandbyBucket(ACTIVE_INDEX, job); in testGetMaxJobExecutionTimeLocked_Regular_Active()1517 setStandbyBucket(ACTIVE_INDEX); in testGetTimeUntilQuotaConsumedLocked_BucketWindow()1740 setStandbyBucket(ACTIVE_INDEX, jobStatus); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_BelowFGS()2121 final int standbyBucket = ACTIVE_INDEX; in testMaybeScheduleStartAlarmLocked_Active()3309 final int standbyBucket = ACTIVE_INDEX; in testTimerTracking_JobCount_Foreground()4118 setStandbyBucket(ACTIVE_INDEX); in testGetRemainingEJExecutionTimeLocked_IncrementalTimingSessions()4207 setStandbyBucket(ACTIVE_INDEX); in testGetTimeUntilEJQuotaConsumedLocked_SessionsAtEdgeOfWindow()4260 setStandbyBucket(ACTIVE_INDEX); in testGetTimeUntilEJQuotaConsumedLocked_OneSessionStraddlesEdge()4479 setStandbyBucket(ACTIVE_INDEX); in testMaybeScheduleStartAlarmLocked_Ej_BucketChange()[all …]
22 import static com.android.server.job.JobSchedulerService.ACTIVE_INDEX;119 effectiveBucket.put(ACTIVE_INDEX, ACTIVE_INDEX); in assertEffectiveBucketForMediaExemption()
23 import static com.android.server.job.JobSchedulerService.ACTIVE_INDEX;823 return Math.max(mEJLimitsMs[ACTIVE_INDEX] / 2, in getMaxJobExecutionTimeMsLocked()1618 } else if (realStandbyBucket != ACTIVE_INDEX3429 if (mMaxBucketJobCounts[ACTIVE_INDEX] != newActiveMaxJobCount) {3430 mMaxBucketJobCounts[ACTIVE_INDEX] = newActiveMaxJobCount;3475 if (mMaxBucketSessionCounts[ACTIVE_INDEX] != newActiveMaxSessionCount) {3476 mMaxBucketSessionCounts[ACTIVE_INDEX] = newActiveMaxSessionCount;3668 if (mBucketPeriodsMs[ACTIVE_INDEX] != newActivePeriodMs) {3669 mBucketPeriodsMs[ACTIVE_INDEX] = newActivePeriodMs;3786 if (mEJLimitsMs[ACTIVE_INDEX] != newActiveLimitMs) {[all …]
19 import static com.android.server.job.JobSchedulerService.ACTIVE_INDEX;834 return ACTIVE_INDEX; in getEffectiveStandbyBucket()
28 import static com.android.server.job.JobSchedulerService.ACTIVE_INDEX;756 activeJob.setStandbyBucket(ACTIVE_INDEX); in testRareJobBatching()
195 static final int ACTIVE_INDEX = 0; field in AlarmManagerService916 APP_STANDBY_QUOTAS[ACTIVE_INDEX] = properties.getInt( in updateStandbyQuotasLocked()917 KEYS_APP_STANDBY_QUOTAS[ACTIVE_INDEX], in updateStandbyQuotasLocked()918 DEFAULT_APP_STANDBY_QUOTAS[ACTIVE_INDEX]); in updateStandbyQuotasLocked()2070 index = ACTIVE_INDEX; in getQuotaForBucketLocked()
332 public static final int ACTIVE_INDEX = 0;2242 && job.getEffectiveStandbyBucket() != ACTIVE_INDEX2660 return ACTIVE_INDEX;
58 import static com.android.server.alarm.AlarmManagerService.ACTIVE_INDEX;596 mDeviceConfigKeys.add(mService.mConstants.KEYS_APP_STANDBY_QUOTAS[ACTIVE_INDEX]); in setTestableQuotas()599 .getInt(eq(mService.mConstants.KEYS_APP_STANDBY_QUOTAS[ACTIVE_INDEX]), anyInt()); in setTestableQuotas()