Searched refs:STANDBY_BUCKET_FREQUENT (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppStandbyControllerTests.java | 32 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 …]
|
D | AppIdleHistoryTests.java | 23 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/ |
D | AlarmManagerServiceTest.java | 23 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/ |
D | UsageStatsManager.java | 139 public static final int STANDBY_BUCKET_FREQUENT = 30; field in UsageStatsManager 211 STANDBY_BUCKET_FREQUENT,
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppStandbyController.java | 43 import static android.app.usage.UsageStatsManager.STANDBY_BUCKET_FREQUENT; 152 STANDBY_BUCKET_FREQUENT,
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 1812 } 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/ |
D | ActivityManagerShellCommand.java | 2288 return UsageStatsManager.STANDBY_BUCKET_FREQUENT;
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 2623 else if (bucket > UsageStatsManager.STANDBY_BUCKET_FREQUENT) return RARE_INDEX; in standbyBucketToBucketIndex()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 259 return UsageStatsManager.STANDBY_BUCKET_FREQUENT; in bucketIndexToUsageStatsBucket()
|
/frameworks/base/api/ |
D | current.txt | 7796 field public static final int STANDBY_BUCKET_FREQUENT = 30; // 0x1e
|