Home
last modified time | relevance | path

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

/frameworks/opt/car/services/builtInServices/tests/src/com/android/car/rotary/
DActivityResolverTest.java85 mDevice.pressKeyCode(KeyEvent.KEYCODE_TAB); in testListItemFocusable_threeItems()
88 mDevice.pressKeyCode(KeyEvent.KEYCODE_TAB); in testListItemFocusable_threeItems()
93 mDevice.pressKeyCode(KeyEvent.KEYCODE_TAB); in testListItemFocusable_threeItems()
98 mDevice.pressKeyCode(KeyEvent.KEYCODE_TAB); in testListItemFocusable_threeItems()
103 mDevice.pressKeyCode(KeyEvent.KEYCODE_TAB); in testListItemFocusable_threeItems()
118 mDevice.pressKeyCode(KeyEvent.KEYCODE_TAB); in testListItemFocusable_twoItems()
121 mDevice.pressKeyCode(KeyEvent.KEYCODE_TAB); in testListItemFocusable_twoItems()
126 mDevice.pressKeyCode(KeyEvent.KEYCODE_TAB); in testListItemFocusable_twoItems()
131 mDevice.pressKeyCode(KeyEvent.KEYCODE_TAB); in testListItemFocusable_twoItems()
136 mDevice.pressKeyCode(KeyEvent.KEYCODE_TAB); in testListItemFocusable_twoItems()
[all …]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiDevice.java235 return pressKeyCode(KeyEvent.KEYCODE_SEARCH); in pressSearch()
245 return pressKeyCode(KeyEvent.KEYCODE_DPAD_CENTER); in pressDPadCenter()
255 return pressKeyCode(KeyEvent.KEYCODE_DPAD_DOWN); in pressDPadDown()
265 return pressKeyCode(KeyEvent.KEYCODE_DPAD_UP); in pressDPadUp()
275 return pressKeyCode(KeyEvent.KEYCODE_DPAD_LEFT); in pressDPadLeft()
285 return pressKeyCode(KeyEvent.KEYCODE_DPAD_RIGHT); in pressDPadRight()
295 return pressKeyCode(KeyEvent.KEYCODE_DEL); in pressDelete()
305 return pressKeyCode(KeyEvent.KEYCODE_ENTER); in pressEnter()
315 public boolean pressKeyCode(int keyCode) { in pressKeyCode() method in UiDevice
330 public boolean pressKeyCode(int keyCode, int metaState) { in pressKeyCode() method in UiDevice
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DCommonUtils.java93 device.pressKeyCode(KeyEvent.KEYCODE_WAKEUP); in dismissKeyguard()
94 device.pressKeyCode(KeyEvent.KEYCODE_MENU); in dismissKeyguard()
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DNotificationTest.java121 mUiDevice.pressKeyCode(KeyEvent.KEYCODE_A); in testDirectReply()
122 mUiDevice.pressKeyCode(KeyEvent.KEYCODE_B); in testDirectReply()
123 mUiDevice.pressKeyCode(KeyEvent.KEYCODE_C); in testDirectReply()
/frameworks/base/tests/FlickerTests/AppLaunch/src/com/android/server/wm/flicker/launch/
DOpenCameraFromHomeOnDoubleClickPowerButtonTest.kt79 device.pressKeyCode(KeyEvent.KEYCODE_POWER) in <lambda>()
81 device.pressKeyCode(KeyEvent.KEYCODE_POWER) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/tv/
DTvUtils.kt155 fun UiDevice.pressWindowKey() = pressKeyCode(KeyEvent.KEYCODE_WINDOW) in UiDevice()
/frameworks/base/tests/TrustTests/src/android/trust/test/lib/
DScreenLockRule.kt101 uiDevice.pressKeyCode(KeyEvent.KEYCODE_BACK) in <lambda>()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/tests/src/com/android/systemui/accessibility/accessibilitymenu/tests/
DAccessibilityMenuServiceTest.java194 sUiDevice.pressKeyCode(KeyEvent.KEYCODE_WAKEUP); in wakeUpScreen()
201 sUiDevice.pressKeyCode(KeyEvent.KEYCODE_SLEEP); in closeScreen()
/frameworks/base/cmds/uiautomator/api/
D16.txt34 method public boolean pressKeyCode(int);
35 method public boolean pressKeyCode(int, int);
D17.txt37 method public boolean pressKeyCode(int);
38 method public boolean pressKeyCode(int, int);
Dcurrent.txt56 method @Deprecated public boolean pressKeyCode(int);
57 method @Deprecated public boolean pressKeyCode(int, int);