Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java27 import static com.android.server.job.JobSchedulerService.FREQUENT_INDEX;
260 case FREQUENT_INDEX: in bucketIndexToUsageStatsBucket()
303 js.setStandbyBucket(FREQUENT_INDEX); in createJobStatus()
756 mQuotaController.getExecutionStatsLocked(0, "com.android.test", FREQUENT_INDEX)); in testGetExecutionStatsLocked_Values()
815 mQuotaController.getExecutionStatsLocked(0, "com.android.test", FREQUENT_INDEX)); in testGetExecutionStatsLocked_Values_BeginningOfTime()
868 0, "com.android.test", FREQUENT_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions()
881 0, "com.android.test", FREQUENT_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions()
894 0, "com.android.test", FREQUENT_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions()
907 0, "com.android.test", FREQUENT_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions()
920 0, "com.android.test", FREQUENT_INDEX).sessionCountInWindow); in testGetExecutionStatsLocked_CoalescingSessions()
[all …]
DJobStatusTest.java23 import static com.android.server.job.JobSchedulerService.FREQUENT_INDEX;
119 effectiveBucket.put(FREQUENT_INDEX, exemptionGranted ? WORKING_INDEX : FREQUENT_INDEX); in assertEffectiveBucketForMediaExemption()
DConnectivityControllerTest.java31 import static com.android.server.job.JobSchedulerService.FREQUENT_INDEX;
581 networked.setStandbyBucket(FREQUENT_INDEX); in testRestrictedJobTracking()
582 unnetworked.setStandbyBucket(FREQUENT_INDEX); in testRestrictedJobTracking()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java24 import static com.android.server.job.JobSchedulerService.FREQUENT_INDEX;
2379 if (mBucketPeriodsMs[FREQUENT_INDEX] != newFrequentPeriodMs) { in updateConstants()
2380 mBucketPeriodsMs[FREQUENT_INDEX] = newFrequentPeriodMs; in updateConstants()
2420 if (mMaxBucketJobCounts[FREQUENT_INDEX] != newFrequentMaxJobCount) { in updateConstants()
2421 mMaxBucketJobCounts[FREQUENT_INDEX] = newFrequentMaxJobCount; in updateConstants()
2456 if (mMaxBucketSessionCounts[FREQUENT_INDEX] != newFrequentMaxSessionCount) { in updateConstants()
2457 mMaxBucketSessionCounts[FREQUENT_INDEX] = newFrequentMaxSessionCount; in updateConstants()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java322 public static final int FREQUENT_INDEX = 2;
2524 return FREQUENT_INDEX;
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java164 static final int FREQUENT_INDEX = 2; field in AlarmManagerService
1849 index = FREQUENT_INDEX; in getQuotaForBucketLocked()