Searched refs:isWithinQuotaLocked (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | MultiRateLimiter.java | 73 return isWithinQuotaLocked(userId, packageName, tag); in isWithinQuota() 92 private boolean isWithinQuotaLocked(int userId, @NonNull String packageName, in isWithinQuotaLocked() method in MultiRateLimiter
|
D | CountQuotaTracker.java | 210 return isWithinQuotaLocked(stats); in noteEvent() 315 boolean isWithinQuotaLocked(final int userId, @NonNull final String packageName, in isWithinQuotaLocked() method in CountQuotaTracker 324 return isWithinQuotaLocked(getExecutionStatsLocked(userId, packageName, tag)); in isWithinQuotaLocked() 361 private boolean isWithinQuotaLocked(@NonNull final ExecutionStats stats) { in isWithinQuotaLocked() method in CountQuotaTracker 584 final boolean oldInQuota = isWithinQuotaLocked( in maybeUpdateStatusForUptcLocked() 591 newInQuota = isWithinQuotaLocked( in maybeUpdateStatusForUptcLocked()
|
D | QuotaTracker.java | 196 return isWithinQuotaLocked(userId, packageName, tag); in isWithinQuota() 390 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 | 879 assertTrue(mQuotaController.isWithinQuotaLocked( in testUpdateExecutionStatsLocked_WithTimer() 903 mQuotaController.isWithinQuotaLocked( in testUpdateExecutionStatsLocked_WithTimer() 928 mQuotaController.isWithinQuotaLocked( in testUpdateExecutionStatsLocked_WithTimer() 1963 mQuotaController.isWithinQuotaLocked(0, "com.android.test.never", NEVER_INDEX)); in testIsWithinQuotaLocked_NeverApp() 1971 assertTrue(mQuotaController.isWithinQuotaLocked(0, "com.android.test", RARE_INDEX)); in testIsWithinQuotaLocked_Charging() 1985 assertTrue(mQuotaController.isWithinQuotaLocked(0, "com.android.test", WORKING_INDEX)); in testIsWithinQuotaLocked_UnderDuration_UnderJobCount() 2001 assertFalse(mQuotaController.isWithinQuotaLocked( in testIsWithinQuotaLocked_UnderDuration_OverJobCountRateLimitWindow() 2011 assertFalse(mQuotaController.isWithinQuotaLocked( in testIsWithinQuotaLocked_UnderDuration_OverJobCountRateLimitWindow() 2028 assertFalse(mQuotaController.isWithinQuotaLocked(0, "com.android.test", WORKING_INDEX)); in testIsWithinQuotaLocked_OverDuration_UnderJobCount() 2044 assertFalse(mQuotaController.isWithinQuotaLocked(0, "com.android.test", WORKING_INDEX)); in testIsWithinQuotaLocked_OverDuration_OverJobCountRateLimitWindow() [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | QuotaController.java | 598 final boolean isWithinQuota = isWithinQuotaLocked(jobStatus); in maybeStartTrackingJobLocked() 885 boolean isWithinQuotaLocked(@NonNull final JobStatus jobStatus) { 895 || isWithinQuotaLocked( 939 boolean isWithinQuotaLocked(final int userId, @NonNull final String packageName, 1710 final boolean realInQuota = isWithinQuotaLocked(userId, packageName, realStandbyBucket); in maybeUpdateConstraintForPkgLocked() 1734 isWithinQuotaLocked(js), isWithinEJQuota)) { in maybeUpdateConstraintForPkgLocked() 1777 isWithinQuotaLocked(jobStatus), isWithinEJQuota)) { in accept() 1788 && isWithinQuotaLocked(userId, packageName, realStandbyBucket)) { in accept()
|
/frameworks/base/services/ |
D | art-profile | 1892 HSPLcom/android/server/job/controllers/QuotaController;->isWithinQuotaLocked(ILjava/lang/String;I)Z… 1893 HSPLcom/android/server/job/controllers/QuotaController;->isWithinQuotaLocked(Lcom/android/server/jo… 3379 HSPLcom/android/server/utils/quota/CountQuotaTracker;->isWithinQuotaLocked(ILjava/lang/String;Ljava…
|
D | art-wear-profile | 13485 HPLcom/android/server/job/controllers/QuotaController;->isWithinQuotaLocked(ILjava/lang/String;I)Z 13486 HPLcom/android/server/job/controllers/QuotaController;->isWithinQuotaLocked(Lcom/android/server/job… 24601 HPLcom/android/server/utils/quota/CountQuotaTracker;->isWithinQuotaLocked(ILjava/lang/String;Ljava/… 24602 HPLcom/android/server/utils/quota/CountQuotaTracker;->isWithinQuotaLocked(Lcom/android/server/utils…
|