Searched refs:setAppStandbyBucket (Results 1 – 3 of 3) sorted by relevance
199 setAppStandbyBucket("active"); in testBucketDelay()205 setAppStandbyBucket(APP_BUCKET_TAGS[bucketIndex]); in testBucketDelay()222 setAppStandbyBucket("active"); in testActiveDelay()253 setAppStandbyBucket("active"); in testNeverDelay()259 setAppStandbyBucket("never"); in testNeverDelay()269 setAppStandbyBucket("active"); in testBucketUpgradeToSmallerDelay()275 setAppStandbyBucket(APP_BUCKET_TAGS[FREQUENT_INDEX]); in testBucketUpgradeToSmallerDelay()282 setAppStandbyBucket(APP_BUCKET_TAGS[WORKING_INDEX]); in testBucketUpgradeToSmallerDelay()297 setAppStandbyBucket("active"); in testBucketUpgradeToNoDelay()303 setAppStandbyBucket(APP_BUCKET_TAGS[RARE_INDEX]); in testBucketUpgradeToNoDelay()[all …]
93 setAppStandbyBucket("active"); in setUp()173 private void setAppStandbyBucket(String bucket) throws IOException { in setAppStandbyBucket() method in BackgroundRestrictedAlarmsTest
123 private void setAppStandbyBucket(String packageName, int bucket) throws Exception { in setAppStandbyBucket() method in AppIdleHostTest148 setAppStandbyBucket(TEST_APP_PACKAGE, SB_ACTIVE); in testSetAppStandbyBucket()151 setAppStandbyBucket(TEST_APP_PACKAGE, 20); in testSetAppStandbyBucket()169 setAppStandbyBucket("com.android.shell", 40); in testCantSetOwnStandbyBucket()176 setAppStandbyBucket(TEST_APP_PACKAGE, SB_ACTIVE); in testOutOfBoundsStandbyBucket()179 setAppStandbyBucket(TEST_APP_PACKAGE, SB_ACTIVE - 1); in testOutOfBoundsStandbyBucket()182 setAppStandbyBucket(TEST_APP_PACKAGE, 50 + 1); in testOutOfBoundsStandbyBucket()