Home
last modified time | relevance | path

Searched refs:sendKey (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/base/core/tests/coretests/src/android/widget/
H A DDatePickerFocusTest.java66 sendKey(KeyEvent.KEYCODE_TAB); in testFocusTravel()
68 sendKey(KeyEvent.KEYCODE_TAB); in testFocusTravel()
70 sendKey(KeyEvent.KEYCODE_TAB); in testFocusTravel()
72 sendKey(KeyEvent.KEYCODE_TAB); in testFocusTravel()
84 private void sendKey(int keycode) { in sendKey() method in DatePickerFocusTest
132 sendKey(KeyEvent.KEYCODE_ENTER); in testYearChoice()
142 sendKey(KeyEvent.KEYCODE_ENTER); in testYearChoice()
166 sendKey(KeyEvent.KEYCODE_TAB); in testArrowThroughDays()
168 sendKey(KeyEvent.KEYCODE_ENTER); in testArrowThroughDays()
191 sendKey(KeyEvent.KEYCODE_TAB); in testArrowThroughDays()
[all …]
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
H A DKlpActionLabelTests.java39 final ExpectedActionKey sendKey, final ExpectedActionKey nextKey, in doTestActionKeys() argument
46 doTestActionKey(tag + " send", subtype, EditorInfo.IME_ACTION_SEND, sendKey); in doTestActionKeys()
68 final ExpectedActionKey sendKey = ExpectedActionKey.newLabelKey( in doTestActionKeysInLocaleWithStringResources() local
81 doTestActionKeys(subtype, tag, enterKey, enterKey, goKey, searchKey, sendKey, in doTestActionKeysInLocaleWithStringResources()
126 final ExpectedActionKey sendKey = ExpectedActionKey.newLabelKey( in doTestActionKeysInLocaleWithKeyboardTextsSet() local
139 doTestActionKeys(subtype, tag, enterKey, enterKey, goKey, searchKey, sendKey, in doTestActionKeysInLocaleWithKeyboardTextsSet()
/aosp12/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DInteractionController.java541 public boolean sendKey(int keyCode, int metaState) {
623 sendKey(KeyEvent.KEYCODE_POWER, 0);
637 this.sendKey(KeyEvent.KEYCODE_POWER, 0);
H A DUiDevice.java318 return getAutomatorBridge().getInteractionController().sendKey(keyCode, 0); in pressKeyCode()
333 return getAutomatorBridge().getInteractionController().sendKey(keyCode, metaState); in pressKeyCode()
H A DUiObject.java641 getInteractionController().sendKey(KeyEvent.KEYCODE_DEL, 0); in clearTextField()