Searched refs:WORKING_INDEX (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 34 import static com.android.server.job.JobSchedulerService.WORKING_INDEX; 343 case WORKING_INDEX: in bucketIndexToUsageStatsBucket() 981 mQuotaController.getExecutionStatsLocked(0, "com.android.test", WORKING_INDEX)); in testGetExecutionStatsLocked_Values() 1057 mQuotaController.getExecutionStatsLocked(0, "com.android.test", WORKING_INDEX)); in testGetExecutionStatsLocked_Values_BeginningOfTime() 1122 0, "com.android.test", WORKING_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions() 1136 0, "com.android.test", WORKING_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions() 1150 0, "com.android.test", WORKING_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions() 1165 0, "com.android.test", WORKING_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions() 1180 0, "com.android.test", WORKING_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions() 1195 0, "com.android.test", WORKING_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions() [all …]
|
D | JobStatusTest.java | 31 import static com.android.server.job.JobSchedulerService.WORKING_INDEX; 131 effectiveBucket.put(WORKING_INDEX, WORKING_INDEX); in assertEffectiveBucketForMediaExemption() 132 effectiveBucket.put(FREQUENT_INDEX, exemptionGranted ? WORKING_INDEX : FREQUENT_INDEX); in assertEffectiveBucketForMediaExemption() 133 effectiveBucket.put(RARE_INDEX, exemptionGranted ? WORKING_INDEX : RARE_INDEX); in assertEffectiveBucketForMediaExemption() 684 assertEquals(WORKING_INDEX, job.getEffectiveStandbyBucket()); in testGetEffectiveStandbyBucket_buggyApp() 687 job.setStandbyBucket(WORKING_INDEX); in testGetEffectiveStandbyBucket_buggyApp() 688 assertEquals(WORKING_INDEX, job.getEffectiveStandbyBucket()); in testGetEffectiveStandbyBucket_buggyApp()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | QuotaController.java | 29 import static com.android.server.job.JobSchedulerService.WORKING_INDEX; 817 return Math.max(mEJLimitsMs[WORKING_INDEX] / 2, in getMaxJobExecutionTimeMsLocked() 3671 if (mMaxBucketJobCounts[WORKING_INDEX] != newWorkingMaxJobCount) { in processConstantLocked() 3672 mMaxBucketJobCounts[WORKING_INDEX] = newWorkingMaxJobCount; in processConstantLocked() 3728 if (mMaxBucketSessionCounts[WORKING_INDEX] != newWorkingMaxSessionCount) { in processConstantLocked() 3729 mMaxBucketSessionCounts[WORKING_INDEX] = newWorkingMaxSessionCount; in processConstantLocked() 3931 if (mAllowedTimePerPeriodMs[WORKING_INDEX] != newAllowedTimeWorkingMs) { in updateExecutionPeriodConstantsLocked() 3932 mAllowedTimePerPeriodMs[WORKING_INDEX] = newAllowedTimeWorkingMs; in updateExecutionPeriodConstantsLocked() 3977 long newWorkingPeriodMs = Math.max(mAllowedTimePerPeriodMs[WORKING_INDEX], in updateExecutionPeriodConstantsLocked() 3979 if (mBucketPeriodsMs[WORKING_INDEX] != newWorkingPeriodMs) { in updateExecutionPeriodConstantsLocked() [all …]
|
D | JobStatus.java | 23 import static com.android.server.job.JobSchedulerService.WORKING_INDEX; 1247 bucketWithBackupExemption = Math.min(WORKING_INDEX, actualBucket); in getEffectiveStandbyBucket() 1255 if (isBuggy && bucketWithBackupExemption < WORKING_INDEX) { in getEffectiveStandbyBucket() 1263 return WORKING_INDEX; in getEffectiveStandbyBucket()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 92 import static com.android.server.alarm.AlarmManagerService.WORKING_INDEX; 722 mDeviceConfigKeys.add(mService.mConstants.KEYS_APP_STANDBY_QUOTAS[WORKING_INDEX]); 727 .getInt(eq(mService.mConstants.KEYS_APP_STANDBY_QUOTAS[WORKING_INDEX]), anyInt());
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | AlarmManagerService.java | 228 static final int WORKING_INDEX = 1; field in AlarmManagerService 1067 for (int i = WORKING_INDEX; i < KEYS_APP_STANDBY_QUOTAS.length; i++) { in updateStandbyQuotasLocked() 2313 index = WORKING_INDEX; in getQuotaForBucketLocked()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerService.java | 474 public static final int WORKING_INDEX = 1; 4639 return WORKING_INDEX;
|