Home
last modified time | relevance | path

Searched refs:STANDBY_BUCKET_FREQUENT (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java32 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;
550 assertTimeout(mController, FREQUENT_THRESHOLD + 1, STANDBY_BUCKET_FREQUENT); in testBuckets()
704 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_FREQUENT, in testOverrides()
708 assertEquals(STANDBY_BUCKET_FREQUENT, getStandbyBucket(mController, PACKAGE_1)); in testOverrides()
731 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_FREQUENT, in testTimeout()
739 assertBucket(STANDBY_BUCKET_FREQUENT); in testTimeout()
759 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_FREQUENT, in testCascadingTimeouts()
763 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_FREQUENT, in testCascadingTimeouts()
765 assertBucket(STANDBY_BUCKET_FREQUENT); in testCascadingTimeouts()
783 mController.setAppStandbyBucket(PACKAGE_1, USER_ID, STANDBY_BUCKET_FREQUENT, in testOverlappingTimeouts()
[all …]
DAppIdleHistoryTests.java23 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;
125 assertTrue(aih.shouldInformListeners(PACKAGE_1, USER_ID, 5000, STANDBY_BUCKET_FREQUENT)); in testBuckets()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAlarmManagerServiceTest.java23 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;
498 anyLong())).thenReturn(STANDBY_BUCKET_FREQUENT); in testStandbyBucketDelay_frequent()
506 + mService.getMinDelayForBucketLocked(STANDBY_BUCKET_FREQUENT); in testStandbyBucketDelay_frequent()
626 testQuotasDeferralOnSet(STANDBY_BUCKET_FREQUENT); in testFrequentQuota_deferredOnSet()
632 testQuotasDeferralOnExpiration(STANDBY_BUCKET_FREQUENT); in testFrequentQuota_deferredOnExpiration()
638 testQuotasNoDeferral(STANDBY_BUCKET_FREQUENT); in testFrequentQuota_notDeferred()
703 final int frequentQuota = mService.getQuotaForBucketLocked(STANDBY_BUCKET_FREQUENT); in testQuotaUpgrade()
705 anyLong())).thenReturn(STANDBY_BUCKET_FREQUENT); in testQuotaUpgrade()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java139 public static final int STANDBY_BUCKET_FREQUENT = 30; field in UsageStatsManager
211 STANDBY_BUCKET_FREQUENT,
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java43 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT;
152 STANDBY_BUCKET_FREQUENT,
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java1812 } else if (bucket <= UsageStatsManager.STANDBY_BUCKET_FREQUENT) { in getQuotaForBucketLocked()
1835 else if (bucket > UsageStatsManager.STANDBY_BUCKET_FREQUENT) index = RARE_INDEX; in getMinDelayForBucketLocked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java2288 return UsageStatsManager.STANDBY_BUCKET_FREQUENT;
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java2623 else if (bucket > UsageStatsManager.STANDBY_BUCKET_FREQUENT) return RARE_INDEX; in standbyBucketToBucketIndex()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java259 return UsageStatsManager.STANDBY_BUCKET_FREQUENT; in bucketIndexToUsageStatsBucket()
/frameworks/base/api/
Dcurrent.txt7796 field public static final int STANDBY_BUCKET_FREQUENT = 30; // 0x1e