Searched refs:isScreenOn (Results 1 – 16 of 16) sorted by relevance
93 public TestableUnlockScreenRule(boolean isScreenOn, boolean isUnlocked) { in TestableUnlockScreenRule() argument95 mIsScreenOn = isScreenOn; in TestableUnlockScreenRule()109 when(mUiDevice.isScreenOn()).thenReturn(mIsScreenOn); in getUiDevice()
287 when(mUiDevice.isScreenOn()).thenReturn(mIsScreenOn); in getUiDevice()
55 if (!uiDevice.isScreenOn()) { in unlockScreen()
97 final boolean screenOnOriginal = getUiDevice().isScreenOn(); in starting()105 if (screenOnOriginal && !getUiDevice().isScreenOn()) { in starting()
200 get() = uiDevice.isScreenOn
95 ensureThat("screen is on after cancelling base state override.") { uiDevice.isScreenOn } in <lambda>()
257 if (!mDevice.isScreenOn()) { in unlockDeviceIfAsleep()
536 if (!mDevice.isScreenOn()) { in unlockDeviceIfAsleep()
758 if (!mDevice.isScreenOn()) {
247 if (!mDevice.isScreenOn()) { in unlockDeviceIfAsleep()
570 if (!mDevice.isScreenOn()) { in unlockDeviceIfAsleep()
784 if (!mDevice.isScreenOn()) {
364 get() = waitForValueToSettle("Screen on") { isScreenOn } in <lambda>()
153 .that(getUiDevice().isScreenOn()) in assertScreenOn()
227 if (!mDevice.isScreenOn()) { in open()
236 if (!mDevice.isScreenOn()) { in open()