Home
last modified time | relevance | path

Searched refs:FREQUENT_INDEX (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java30 import static com.android.server.job.JobSchedulerService.FREQUENT_INDEX;
345 case FREQUENT_INDEX: in bucketIndexToUsageStatsBucket()
407 js.setStandbyBucket(FREQUENT_INDEX); in createJobStatus()
999 0, "com.android.test", FREQUENT_INDEX)); in testGetExecutionStatsLocked_Values()
1068 0, "com.android.test", FREQUENT_INDEX)); in testGetExecutionStatsLocked_Values_BeginningOfTime()
1124 0, "com.android.test", FREQUENT_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions()
1138 0, "com.android.test", FREQUENT_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions()
1152 0, "com.android.test", FREQUENT_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions()
1167 0, "com.android.test", FREQUENT_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions()
1182 0, "com.android.test", FREQUENT_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions()
[all …]
DBackgroundJobsControllerTest.java23 import static com.android.server.job.JobSchedulerService.FREQUENT_INDEX;
208 js.setStandbyBucket(FREQUENT_INDEX); in createJobStatus()
DBatteryControllerTest.java23 import static com.android.server.job.JobSchedulerService.FREQUENT_INDEX;
188 js.setStandbyBucket(FREQUENT_INDEX); in createJobStatus()
DJobStatusTest.java27 import static com.android.server.job.JobSchedulerService.FREQUENT_INDEX;
132 effectiveBucket.put(FREQUENT_INDEX, exemptionGranted ? WORKING_INDEX : FREQUENT_INDEX); in assertEffectiveBucketForMediaExemption()
690 job.setStandbyBucket(FREQUENT_INDEX); in testGetEffectiveStandbyBucket_buggyApp()
691 assertEquals(FREQUENT_INDEX, job.getEffectiveStandbyBucket()); in testGetEffectiveStandbyBucket_buggyApp()
DPrefetchControllerTest.java27 import static com.android.server.job.JobSchedulerService.FREQUENT_INDEX;
196 js.setStandbyBucket(FREQUENT_INDEX); in createJobStatus()
DConnectivityControllerTest.java41 import static com.android.server.job.JobSchedulerService.FREQUENT_INDEX;
1549 networked.setStandbyBucket(FREQUENT_INDEX); in testRestrictedJobTracking()
1550 unnetworked.setStandbyBucket(FREQUENT_INDEX); in testRestrictedJobTracking()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java25 import static com.android.server.job.JobSchedulerService.FREQUENT_INDEX;
3680 if (mMaxBucketJobCounts[FREQUENT_INDEX] != newFrequentMaxJobCount) { in processConstantLocked()
3681 mMaxBucketJobCounts[FREQUENT_INDEX] = newFrequentMaxJobCount; in processConstantLocked()
3738 if (mMaxBucketSessionCounts[FREQUENT_INDEX] != newFrequentMaxSessionCount) { in processConstantLocked()
3739 mMaxBucketSessionCounts[FREQUENT_INDEX] = newFrequentMaxSessionCount; in processConstantLocked()
3938 if (mAllowedTimePerPeriodMs[FREQUENT_INDEX] != newAllowedTimeFrequentMs) { in updateExecutionPeriodConstantsLocked()
3939 mAllowedTimePerPeriodMs[FREQUENT_INDEX] = newAllowedTimeFrequentMs; in updateExecutionPeriodConstantsLocked()
3983 long newFrequentPeriodMs = Math.max(mAllowedTimePerPeriodMs[FREQUENT_INDEX], in updateExecutionPeriodConstantsLocked()
3985 if (mBucketPeriodsMs[FREQUENT_INDEX] != newFrequentPeriodMs) { in updateExecutionPeriodConstantsLocked()
3986 mBucketPeriodsMs[FREQUENT_INDEX] = newFrequentPeriodMs; in updateExecutionPeriodConstantsLocked()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java87 import static com.android.server.alarm.AlarmManagerService.FREQUENT_INDEX;
723 mDeviceConfigKeys.add(mService.mConstants.KEYS_APP_STANDBY_QUOTAS[FREQUENT_INDEX]);
729 .getInt(eq(mService.mConstants.KEYS_APP_STANDBY_QUOTAS[FREQUENT_INDEX]), anyInt());
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java229 static final int FREQUENT_INDEX = 2; field in AlarmManagerService
2315 index = FREQUENT_INDEX; in getQuotaForBucketLocked()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java475 public static final int FREQUENT_INDEX = 2;
4637 return FREQUENT_INDEX;