Home
last modified time | relevance | path

Searched refs:setCountLimit (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/
DCountQuotaTrackerTest.java230 mQuotaTracker.setCountLimit(SINGLE_CATEGORY, 7, 2 * HOUR_IN_MILLIS); in testDeleteObsoleteEventsLocked()
309 mQuotaTracker.setCountLimit(SINGLE_CATEGORY, 3, 24 * HOUR_IN_MILLIS); in testUpdateExecutionStatsLocked_NoTimer()
409 mQuotaTracker.setCountLimit(RARE_BUCKET_CATEGORY, 3, 24 * HOUR_IN_MILLIS); in testGetExecutionStatsLocked_Values()
410 mQuotaTracker.setCountLimit(FREQUENT_BUCKET_CATEGORY, 4, 8 * HOUR_IN_MILLIS); in testGetExecutionStatsLocked_Values()
411 mQuotaTracker.setCountLimit(WORKING_SET_BUCKET_CATEGORY, 9, 2 * HOUR_IN_MILLIS); in testGetExecutionStatsLocked_Values()
412 mQuotaTracker.setCountLimit(ACTIVE_BUCKET_CATEGORY, 10, 10 * MINUTE_IN_MILLIS); in testGetExecutionStatsLocked_Values()
475 mQuotaTracker.setCountLimit(SINGLE_CATEGORY, 10, 2 * HOUR_IN_MILLIS); in testGetExecutionStatsLocked_Values_BeginningOfTime()
489 mQuotaTracker.setCountLimit(SINGLE_CATEGORY, 0, 2 * HOUR_IN_MILLIS); in testisWithinQuota_GlobalQuotaFree()
497 mQuotaTracker.setCountLimit(SINGLE_CATEGORY, 0, 2 * HOUR_IN_MILLIS); in testisWithinQuota_UptcQuotaFree()
506 mQuotaTracker.setCountLimit(SINGLE_CATEGORY, 10, 2 * HOUR_IN_MILLIS); in testisWithinQuota_UnderCount()
[all …]
/frameworks/base/services/core/java/com/android/server/utils/quota/
DMultiRateLimiter.java153 countQuotaTracker.setCountLimit(mCategory, limit, windowSize.toMillis()); in addRateLimit()
DCountQuotaTracker.java224 public void setCountLimit(@NonNull Category category, int limit, long timeWindowMs) { in setCountLimit() method in CountQuotaTracker
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java640 mQuotaTracker.setCountLimit(QUOTA_TRACKER_CATEGORY_SCHEDULE_PERSISTED,
643 mQuotaTracker.setCountLimit(QUOTA_TRACKER_CATEGORY_TIMEOUT_UIJ,
646 mQuotaTracker.setCountLimit(QUOTA_TRACKER_CATEGORY_TIMEOUT_EJ,
649 mQuotaTracker.setCountLimit(QUOTA_TRACKER_CATEGORY_TIMEOUT_REG,
652 mQuotaTracker.setCountLimit(QUOTA_TRACKER_CATEGORY_TIMEOUT_TOTAL,
655 mQuotaTracker.setCountLimit(QUOTA_TRACKER_CATEGORY_ANR,
2638 mQuotaTracker.setCountLimit(QUOTA_TRACKER_CATEGORY_SCHEDULE_LOGGED, 1, 60_000);
2639 mQuotaTracker.setCountLimit(QUOTA_TRACKER_CATEGORY_DISABLED, Integer.MAX_VALUE, 60_000);
/frameworks/base/services/core/java/com/android/server/wm/
DActivityClientController.java1035 mSetPipAspectRatioQuotaTracker.setCountLimit(Category.SINGLE_CATEGORY, in ensureSetPipAspectRatioQuotaTracker()
/frameworks/base/services/
Dart-wear-profile24607 HPLcom/android/server/utils/quota/CountQuotaTracker;->setCountLimit(Lcom/android/server/utils/quota…