Home
last modified time | relevance | path

Searched refs:injectKeyEvent (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DMouseUiController.java63 public boolean injectKeyEvent(KeyEvent event) throws InjectEventSecurityException { in injectKeyEvent() method in MouseUiController
64 return mUiController.injectKeyEvent(event); in injectKeyEvent()
/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java143 private void injectKeyEvent(KeyEvent event, boolean async) { in injectKeyEvent() method in InputShellCommand
396 injectKeyEvent(e, INJECT_SYNC); in sendText()
456 injectKeyEvent(event, async); in sendKeyEvent()
467 injectKeyEvent(longPressEvent, async); in sendKeyEvent()
475 injectKeyEvent(KeyEvent.changeAction(event, KeyEvent.ACTION_UP), async); in sendKeyEvent()
712 injectKeyEvent(event, INJECT_ASYNC); in sendKeyCombination()
722 injectKeyEvent(upEvent, INJECT_ASYNC); in sendKeyCombination()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevice.java777 injectKeyEvent(downTime, KeyEvent.ACTION_UP, mLastKeycode, 0); in handleUserControlPressed()
784 injectKeyEvent(downTime, KeyEvent.ACTION_DOWN, keycode, keyRepeatCount); in handleUserControlPressed()
820 injectKeyEvent(upTime, KeyEvent.ACTION_UP, mLastKeycode, 0); in handleUserControlReleased()
826 static void injectKeyEvent(long time, int action, int keycode, int repeat) { in injectKeyEvent() method in HdmiCecLocalDevice