Home
last modified time | relevance | path

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

/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DAppStandbyDeviceInfo.java18 import com.android.compatibility.common.util.AppStandbyUtils;
30 store.addResult(KEY_APP_STANDBY_ENABLED, AppStandbyUtils.isAppStandbyEnabled()); in collectDeviceInfo()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DAppStandbyTests.java40 import com.android.compatibility.common.util.AppStandbyUtils;
105 sOrigAppStandbyEnabled = AppStandbyUtils.isAppStandbyEnabledAtRuntime(); in setUpTests()
107 AppStandbyUtils.setAppStandbyEnabledAtRuntime(true); in setUpTests()
125 assumeTrue("App Standby not enabled on device", AppStandbyUtils.isAppStandbyEnabled()); in setUp()
269 AppStandbyUtils.setAppStandbyEnabledAtRuntime(sOrigAppStandbyEnabled); in tearDownTests()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DAppStandbyUtils.java24 public class AppStandbyUtils { class
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java55 import com.android.compatibility.common.util.AppStandbyUtils;
111 assumeTrue("App Standby not enabled on device", AppStandbyUtils.isAppStandbyEnabled()); in setUp()
259 final boolean origValue = AppStandbyUtils.isAppStandbyEnabledAtRuntime(); in testGetAppStandbyBuckets()
260 AppStandbyUtils.setAppStandbyEnabledAtRuntime(true); in testGetAppStandbyBuckets()
263 AppStandbyUtils.isAppStandbyEnabled()); in testGetAppStandbyBuckets()
272 AppStandbyUtils.setAppStandbyEnabledAtRuntime(origValue); in testGetAppStandbyBuckets()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DDeviceIdleJobsTest.java45 import com.android.compatibility.common.util.AppStandbyUtils;
136 mAppStandbyEnabled = AppStandbyUtils.isAppStandbyEnabled(); in setUp()