Searched refs:isWithinQuotaLocked (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 1121 assertFalse(mQuotaController.isWithinQuotaLocked(0, "com.android.test.never", NEVER_INDEX)); in testIsWithinQuotaLocked_NeverApp() 1127 assertTrue(mQuotaController.isWithinQuotaLocked(0, "com.android.test", RARE_INDEX)); in testIsWithinQuotaLocked_Charging() 1139 assertTrue(mQuotaController.isWithinQuotaLocked(0, "com.android.test", WORKING_INDEX)); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount() 1152 assertFalse(mQuotaController.isWithinQuotaLocked(0, "com.android.test.spam", in testIsWithinQuotaLocked_UnderDuration_OverJobCount() 1159 assertFalse(mQuotaController.isWithinQuotaLocked(0, "com.android.test.frequent", in testIsWithinQuotaLocked_UnderDuration_OverJobCount() 1174 assertFalse(mQuotaController.isWithinQuotaLocked(0, "com.android.test", WORKING_INDEX)); in testIsWithinQuotaLocked_OverDuration_UnderJobCount() 1187 assertFalse(mQuotaController.isWithinQuotaLocked(0, "com.android.test", WORKING_INDEX)); in testIsWithinQuotaLocked_OverDuration_OverJobCount() 1223 assertTrue(mQuotaController.isWithinQuotaLocked(jobStatus)); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_BelowFGS() 1285 assertTrue(mQuotaController.isWithinQuotaLocked(unaffected)); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_SeparateApps() 1286 assertFalse(mQuotaController.isWithinQuotaLocked(fgStateChanger)); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount_MultiStateChange_SeparateApps() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | QuotaController.java | 619 final boolean isWithinQuota = isWithinQuotaLocked(jobStatus); in maybeStartTrackingJobLocked() 754 boolean isWithinQuotaLocked(@NonNull final JobStatus jobStatus) { in isWithinQuotaLocked() method in QuotaController 762 || isWithinQuotaLocked( in isWithinQuotaLocked() 767 boolean isWithinQuotaLocked(final int userId, @NonNull final String packageName, in isWithinQuotaLocked() method in QuotaController 1272 final boolean realInQuota = isWithinQuotaLocked(userId, packageName, realStandbyBucket); in maybeUpdateConstraintForPkgLocked() 1288 changed |= setConstraintSatisfied(js, isWithinQuotaLocked(js)); in maybeUpdateConstraintForPkgLocked() 1313 wasJobChanged |= setConstraintSatisfied(jobStatus, isWithinQuotaLocked(jobStatus)); in accept() 1317 if (isWithinQuotaLocked(userId, packageName, realStandbyBucket)) { in accept()
|
/frameworks/base/services/ |
D | art-profile | 7784 HSPLcom/android/server/job/controllers/QuotaController;->isWithinQuotaLocked(ILjava/lang/String;I)Z 7785 HSPLcom/android/server/job/controllers/QuotaController;->isWithinQuotaLocked(Lcom/android/server/jo…
|