Home
last modified time | relevance | path

Searched refs:setAppStandbyBucket (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/usage/src/android/app/usage/cts/
DAppIdleHostTest.java96 private void setAppStandbyBucket(String packageName, int bucket) throws Exception { in setAppStandbyBucket() method in AppIdleHostTest
121 setAppStandbyBucket(TEST_APP_PACKAGE, SB_ACTIVE); in testSetAppStandbyBucket()
124 setAppStandbyBucket(TEST_APP_PACKAGE, 20); in testSetAppStandbyBucket()
142 setAppStandbyBucket("com.android.shell", 40); in testCantSetOwnStandbyBucket()
149 setAppStandbyBucket(TEST_APP_PACKAGE, SB_ACTIVE); in testOutOfBoundsStandbyBucket()
152 setAppStandbyBucket(TEST_APP_PACKAGE, SB_ACTIVE - 1); in testOutOfBoundsStandbyBucket()
155 setAppStandbyBucket(TEST_APP_PACKAGE, 50 + 1); in testOutOfBoundsStandbyBucket()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DBackgroundRestrictedAlarmsTest.java119 setAppStandbyBucket("active"); in setUp()
234 private void setAppStandbyBucket(String bucket) throws IOException { in setAppStandbyBucket() method in BackgroundRestrictedAlarmsTest
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackage.java1190 public void setAppStandbyBucket(int bucket) { in setAppStandbyBucket() method in Package
1191 setAppStandbyBucket(TestApis.users().instrumented(), bucket); in setAppStandbyBucket()
1198 public void setAppStandbyBucket(UserReference user, int bucket) { in setAppStandbyBucket() method in Package
1203 usageStatsMgr.setAppStandbyBucket(mPackageName, bucket); in setAppStandbyBucket()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DUserControlDisabledPackagesTest.java239 testApp.pkg().setAppStandbyBucket(STANDBY_BUCKET_NEVER); in setUserControlDisabledPackages_exemptFromStandbyBuckets()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt3220 …ion(android.Manifest.permission.CHANGE_APP_IDLE_STATE) public void setAppStandbyBucket(String, int…