Searched refs:isWithinQuotaLocked (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | CountQuotaTracker.java | 211 return isWithinQuotaLocked(stats); in noteEvent() 317 boolean isWithinQuotaLocked(final int userId, @NonNull final String packageName, in isWithinQuotaLocked() method in CountQuotaTracker 326 return isWithinQuotaLocked(getExecutionStatsLocked(userId, packageName, tag)); in isWithinQuotaLocked() 363 private boolean isWithinQuotaLocked(@NonNull final ExecutionStats stats) { in isWithinQuotaLocked() method in CountQuotaTracker 586 final boolean oldInQuota = isWithinQuotaLocked( in maybeUpdateStatusForUptcLocked() 593 newInQuota = isWithinQuotaLocked( in maybeUpdateStatusForUptcLocked()
|
D | QuotaTracker.java | 191 return isWithinQuotaLocked(userId, packageName, tag); in isWithinQuota() 386 abstract boolean isWithinQuotaLocked(int userId, @NonNull String packageName, in isWithinQuotaLocked() method in QuotaTracker
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 652 assertTrue(mQuotaController.isWithinQuotaLocked(SOURCE_USER_ID, SOURCE_PACKAGE, in testUpdateExecutionStatsLocked_WithTimer() 674 mQuotaController.isWithinQuotaLocked(SOURCE_USER_ID, SOURCE_PACKAGE, RARE_INDEX)); in testUpdateExecutionStatsLocked_WithTimer() 694 mQuotaController.isWithinQuotaLocked(SOURCE_USER_ID, SOURCE_PACKAGE, RARE_INDEX)); in testUpdateExecutionStatsLocked_WithTimer() 1229 assertFalse(mQuotaController.isWithinQuotaLocked(0, "com.android.test.never", NEVER_INDEX)); in testIsWithinQuotaLocked_NeverApp() 1235 assertTrue(mQuotaController.isWithinQuotaLocked(0, "com.android.test", RARE_INDEX)); in testIsWithinQuotaLocked_Charging() 1247 assertTrue(mQuotaController.isWithinQuotaLocked(0, "com.android.test", WORKING_INDEX)); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount() 1260 assertFalse(mQuotaController.isWithinQuotaLocked(0, "com.android.test.spam", in testIsWithinQuotaLocked_UnderDuration_OverJobCount() 1267 assertFalse(mQuotaController.isWithinQuotaLocked(0, "com.android.test.frequent", in testIsWithinQuotaLocked_UnderDuration_OverJobCount() 1282 assertFalse(mQuotaController.isWithinQuotaLocked(0, "com.android.test", WORKING_INDEX)); in testIsWithinQuotaLocked_OverDuration_UnderJobCount() 1295 assertFalse(mQuotaController.isWithinQuotaLocked(0, "com.android.test", WORKING_INDEX)); in testIsWithinQuotaLocked_OverDuration_OverJobCount() [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | QuotaController.java | 529 final boolean isWithinQuota = isWithinQuotaLocked(jobStatus); in maybeStartTrackingJobLocked() 643 boolean isWithinQuotaLocked(@NonNull final JobStatus jobStatus) { in isWithinQuotaLocked() method in QuotaController 651 || isWithinQuotaLocked( in isWithinQuotaLocked() 656 boolean isWithinQuotaLocked(final int userId, @NonNull final String packageName, in isWithinQuotaLocked() method in QuotaController 1197 final boolean realInQuota = isWithinQuotaLocked(userId, packageName, realStandbyBucket); in maybeUpdateConstraintForPkgLocked() 1213 changed |= setConstraintSatisfied(js, isWithinQuotaLocked(js)); in maybeUpdateConstraintForPkgLocked() 1233 wasJobChanged |= setConstraintSatisfied(jobStatus, isWithinQuotaLocked(jobStatus)); in accept() 1237 if (isWithinQuotaLocked(userId, packageName, realStandbyBucket)) { in accept()
|
/frameworks/base/services/ |
D | art-profile | 32926 HSPLcom/android/server/utils/quota/CountQuotaTracker;->isWithinQuotaLocked(ILjava/lang/String;Ljava… 32927 HSPLcom/android/server/utils/quota/CountQuotaTracker;->isWithinQuotaLocked(Lcom/android/server/util…
|