Searched refs:STANDBY_BUCKET_FREQUENT (Results 1 – 13 of 13) sorted by relevance
28 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;151 assertTrue(aih.shouldInformListeners(PACKAGE_1, USER_ID, 5000, STANDBY_BUCKET_FREQUENT)); in testBuckets()204 aih.reportUsage(PACKAGE_2, USER_ID, STANDBY_BUCKET_FREQUENT, in testBucketExpiryTimes()208 STANDBY_BUCKET_FREQUENT, 2000 /* elapsedRealtime */)); in testBucketExpiryTimes()216 STANDBY_BUCKET_FREQUENT, 0L, in testBucketExpiryTimes()226 STANDBY_BUCKET_FREQUENT, 0L, in testBucketExpiryTimes()
42 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;843 assertTimeout(mController, FREQUENT_THRESHOLD + 1, STANDBY_BUCKET_FREQUENT); in testBuckets()960 STANDBY_BUCKET_FREQUENT); in testNotificationEvent_bucketPromotion_changePromotedBucket()965 waitAndAssertBucket(STANDBY_BUCKET_FREQUENT, PACKAGE_1); in testNotificationEvent_bucketPromotion_changePromotedBucket()1056 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_FREQUENT, in testOverrides()1060 waitAndAssertBucket(STANDBY_BUCKET_FREQUENT, PACKAGE_1); in testOverrides()1157 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_FREQUENT, in testTimeout()1165 waitAndAssertBucket(STANDBY_BUCKET_FREQUENT, PACKAGE_1); in testTimeout()1166 waitAndAssertBucket(STANDBY_BUCKET_FREQUENT, PACKAGE_1); in testTimeout()1197 waitAndAssertBucket(STANDBY_BUCKET_FREQUENT, PACKAGE_1); in testTimeout_InvalidThresholds()[all …]
149 public static final int STANDBY_BUCKET_FREQUENT = 30; field in UsageStatsManager352 STANDBY_BUCKET_FREQUENT,1415 case STANDBY_BUCKET_FREQUENT: in standbyBucketToString()
41 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;1028 testStandbyQuotasDeferralOnSet(STANDBY_BUCKET_FREQUENT);1033 testStandbyQuotasDeferralOnExpiration(STANDBY_BUCKET_FREQUENT);1038 testStandbyQuotasNoDeferral(STANDBY_BUCKET_FREQUENT);1149 final int frequentQuota = mService.getQuotaForBucketLocked(STANDBY_BUCKET_FREQUENT);1151 anyLong())).thenReturn(STANDBY_BUCKET_FREQUENT);3601 testTemporaryQuota_bumpedAfterDeferral(STANDBY_BUCKET_FREQUENT);3654 testTemporaryQuota_bumpedBeforeDeferral(STANDBY_BUCKET_FREQUENT);
49 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;219 STANDBY_BUCKET_FREQUENT,1526 return STANDBY_BUCKET_FREQUENT; in getAppMinBucket()
56 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;1743 case STANDBY_BUCKET_FREQUENT: in calcAppRestrictionLevel()1825 case STANDBY_BUCKET_FREQUENT: in standbyBucketToRestrictionLevel()
3117 return UsageStatsManager.STANDBY_BUCKET_FREQUENT;
52 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;238 STANDBY_BUCKET_FREQUENT,580 STANDBY_BUCKET_FREQUENT, STANDBY_BUCKET_RARE)) { in testTogglingStandbyBucket()
2314 } else if (bucket <= UsageStatsManager.STANDBY_BUCKET_FREQUENT) { in getQuotaForBucketLocked()
4634 } else if (bucket > UsageStatsManager.STANDBY_BUCKET_FREQUENT) {
346 return UsageStatsManager.STANDBY_BUCKET_FREQUENT; in bucketIndexToUsageStatsBucket()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
9538 field public static final int STANDBY_BUCKET_FREQUENT = 30; // 0x1e