Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DUiDeviceUtils.java114 pressKeyCode(KEYCODE_WINDOW); in pressWindowButton()
119 pressKeyCode(KEYCODE_APP_SWITCH); in pressAppSwitchButton()
125 pressKeyCode(keyCode); in retryPressKeyCode()
137 private static void pressKeyCode(int keyCode) { in pressKeyCode() method in UiDeviceUtils
138 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.java145 ud.pressKeyCode(KeyEvent.KEYCODE_A); in performInlineReply()
146 ud.pressKeyCode(KeyEvent.KEYCODE_B); in performInlineReply()
147 ud.pressKeyCode(KeyEvent.KEYCODE_C); in performInlineReply()
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppA/src/com/android/cts/appdataisolation/appa/
DAppATests.java209 mDevice.pressKeyCode(KeyEvent.KEYCODE_1); in testUnlockDevice()
210 mDevice.pressKeyCode(KeyEvent.KEYCODE_2); in testUnlockDevice()
211 mDevice.pressKeyCode(KeyEvent.KEYCODE_3); in testUnlockDevice()
212 mDevice.pressKeyCode(KeyEvent.KEYCODE_4); in testUnlockDevice()
213 mDevice.pressKeyCode(KeyEvent.KEYCODE_5); in testUnlockDevice()
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java203 mDevice.pressKeyCode(KeyEvent.KEYCODE_1); in enterTestPin()
204 mDevice.pressKeyCode(KeyEvent.KEYCODE_2); in enterTestPin()
205 mDevice.pressKeyCode(KeyEvent.KEYCODE_3); in enterTestPin()
206 mDevice.pressKeyCode(KeyEvent.KEYCODE_4); in enterTestPin()
207 mDevice.pressKeyCode(KeyEvent.KEYCODE_5); in enterTestPin()
244 mDevice.pressKeyCode(KeyEvent.KEYCODE_SLEEP); in summonKeyguard()
/cts/tests/tests/sensorprivacy/src/android/sensorprivacy/cts/
DSensorPrivacyBaseTest.kt406 uiDevice.pressKeyCode(KeyEvent.KEYCODE_SLEEP) in <lambda>()
410 uiDevice.pressKeyCode(KeyEvent.KEYCODE_WAKEUP) in <lambda>()
425 uiDevice.pressKeyCode(KeyEvent.KEYCODE_SLEEP) in <lambda>()
429 uiDevice.pressKeyCode(KeyEvent.KEYCODE_WAKEUP) in <lambda>()
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/
DUninstallTest.java169 mUiDevice.pressKeyCode(KeyEvent.KEYCODE_DPAD_DOWN); in testUninstall()
177 mUiDevice.pressKeyCode(KeyEvent.KEYCODE_DPAD_CENTER); in testUninstall()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java1889 mUiDevice.pressKeyCode(KeyEvent.KEYCODE_SLEEP); in sleepDevice()