Searched refs:AppStandbyUtils (Results 1 – 5 of 5) sorted by relevance
18 import com.android.compatibility.common.util.AppStandbyUtils;30 store.addResult(KEY_APP_STANDBY_ENABLED, AppStandbyUtils.isAppStandbyEnabled()); in collectDeviceInfo()
40 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()
24 public class AppStandbyUtils { class
55 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()
45 import com.android.compatibility.common.util.AppStandbyUtils;136 mAppStandbyEnabled = AppStandbyUtils.isAppStandbyEnabled(); in setUp()