Home
last modified time | relevance | path

Searched refs:SINGLE_CATEGORY (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/
DCountQuotaTrackerTest.java24 import static com.android.server.utils.quota.Category.SINGLE_CATEGORY;
108 private Category mCategoryToUse = SINGLE_CATEGORY;
230 mQuotaTracker.setCountLimit(SINGLE_CATEGORY, 7, 2 * HOUR_IN_MILLIS); in testDeleteObsoleteEventsLocked()
309 mQuotaTracker.setCountLimit(SINGLE_CATEGORY, 3, 24 * HOUR_IN_MILLIS); in testUpdateExecutionStatsLocked_NoTimer()
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()
513 mQuotaTracker.setCountLimit(SINGLE_CATEGORY, 25, HOUR_IN_MILLIS); in testisWithinQuota_OverCount()
520 mQuotaTracker.setCountLimit(SINGLE_CATEGORY, 25, HOUR_IN_MILLIS); in testisWithinQuota_EqualsCount()
[all …]
/frameworks/base/services/core/java/com/android/server/utils/quota/
DCategorizer.java29 Categorizer SINGLE_CATEGORIZER = (userId, packageName, tag) -> Category.SINGLE_CATEGORY;
DCategory.java35 public static final Category SINGLE_CATEGORY = new Category("SINGLE"); field in Category
DMultiRateLimiter.java132 this.mCategory = Category.SINGLE_CATEGORY; in Builder()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityClientController.java1035 mSetPipAspectRatioQuotaTracker.setCountLimit(Category.SINGLE_CATEGORY, in ensureSetPipAspectRatioQuotaTracker()