Searched refs:STANDBY_BUCKET_RARE (Results 1 – 13 of 13) sorted by relevance
44 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RARE;665 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_RARE, in testIsAppIdle_Charging()667 waitAndAssertBucket(STANDBY_BUCKET_RARE, PACKAGE_1); in testIsAppIdle_Charging()676 waitAndAssertBucket(STANDBY_BUCKET_RARE, PACKAGE_1); in testIsAppIdle_Charging()685 waitAndAssertBucket(STANDBY_BUCKET_RARE, PACKAGE_1); in testIsAppIdle_Charging()698 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_RARE, in testIsAppIdle_Enabled()700 waitAndAssertBucket(STANDBY_BUCKET_RARE, PACKAGE_1); in testIsAppIdle_Enabled()715 waitAndAssertBucket(STANDBY_BUCKET_RARE, PACKAGE_1); in testIsAppIdle_Enabled()846 assertTimeout(mController, RARE_THRESHOLD + 1, STANDBY_BUCKET_RARE); in testBuckets()913 waitAndAssertNotBucket(STANDBY_BUCKET_RARE, PACKAGE_1); in testScreenTimeAndBuckets()[all …]
29 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RARE;114 aih.setAppStandbyBucket(PACKAGE_1, USER_ID, 3000, STANDBY_BUCKET_RARE, in testBuckets()117 assertEquals(aih.getAppStandbyBucket(PACKAGE_1, USER_ID, 3000), STANDBY_BUCKET_RARE); in testBuckets() local137 assertEquals(aih.getAppStandbyBucket(PACKAGE_1, USER_ID, 5000), STANDBY_BUCKET_RARE); in testBuckets() local148 assertTrue(aih.shouldInformListeners(PACKAGE_1, USER_ID, 5000, STANDBY_BUCKET_RARE)); in testBuckets()150 assertFalse(aih.shouldInformListeners(PACKAGE_1, USER_ID, 5000, STANDBY_BUCKET_RARE)); in testBuckets()217 STANDBY_BUCKET_RARE, 0L, in testBucketExpiryTimes()227 STANDBY_BUCKET_RARE, 0L, in testBucketExpiryTimes()
158 public static final int STANDBY_BUCKET_RARE = 40; field in UsageStatsManager353 STANDBY_BUCKET_RARE,1417 case STANDBY_BUCKET_RARE: in standbyBucketToString()
54 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RARE;239 STANDBY_BUCKET_RARE,580 STANDBY_BUCKET_FREQUENT, STANDBY_BUCKET_RARE)) { in testTogglingStandbyBucket()812 eq(STANDBY_BUCKET_RARE), in testBgCurrentDrainMonitor()905 eq(STANDBY_BUCKET_RARE), in testBgCurrentDrainMonitor()943 eq(STANDBY_BUCKET_RARE), in testBgCurrentDrainMonitor()981 eq(STANDBY_BUCKET_RARE), in testBgCurrentDrainMonitor()1020 eq(STANDBY_BUCKET_RARE), in testBgCurrentDrainMonitor()1052 doReturn(STANDBY_BUCKET_RARE) in testBgCurrentDrainMonitor()1113 eq(STANDBY_BUCKET_RARE), in testBgCurrentDrainMonitor()[all …]
51 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RARE;220 STANDBY_BUCKET_RARE,1010 && app.lastPredictedBucket <= STANDBY_BUCKET_RARE) { in checkAndUpdateStandbyState()1714 setAppStandbyBucket(pkgName, userId, STANDBY_BUCKET_RARE, reason, nowElapsed, false); in restoreAppToRare()1838 if (predicted && newBucket >= STANDBY_BUCKET_RARE) { in setAppStandbyBucket()1911 } else if (newBucket == STANDBY_BUCKET_RARE in setAppStandbyBucket()2090 final boolean idle = bucket >= STANDBY_BUCKET_RARE; in informListeners()2216 newBucket = STANDBY_BUCKET_RARE; in maybeUnrestrictApp()
29 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RARE;92 static final int IDLE_BUCKET_CUTOFF = STANDBY_BUCKET_RARE;
42 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RARE;1043 testStandbyQuotasDeferralOnSet(STANDBY_BUCKET_RARE);1048 testStandbyQuotasDeferralOnExpiration(STANDBY_BUCKET_RARE);1053 testStandbyQuotasNoDeferral(STANDBY_BUCKET_RARE);1139 assertAndHandleBucketChanged(STANDBY_BUCKET_RARE);1140 final int rareQuota = mService.getQuotaForBucketLocked(STANDBY_BUCKET_RARE);3606 testTemporaryQuota_bumpedAfterDeferral(STANDBY_BUCKET_RARE);3659 testTemporaryQuota_bumpedBeforeDeferral(STANDBY_BUCKET_RARE);
58 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_RARE;1744 case STANDBY_BUCKET_RARE: in calcAppRestrictionLevel()1826 case STANDBY_BUCKET_RARE: in standbyBucketToRestrictionLevel()2286 ? STANDBY_BUCKET_RESTRICTED : STANDBY_BUCKET_RARE); in handleBackgroundRestrictionChanged()
3119 return UsageStatsManager.STANDBY_BUCKET_RARE;
4632 } else if (bucket > UsageStatsManager.STANDBY_BUCKET_RARE) {
348 return UsageStatsManager.STANDBY_BUCKET_RARE; in bucketIndexToUsageStatsBucket()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
9539 field public static final int STANDBY_BUCKET_RARE = 40; // 0x28