Home
last modified time | relevance | path

Searched refs:isWithinEJQuotaLocked (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DQuotaControllerTest.java2463 assertFalse(mQuotaController.isWithinEJQuotaLocked(js)); in testIsWithinEJQuotaLocked_NeverApp()
2472 assertTrue(mQuotaController.isWithinEJQuotaLocked(js)); in testIsWithinEJQuotaLocked_Charging()
2486 assertTrue(mQuotaController.isWithinEJQuotaLocked(js)); in testIsWithinEJQuotaLocked_UnderDuration()
2504 assertFalse(mQuotaController.isWithinEJQuotaLocked(js)); in testIsWithinEJQuotaLocked_OverDuration()
2567 assertFalse(mQuotaController.isWithinEJQuotaLocked(js)); in testIsWithinEJQuotaLocked_TempAllowlisting()
2580 assertTrue(mQuotaController.isWithinEJQuotaLocked(js)); in testIsWithinEJQuotaLocked_TempAllowlisting()
2587 assertTrue(mQuotaController.isWithinEJQuotaLocked(js)); in testIsWithinEJQuotaLocked_TempAllowlisting()
2592 assertFalse(mQuotaController.isWithinEJQuotaLocked(js)); in testIsWithinEJQuotaLocked_TempAllowlisting()
2610 assertFalse(mQuotaController.isWithinEJQuotaLocked(js)); in testIsWithinEJQuotaLocked_TempAllowlisting_Restricted()
2669 assertTrue(mQuotaController.isWithinEJQuotaLocked(js)); in testIsWithinEJQuotaLocked_TopApp()
[all …]
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DQuotaController.java596 jobStatus.isRequestedExpeditedJob() && isWithinEJQuotaLocked(jobStatus); in maybeStartTrackingJobLocked()
831 public boolean isWithinEJQuotaLocked(@NonNull final JobStatus jobStatus) { in isWithinEJQuotaLocked() method in QuotaController
1685 js.isRequestedExpeditedJob() && isWithinEJQuotaLocked(js);
1741 isWithinEJQuota = isWithinEJQuotaLocked(jobStatus);
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobSchedulerService.java1699 && !mQuotaController.isWithinEJQuotaLocked(jobStatus))) {