Home
last modified time | relevance | path

Searched refs:isScreenOn (Results 1 – 16 of 16) sorted by relevance

/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DUnlockScreenRuleTest.java93 public TestableUnlockScreenRule(boolean isScreenOn, boolean isUnlocked) { in TestableUnlockScreenRule() argument
95 mIsScreenOn = isScreenOn; in TestableUnlockScreenRule()
109 when(mUiDevice.isScreenOn()).thenReturn(mIsScreenOn); in getUiDevice()
DCoolDownRuleTest.java287 when(mUiDevice.isScreenOn()).thenReturn(mIsScreenOn); in getUiDevice()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DUnlockScreenRule.java55 if (!uiDevice.isScreenOn()) { in unlockScreen()
DCoolDownRule.java97 final boolean screenOnOriginal = getUiDevice().isScreenOn(); in starting()
105 if (screenOnOriginal && !getUiDevice().isScreenOn()) { in starting()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/foldable/
DFoldableRule.kt200 get() = uiDevice.isScreenOn
DFoldableDeviceController.kt95 ensureThat("screen is on after cancelling base state override.") { uiDevice.isScreenOn } in <lambda>()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DCommonLauncherHelper.java257 if (!mDevice.isScreenOn()) { in unlockDeviceIfAsleep()
DLeanbackLauncherStrategy.java536 if (!mDevice.isScreenOn()) { in unlockDeviceIfAsleep()
DTvLauncherStrategy.java758 if (!mDevice.isScreenOn()) {
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DCommonLauncherHelper.java247 if (!mDevice.isScreenOn()) { in unlockDeviceIfAsleep()
DLeanbackLauncherStrategy.java570 if (!mDevice.isScreenOn()) { in unlockDeviceIfAsleep()
DTvLauncherStrategy.java784 if (!mDevice.isScreenOn()) {
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DDeviceHelpers.kt364 get() = waitForValueToSettle("Screen on") { isScreenOn } in <lambda>()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/
DCommonUtils.java153 .that(getUiDevice().isScreenOn()) in assertScreenOn()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DAbstractStandardAppHelper2.java227 if (!mDevice.isScreenOn()) { in open()
DAbstractStandardAppHelper.java236 if (!mDevice.isScreenOn()) { in open()