Home
last modified time | relevance | path

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

12

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/device/
DDevice.java82 Boolean unused2 = Poll.forValue("isScreenOn", this::isScreenOn) in wakeUp()
129 public boolean isScreenOn() { in isScreenOn() method in Device
131 return sDevice.isScreenOn(); in isScreenOn()
/cts/tests/tests/car/src/android/car/cts/
DCarInputManagerSystemTest.java83 assumeTrue("This test expects the device to be awake", mDevice.isScreenOn()); in testCarInputService_injectKeyEvent()
97 eventually(() -> assertThat(mDevice.isScreenOn()).isEqualTo(expected), MAX_WAIT_TIMEOUT_MS); in waitUntilScreenOnIs()
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/device/
DDeviceTest.java37 assertThat(TestApis.device().isScreenOn()).isTrue(); in wakeUp_screenTurnsOn()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DLockTest.java104 Poll.forValue("isScreenOn", () -> TestApis.device().isScreenOn()) in lockNow_noPasswordSet_turnsScreenOff()
119 assertThat(TestApis.device().isScreenOn()).isTrue(); in lockNow_automotive_noPasswordSet_doesNotTurnScreenOff()
/cts/hostsidetests/securitybulletin/test-apps/BUG-182810085/src/android/security/cts/BUG_182810085/
DDeviceTest.java69 if (!mDevice.isScreenOn()) { in setUp()
/cts/hostsidetests/securitybulletin/test-apps/BUG-182808318/src/android/security/cts/BUG_182808318/
DDeviceTest.java69 if (!mDevice.isScreenOn()) { in setUp()
/cts/hostsidetests/securitybulletin/test-apps/BUG-183963253/src/android/security/cts/BUG_183963253/
DDeviceTest.java70 if (!mDevice.isScreenOn()) { in setUp()
/cts/hostsidetests/securitybulletin/test-apps/BUG-183411210/src/android/security/cts/BUG_183411210/
DDeviceTest.java69 if (!mDevice.isScreenOn()) { in setUp()
/cts/hostsidetests/securitybulletin/test-apps/BUG-183794206/src/android/security/cts/BUG_183794206/
DDeviceTest.java72 if (!mDevice.isScreenOn()) { in setUp()
/cts/hostsidetests/securitybulletin/test-apps/BUG-183613671/src/android/security/cts/BUG_183613671/
DDeviceTest.java71 if (!mDevice.isScreenOn()) { in setUp()
/cts/hostsidetests/securitybulletin/test-apps/BUG-183411279/src/android/security/cts/BUG_183411279/
DDeviceTest.java71 if (!mDevice.isScreenOn()) { in setUp()
/cts/hostsidetests/securitybulletin/test-apps/BUG-183410508/src/android/security/cts/BUG_183410508/
DDeviceTest.java73 if (!mDevice.isScreenOn()) { in setUp()
/cts/hostsidetests/securitybulletin/test-apps/BUG-182282630/src/android/security/cts/BUG_182282630/
DDeviceTest.java74 if (!mDevice.isScreenOn()) { in setUp()
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/
DUninstallPinnedTest.java80 if (!mUiDevice.isScreenOn()) { in setup()
DUninstallTest.java110 if (!mUiDevice.isScreenOn()) { in setup()
DArchiveTest.java136 if (!mUiDevice.isScreenOn()) { in setup()
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/
DNoPermissionTests.kt80 if (!uiDevice.isScreenOn) { in <lambda>()
/cts/tests/tests/packageinstaller/install_appop_denied/src/android/packageinstaller/install_appop_denied/cts/
DPackageInstallerTestBase.kt97 if (!uiDevice.isScreenOn) { in <lambda>()
/cts/tests/tests/packageinstaller/install_appop_default/src/android/packageinstaller/install_appop_default/cts/
DPackageInstallerTestBase.kt97 if (!uiDevice.isScreenOn) { in <lambda>()
/cts/tests/tests/packageinstaller/tapjacking/src/android/packageinstaller/tapjacking/cts/
DTapjackingTest.java71 if (!mUiDevice.isScreenOn()) { in setUp()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DDialogTests.java80 if (!mUiDevice.isScreenOn()) { in turnScreenOn()
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DPackageInstallerTestBase.kt147 if (!uiDevice.isScreenOn) { in <lambda>()
/cts/tests/tests/packageinstaller/criticaluserjourney/src/android/packageinstaller/criticaluserjourney/cts/
DPackageInstallerCujTestBase.java166 if (!sUiDevice.isScreenOn()) { in setUpClass()
/cts/common/device-side/bedstead/harrier/src/test/java/com/android/bedstead/harrier/
DDeviceStateTest.java655 assertThat(TestApis.device().isScreenOn()).isTrue(); in ensureScreenIsOnAnnotation_screenIsOn()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java2917 return mUiDevice.isScreenOn(); in sleepDevice()
2929 return mUiDevice.isScreenOn(); in wakeDevice()

12