Searched refs:WORKING_INDEX (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 30 import static com.android.server.job.JobSchedulerService.WORKING_INDEX; 256 case WORKING_INDEX: in bucketIndexToUsageStatsBucket() 664 mQuotaController.getExecutionStatsLocked(0, "com.android.test", WORKING_INDEX)); in testGetExecutionStatsLocked_Values() 730 mQuotaController.getExecutionStatsLocked(0, "com.android.test", WORKING_INDEX)); in testGetExecutionStatsLocked_Values_BeginningOfTime() 789 0, "com.android.test", WORKING_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions() 802 0, "com.android.test", WORKING_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions() 815 0, "com.android.test", WORKING_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions() 828 0, "com.android.test", WORKING_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions() 841 0, "com.android.test", WORKING_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions() 854 0, "com.android.test", WORKING_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | QuotaController.java | 27 import static com.android.server.job.JobSchedulerService.WORKING_INDEX; 2297 if (mBucketPeriodsMs[WORKING_INDEX] != newWorkingPeriodMs) { in updateConstants() 2298 mBucketPeriodsMs[WORKING_INDEX] = newWorkingPeriodMs; in updateConstants() 2332 if (mMaxBucketJobCounts[WORKING_INDEX] != newWorkingMaxJobCount) { in updateConstants() 2333 mMaxBucketJobCounts[WORKING_INDEX] = newWorkingMaxJobCount; in updateConstants() 2361 if (mMaxBucketSessionCounts[WORKING_INDEX] != newWorkingMaxSessionCount) { in updateConstants() 2362 mMaxBucketSessionCounts[WORKING_INDEX] = newWorkingMaxSessionCount; in updateConstants()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AlarmManagerServiceTest.java | 50 import static com.android.server.AlarmManagerService.WORKING_INDEX; 343 constantsBuilder.append(mService.mConstants.KEYS_APP_STANDBY_QUOTAS[WORKING_INDEX]); in setQuotasEnabled()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 156 static final int WORKING_INDEX = 1; field in AlarmManagerService 534 for (int i = WORKING_INDEX; i < KEYS_APP_STANDBY_DELAY.length; i++) { in updateConstants() 556 for (int i = WORKING_INDEX; i < KEYS_APP_STANDBY_QUOTAS.length; i++) { in updateConstants() 1804 index = WORKING_INDEX; in getQuotaForBucketLocked() 1830 else if (bucket > UsageStatsManager.STANDBY_BUCKET_ACTIVE) index = WORKING_INDEX; in getMinDelayForBucketLocked()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 255 public static final int WORKING_INDEX = 1; field in JobSchedulerService 687 STANDBY_BEATS[WORKING_INDEX] = mParser.getInt(KEY_STANDBY_WORKING_BEATS, in updateConstantsLocked() 2625 else if (bucket > UsageStatsManager.STANDBY_BUCKET_ACTIVE) return WORKING_INDEX; in standbyBucketToBucketIndex()
|