Home
last modified time | relevance | path

Searched refs:isAppStandbyEnabled (Results 1 – 11 of 11) sorted by relevance

/cts/hostsidetests/usage/src/android/app/usage/cts/
DAppIdleHostTest.java101 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/
DAppStandbyDeviceInfo.java30 store.addResult(KEY_APP_STANDBY_ENABLED, AppStandbyUtils.isAppStandbyEnabled()); in collectDeviceInfo()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAppStandbyUtils.java37 public static boolean isAppStandbyEnabled() { in isAppStandbyEnabled() method in AppStandbyUtils
/cts/apps/CtsVerifier/src/com/android/cts/verifier/battery/
DIgnoreBatteryOptimizationsTestActivity.java76 || (mUsageStatsManager.isAppStandbyEnabled() in isFullyNotExempted()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DConnectivityConstraintTest.java350 if (!AppStandbyUtils.isAppStandbyEnabled()) { in testExpeditedJobExecutes_IdleApp()
486 if (!AppStandbyUtils.isAppStandbyEnabled()) { in testExpeditedJobBypassesSimultaneousFirewalls_noDataSaver()
906 if (!AppStandbyUtils.isAppStandbyEnabled()) { in testExpeditedJobDoesNotBypassSimultaneousFirewalls_withDataSaver()
DTestAppInterface.java109 if (AppStandbyUtils.isAppStandbyEnabled()) { in TestAppInterface()
DJobThrottlingTest.java140 mAppStandbyEnabled = AppStandbyUtils.isAppStandbyEnabled(); in setUp()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java252 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/
DAppStandbyTests.java152 assumeTrue("App Standby not enabled on device", AppStandbyUtils.isAppStandbyEnabled()); in setUp()
/cts/tests/app/src/android/app/cts/
DActivityManagerTest.java228 mAppStandbyEnabled = AppStandbyUtils.isAppStandbyEnabled(); in setUp()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtest-current.txt879 method public boolean isAppStandbyEnabled();