Searched refs:ACTIVE_INDEX (Results 1 – 8 of 8) sorted by relevance
331 case ACTIVE_INDEX: in bucketIndexToUsageStatsBucket()1380 setStandbyBucket(ACTIVE_INDEX, job); in testGetMaxJobExecutionTimeLocked_Regular_Active()1572 setStandbyBucket(ACTIVE_INDEX); in testGetTimeUntilQuotaConsumedLocked_BucketWindow()1781 setStandbyBucket(ACTIVE_INDEX); in testGetTimeUntilQuotaConsumedLocked_EdgeOfWindow_BucketWindow()1859 setStandbyBucket(ACTIVE_INDEX); in testGetTimeUntilQuotaConsumedLocked_QuotaBump()2724 final int standbyBucket = ACTIVE_INDEX; in testMaybeScheduleStartAlarmLocked_Active()4135 final int standbyBucket = ACTIVE_INDEX; in testTimerTracking_JobCount_Foreground()5039 setStandbyBucket(ACTIVE_INDEX); in testGetTimeUntilEJQuotaConsumedLocked_SessionsAtEdgeOfWindow()5092 setStandbyBucket(ACTIVE_INDEX); in testGetTimeUntilEJQuotaConsumedLocked_OneSessionStraddlesEdge()5327 setStandbyBucket(ACTIVE_INDEX); in testMaybeScheduleStartAlarmLocked_Ej_BucketChange()[all …]
23 import static com.android.server.job.JobSchedulerService.ACTIVE_INDEX;126 effectiveBucket.put(ACTIVE_INDEX, ACTIVE_INDEX); in assertEffectiveBucketForMediaExemption()601 job.setStandbyBucket(ACTIVE_INDEX); in testGetEffectiveStandbyBucket_buggyApp()
23 import static com.android.server.job.JobSchedulerService.ACTIVE_INDEX;803 return Math.max(mEJLimitsMs[ACTIVE_INDEX] / 2, in getMaxJobExecutionTimeMsLocked()3569 if (mMaxBucketJobCounts[ACTIVE_INDEX] != newActiveMaxJobCount) {3570 mMaxBucketJobCounts[ACTIVE_INDEX] = newActiveMaxJobCount;3831 if (mAllowedTimePerPeriodMs[ACTIVE_INDEX] != newAllowedTimeActiveMs) {3832 mAllowedTimePerPeriodMs[ACTIVE_INDEX] = newAllowedTimeActiveMs;3878 long newActivePeriodMs = Math.max(mAllowedTimePerPeriodMs[ACTIVE_INDEX],3880 if (mBucketPeriodsMs[ACTIVE_INDEX] != newActivePeriodMs) {3881 mBucketPeriodsMs[ACTIVE_INDEX] = newActivePeriodMs;4008 if (mEJLimitsMs[ACTIVE_INDEX] != newActiveLimitMs) {[all …]
21 import static com.android.server.job.JobSchedulerService.ACTIVE_INDEX;1178 return ACTIVE_INDEX; in getEffectiveStandbyBucket()
224 static final int ACTIVE_INDEX = 0; field in AlarmManagerService1186 APP_STANDBY_QUOTAS[ACTIVE_INDEX] = properties.getInt( in updateStandbyQuotasLocked()1187 KEYS_APP_STANDBY_QUOTAS[ACTIVE_INDEX], in updateStandbyQuotasLocked()1188 DEFAULT_APP_STANDBY_QUOTAS[ACTIVE_INDEX]); in updateStandbyQuotasLocked()2405 index = ACTIVE_INDEX; in getQuotaForBucketLocked()
28 import static com.android.server.job.JobSchedulerService.ACTIVE_INDEX;1749 activeJob.setStandbyBucket(ACTIVE_INDEX); in testRareJobBatching()
457 public static final int ACTIVE_INDEX = 0;3455 && job.getEffectiveStandbyBucket() != ACTIVE_INDEX4178 return ACTIVE_INDEX;
61 import static com.android.server.alarm.AlarmManagerService.ACTIVE_INDEX;693 mDeviceConfigKeys.add(mService.mConstants.KEYS_APP_STANDBY_QUOTAS[ACTIVE_INDEX]);697 .getInt(eq(mService.mConstants.KEYS_APP_STANDBY_QUOTAS[ACTIVE_INDEX]), anyInt());