Searched refs:setAppStandbyBucket (Results 1 – 5 of 5) sorted by relevance
/cts/hostsidetests/usage/src/android/app/usage/cts/ |
D | AppIdleHostTest.java | 96 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/ |
D | BackgroundRestrictedAlarmsTest.java | 119 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/ |
D | Package.java | 1190 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/ |
D | UserControlDisabledPackagesTest.java | 239 testApp.pkg().setAppStandbyBucket(STANDBY_BUCKET_NEVER); in setUserControlDisabledPackages_exemptFromStandbyBuckets()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | system-current.txt | 3220 …ion(android.Manifest.permission.CHANGE_APP_IDLE_STATE) public void setAppStandbyBucket(String, int…
|