Home
last modified time | relevance | path

Searched refs:setStandbyBucket (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java356 private void setStandbyBucket(int bucketIndex) { in setStandbyBucket() method in QuotaControllerTest
362 private void setStandbyBucket(int bucketIndex, JobStatus... jobs) { in setStandbyBucket() method in QuotaControllerTest
363 setStandbyBucket(bucketIndex); in setStandbyBucket()
365 job.setStandbyBucket(bucketIndex); in setStandbyBucket()
407 js.setStandbyBucket(FREQUENT_INDEX); in createJobStatus()
864 setStandbyBucket(RARE_INDEX, jobStatus); // 24 hour window in testUpdateExecutionStatsLocked_WithTimer()
909 setStandbyBucket(RARE_INDEX, jobStatus); // 24 hour window in testUpdateExecutionStatsLocked_WithTimer()
1359 setStandbyBucket(RARE_INDEX, job); in testGetMaxJobExecutionTimeLocked_Regular()
1360 setStandbyBucket(RARE_INDEX, jobDefIWF); in testGetMaxJobExecutionTimeLocked_Regular()
1361 setStandbyBucket(RARE_INDEX, jobHigh); in testGetMaxJobExecutionTimeLocked_Regular()
[all …]
DJobStatusTest.java137 jobStatus.setStandbyBucket(effectiveBucket.keyAt(i)); in assertEffectiveBucketForMediaExemption()
679 job.setStandbyBucket(EXEMPTED_INDEX); in testGetEffectiveStandbyBucket_buggyApp()
683 job.setStandbyBucket(ACTIVE_INDEX); in testGetEffectiveStandbyBucket_buggyApp()
687 job.setStandbyBucket(WORKING_INDEX); in testGetEffectiveStandbyBucket_buggyApp()
690 job.setStandbyBucket(FREQUENT_INDEX); in testGetEffectiveStandbyBucket_buggyApp()
693 job.setStandbyBucket(RARE_INDEX); in testGetEffectiveStandbyBucket_buggyApp()
696 job.setStandbyBucket(RESTRICTED_INDEX); in testGetEffectiveStandbyBucket_buggyApp()
699 job.setStandbyBucket(NEVER_INDEX); in testGetEffectiveStandbyBucket_buggyApp()
DConnectivityControllerTest.java1549 networked.setStandbyBucket(FREQUENT_INDEX); in testRestrictedJobTracking()
1550 unnetworked.setStandbyBucket(FREQUENT_INDEX); in testRestrictedJobTracking()
1565 networked.setStandbyBucket(RESTRICTED_INDEX); in testRestrictedJobTracking()
1566 unnetworked.setStandbyBucket(RESTRICTED_INDEX); in testRestrictedJobTracking()
1574 networked.setStandbyBucket(RARE_INDEX); in testRestrictedJobTracking()
1575 unnetworked.setStandbyBucket(RARE_INDEX); in testRestrictedJobTracking()
DBackgroundJobsControllerTest.java208 js.setStandbyBucket(FREQUENT_INDEX); in createJobStatus()
DFlexibilityControllerTest.java283 js.setStandbyBucket(ACTIVE_INDEX); in createJobStatus()
1124 jsHigh.setStandbyBucket(EXEMPTED_INDEX); in testAllowlistedAppBypass()
1125 jsDefault.setStandbyBucket(EXEMPTED_INDEX); in testAllowlistedAppBypass()
1126 jsLow.setStandbyBucket(EXEMPTED_INDEX); in testAllowlistedAppBypass()
1127 jsMin.setStandbyBucket(EXEMPTED_INDEX); in testAllowlistedAppBypass()
DBatteryControllerTest.java188 js.setStandbyBucket(FREQUENT_INDEX); in createJobStatus()
DPrefetchControllerTest.java196 js.setStandbyBucket(FREQUENT_INDEX); in createJobStatus()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobSchedulerServiceTest.java1893 job.setStandbyBucket(ACTIVE_INDEX); in testConnectivityJobBatching()
1914 job.setStandbyBucket(ACTIVE_INDEX); in testConnectivityJobBatching()
1938 job.setStandbyBucket(ACTIVE_INDEX); in testConnectivityJobBatching()
1965 job.setStandbyBucket(ACTIVE_INDEX); in testConnectivityJobBatching()
1990 job.setStandbyBucket(ACTIVE_INDEX); in testConnectivityJobBatching()
2013 job.setStandbyBucket(ACTIVE_INDEX); in testConnectivityJobBatching()
2044 job.setStandbyBucket(ACTIVE_INDEX); in testActiveJobBatching_activeBatchingEnabled()
2059 job.setStandbyBucket(ACTIVE_INDEX); in testActiveJobBatching_activeBatchingEnabled()
2076 expeditedJob.setStandbyBucket(RARE_INDEX); in testActiveJobBatching_activeBatchingEnabled()
2079 job.setStandbyBucket(ACTIVE_INDEX); in testActiveJobBatching_activeBatchingEnabled()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java1273 public void setStandbyBucket(int newBucket) { in setStandbyBucket() method in JobStatus
DQuotaController.java2570 js.setStandbyBucket(bucketIndex);
/frameworks/base/services/
Dart-wear-profile13345 PLcom/android/server/job/controllers/JobStatus;->setStandbyBucket(I)V