Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DUiDeviceUtils.java135 pressKeyCode(KEYCODE_WINDOW); in pressWindowButton()
140 pressKeyCode(KEYCODE_APP_SWITCH); in pressAppSwitchButton()
146 pressKeyCode(keyCode); in retryPressKeyCode()
158 private static void pressKeyCode(int keyCode) { in pressKeyCode() method in UiDeviceUtils
159 getDevice().pressKeyCode(keyCode); in pressKeyCode()
/cts/hostsidetests/calllog/app/src/android/provider/cts/contacts/testapp/
DCallLogDirectBootTest.java135 mDevice.pressKeyCode(KeyEvent.KEYCODE_1); in enterTestPin()
136 mDevice.pressKeyCode(KeyEvent.KEYCODE_2); in enterTestPin()
137 mDevice.pressKeyCode(KeyEvent.KEYCODE_3); in enterTestPin()
138 mDevice.pressKeyCode(KeyEvent.KEYCODE_4); in enterTestPin()
139 mDevice.pressKeyCode(KeyEvent.KEYCODE_5); in enterTestPin()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerThrottlingTest.java162 ud.pressKeyCode(KeyEvent.KEYCODE_A); in performInlineReply()
163 ud.pressKeyCode(KeyEvent.KEYCODE_B); in performInlineReply()
164 ud.pressKeyCode(KeyEvent.KEYCODE_C); in performInlineReply()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2023_21139.java102 device.pressKeyCode(KeyEvent.KEYCODE_SLEEP); in testPocCVE_2023_21139()
103 device.pressKeyCode(KeyEvent.KEYCODE_WAKEUP); in testPocCVE_2023_21139()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-31312/src/android/security/cts/CVE_2024_31312/
DDeviceTest.java88 device.pressKeyCode(KeyEvent.KEYCODE_SLEEP); in testPocCVE_2024_31312()
89 device.pressKeyCode(KeyEvent.KEYCODE_WAKEUP); in testPocCVE_2024_31312()
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java210 mDevice.pressKeyCode(KeyEvent.KEYCODE_1); in enterTestPin()
211 mDevice.pressKeyCode(KeyEvent.KEYCODE_2); in enterTestPin()
212 mDevice.pressKeyCode(KeyEvent.KEYCODE_3); in enterTestPin()
213 mDevice.pressKeyCode(KeyEvent.KEYCODE_4); in enterTestPin()
252 mDevice.pressKeyCode(KeyEvent.KEYCODE_SLEEP); in summonKeyguard()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39701/src/android/security/cts/CVE_2021_39701/
DDeviceTest.java82 device.pressKeyCode(KeyEvent.KEYCODE_SLEEP); in testService()
96 assumeTrue(device.pressKeyCode(KeyEvent.KEYCODE_MENU)); in testService()
/cts/tests/tests/sensorprivacy/src/android/sensorprivacy/cts/
DSensorPrivacyBaseTest.kt706 uiDevice.pressKeyCode(KeyEvent.KEYCODE_SLEEP) in <lambda>()
710 uiDevice.pressKeyCode(KeyEvent.KEYCODE_WAKEUP) in <lambda>()
728 uiDevice.pressKeyCode(KeyEvent.KEYCODE_SLEEP) in <lambda>()
732 uiDevice.pressKeyCode(KeyEvent.KEYCODE_WAKEUP) in <lambda>()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DRemoteSubmixTest.java236 .pressKeyCode(KeyEvent.KEYCODE_POWER); in testPlaybackCapture()
252 .pressKeyCode(KeyEvent.KEYCODE_WAKEUP); in testPlaybackCapture()
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/
DUninstallTest.java306 mUiDevice.pressKeyCode(KeyEvent.KEYCODE_DPAD_DOWN); in clickInstallerButton()
314 mUiDevice.pressKeyCode(KeyEvent.KEYCODE_DPAD_CENTER); in clickInstallerButton()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java2910 mUiDevice.pressKeyCode(KeyEvent.KEYCODE_SLEEP); in sleepDevice()