Home
last modified time | relevance | path

Searched refs:ACTIVE_INDEX (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java26 import static com.android.server.job.JobSchedulerService.ACTIVE_INDEX;
254 case ACTIVE_INDEX: in bucketIndexToUsageStatsBucket()
649 mQuotaController.getExecutionStatsLocked(0, "com.android.test", ACTIVE_INDEX)); in testGetExecutionStatsLocked_Values()
722 mQuotaController.getExecutionStatsLocked(0, "com.android.test", ACTIVE_INDEX)); in testGetExecutionStatsLocked_Values_BeginningOfTime()
787 0, "com.android.test", ACTIVE_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions()
800 0, "com.android.test", ACTIVE_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions()
813 0, "com.android.test", ACTIVE_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions()
826 0, "com.android.test", ACTIVE_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions()
839 0, "com.android.test", ACTIVE_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions()
852 0, "com.android.test", ACTIVE_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DQuotaController.java23 import static com.android.server.job.JobSchedulerService.ACTIVE_INDEX;
748 return ACTIVE_INDEX; in getEffectiveStandbyBucket()
1280 } else if (realStandbyBucket != ACTIVE_INDEX in maybeUpdateConstraintForPkgLocked()
2291 if (mBucketPeriodsMs[ACTIVE_INDEX] != newActivePeriodMs) { in updateConstants()
2292 mBucketPeriodsMs[ACTIVE_INDEX] = newActivePeriodMs; in updateConstants()
2327 if (mMaxBucketJobCounts[ACTIVE_INDEX] != newActiveMaxJobCount) { in updateConstants()
2328 mMaxBucketJobCounts[ACTIVE_INDEX] = newActiveMaxJobCount; in updateConstants()
2355 if (mMaxBucketSessionCounts[ACTIVE_INDEX] != newActiveMaxSessionCount) { in updateConstants()
2356 mMaxBucketSessionCounts[ACTIVE_INDEX] = newActiveMaxSessionCount; in updateConstants()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java155 static final int ACTIVE_INDEX = 0; field in AlarmManagerService
531 APP_STANDBY_MIN_DELAYS[ACTIVE_INDEX] = mParser.getDurationMillis( in updateConstants()
532 KEYS_APP_STANDBY_DELAY[ACTIVE_INDEX], in updateConstants()
533 DEFAULT_APP_STANDBY_DELAYS[ACTIVE_INDEX]); in updateConstants()
553 APP_STANDBY_QUOTAS[ACTIVE_INDEX] = mParser.getInt( in updateConstants()
554 KEYS_APP_STANDBY_QUOTAS[ACTIVE_INDEX], in updateConstants()
555 DEFAULT_APP_STANDBY_QUOTAS[ACTIVE_INDEX]); in updateConstants()
1802 index = ACTIVE_INDEX; in getQuotaForBucketLocked()
1831 else index = ACTIVE_INDEX; in getMinDelayForBucketLocked()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAlarmManagerServiceTest.java36 import static com.android.server.AlarmManagerService.ACTIVE_INDEX;
341 constantsBuilder.append(mService.mConstants.KEYS_APP_STANDBY_QUOTAS[ACTIVE_INDEX]); in setQuotasEnabled()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java254 public static final int ACTIVE_INDEX = 0; field in JobSchedulerService
2626 else return ACTIVE_INDEX; in standbyBucketToBucketIndex()