Home
last modified time | relevance | path

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

/platform_testing/tests/perf/BootHelperApp/src/com/android/boothelper/
DBootHelperTest.java110 mDevice.pressKeyCode(KeyEvent.KEYCODE_1); in enterTestPin()
111 mDevice.pressKeyCode(KeyEvent.KEYCODE_2); in enterTestPin()
112 mDevice.pressKeyCode(KeyEvent.KEYCODE_3); in enterTestPin()
113 mDevice.pressKeyCode(KeyEvent.KEYCODE_4); in enterTestPin()
114 mDevice.pressKeyCode(KeyEvent.KEYCODE_5); in enterTestPin()
/platform_testing/utils/dpad/src/android/platform/test/utils/
DDPadUtil2.java122 public boolean pressKeyCode(int keyCode) { in pressKeyCode() method in DPadUtil2
126 boolean retVal = mDevice.pressKeyCode(keyCode); in pressKeyCodeAndWait()
197 pressKeyCode(mKeyCode); in run()
DDPadUtil.java123 public boolean pressKeyCode(int keyCode) { in pressKeyCode() method in DPadUtil
127 boolean retVal = mDevice.pressKeyCode(keyCode); in pressKeyCodeAndWait()
198 pressKeyCode(mKeyCode); in run()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchLeanbackJankTests.java90 mHelper.pressKeyCode(KeyEvent.KEYCODE_DPAD_DOWN); in scrollDownAndUp()
93 mHelper.pressKeyCode(KeyEvent.KEYCODE_DPAD_UP); in scrollDownAndUp()
DUiBenchJankTestsHelper.java154 public void pressKeyCode(int keyCode) { in pressKeyCode() method in UiBenchJankTestsHelper
156 mDevice.pressKeyCode(keyCode); in pressKeyCode()
/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/
DUiBenchJankHelper.java300 void pressKeyCode(int keyCode) { in pressKeyCode() method in UiBenchJankHelper
302 mDevice.pressKeyCode(keyCode); in pressKeyCode()
308 pressKeyCode(KeyEvent.KEYCODE_DPAD_DOWN); in scrollDownAndUp()
311 pressKeyCode(KeyEvent.KEYCODE_DPAD_UP); in scrollDownAndUp()
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/
DActivityHelper.java127 mDevice.pressKeyCode(KeyEvent.KEYCODE_APP_SWITCH); in clearRecents()
129 mDevice.pressKeyCode(KeyEvent.KEYCODE_DEL); in clearRecents()
/platform_testing/libraries/automotive-helpers/lock-screen-helper/src/android/platform/helpers/
DLockScreenHelperImpl.java61 getSpectatioUiUtil().pressKeyCode(KEY_ENTER); in pressEnter()
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/utils/
DSpectatioUiUtil.java150 public boolean pressKeyCode(int keyCode) { in pressKeyCode() method in SpectatioUiUtil
151 return mDevice.pressKeyCode(keyCode); in pressKeyCode()
155 return pressKeyCode(KeyEvent.KEYCODE_POWER); in pressPower()
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingsSecurityHelperImpl.java249 getSpectatioUiUtil().pressKeyCode(KEY_ENTER); in pressEnter()
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/
DWorkflowTask.java367 spectatioUiUtil.pressKeyCode(keyCode); in validateAndPressKey()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DAbstractStandardAppHelper2.java486 if (!mDevice.pressKeyCode(event.getKeyCode(), event.getMetaState())) { in sendTextEvents()
DAbstractStandardAppHelper.java527 if (!mDevice.pressKeyCode(event.getKeyCode(), event.getMetaState())) { in sendTextEvents()