Searched refs:isAppStandbyEnabled (Results 1 – 11 of 11) sorted by relevance
/cts/hostsidetests/usage/src/android/app/usage/cts/ |
D | AppIdleHostTest.java | 101 private boolean isAppStandbyEnabled() throws DeviceNotAvailableException { in isAppStandbyEnabled() method in AppIdleHostTest 119 assumeTrue("App standby not enabled on device", isAppStandbyEnabled()); in testSetAppStandbyBucket() 130 assumeTrue("App standby not enabled on device", isAppStandbyEnabled()); in testSetAppStandbyBuckets() 141 assumeTrue("App standby not enabled on device", isAppStandbyEnabled()); in testCantSetOwnStandbyBucket() 148 assumeTrue("App standby not enabled on device", isAppStandbyEnabled()); in testOutOfBoundsStandbyBucket()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | AppStandbyDeviceInfo.java | 30 store.addResult(KEY_APP_STANDBY_ENABLED, AppStandbyUtils.isAppStandbyEnabled()); in collectDeviceInfo()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | AppStandbyUtils.java | 37 public static boolean isAppStandbyEnabled() { in isAppStandbyEnabled() method in AppStandbyUtils
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/battery/ |
D | IgnoreBatteryOptimizationsTestActivity.java | 76 || (mUsageStatsManager.isAppStandbyEnabled() in isFullyNotExempted()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | ConnectivityConstraintTest.java | 350 if (!AppStandbyUtils.isAppStandbyEnabled()) { in testExpeditedJobExecutes_IdleApp() 486 if (!AppStandbyUtils.isAppStandbyEnabled()) { in testExpeditedJobBypassesSimultaneousFirewalls_noDataSaver() 906 if (!AppStandbyUtils.isAppStandbyEnabled()) { in testExpeditedJobDoesNotBypassSimultaneousFirewalls_withDataSaver()
|
D | TestAppInterface.java | 109 if (AppStandbyUtils.isAppStandbyEnabled()) { in TestAppInterface()
|
D | JobThrottlingTest.java | 140 mAppStandbyEnabled = AppStandbyUtils.isAppStandbyEnabled(); in setUp()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageStatsTest.java | 252 assumeTrue("App Standby not enabled on device", AppStandbyUtils.isAppStandbyEnabled()); in setUp() 395 assertTrue(mUsageStatsManager.isAppStandbyEnabled()); in testTogglingViaSettings() 399 waitUntil(() -> mUsageStatsManager.isAppStandbyEnabled(), false); in testTogglingViaSettings() 400 assertFalse(AppStandbyUtils.isAppStandbyEnabled()); in testTogglingViaSettings() 404 waitUntil(() -> mUsageStatsManager.isAppStandbyEnabled(), false); in testTogglingViaSettings() 405 assertFalse(AppStandbyUtils.isAppStandbyEnabled()); in testTogglingViaSettings() 408 waitUntil(() -> mUsageStatsManager.isAppStandbyEnabled(), true); in testTogglingViaSettings() 409 assertTrue(AppStandbyUtils.isAppStandbyEnabled()); in testTogglingViaSettings() 744 AppStandbyUtils.isAppStandbyEnabled()); in testGetAppStandbyBuckets()
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | AppStandbyTests.java | 152 assumeTrue("App Standby not enabled on device", AppStandbyUtils.isAppStandbyEnabled()); in setUp()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerTest.java | 228 mAppStandbyEnabled = AppStandbyUtils.isAppStandbyEnabled(); in setUp()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | test-current.txt | 879 method public boolean isAppStandbyEnabled();
|