Home
last modified time | relevance | path

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

/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java178 injectKeyEvent(e); in sendText()
184 injectKeyEvent(new KeyEvent(now, now, KeyEvent.ACTION_DOWN, keyCode, 0, 0, in sendKeyEvent()
187 injectKeyEvent(new KeyEvent(now, now, KeyEvent.ACTION_DOWN, keyCode, 1, 0, in sendKeyEvent()
191 injectKeyEvent(new KeyEvent(now, now, KeyEvent.ACTION_UP, keyCode, 0, 0, in sendKeyEvent()
231 private void injectKeyEvent(KeyEvent event) { in injectKeyEvent() method in Input
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DMouseUiController.java60 public boolean injectKeyEvent(KeyEvent event) throws InjectEventSecurityException { in injectKeyEvent() method in MouseUiController
61 return mUiController.injectKeyEvent(event); in injectKeyEvent()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevice.java468 injectKeyEvent(downTime, KeyEvent.ACTION_UP, mLastKeycode, 0); in handleUserControlPressed()
475 injectKeyEvent(downTime, KeyEvent.ACTION_DOWN, keycode, keyRepeatCount); in handleUserControlPressed()
490 injectKeyEvent(upTime, KeyEvent.ACTION_UP, mLastKeycode, 0); in handleUserControlReleased()
497 static void injectKeyEvent(long time, int action, int keycode, int repeat) { in injectKeyEvent() method in HdmiCecLocalDevice