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/cmds/input/src/com/android/commands/input/
DInput.java174 injectKeyEvent(e); in sendText()
203 injectKeyEvent(event); in sendKeyEvent()
206 injectKeyEvent(KeyEvent.changeTimeRepeat(event, now, repeatCount, in sendKeyEvent()
209 injectKeyEvent(KeyEvent.changeAction(event, KeyEvent.ACTION_UP)); in sendKeyEvent()
354 private static void injectKeyEvent(KeyEvent event) { in injectKeyEvent() method in Input
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevice.java545 injectKeyEvent(downTime, KeyEvent.ACTION_UP, mLastKeycode, 0); in handleUserControlPressed()
552 injectKeyEvent(downTime, KeyEvent.ACTION_DOWN, keycode, keyRepeatCount); in handleUserControlPressed()
568 injectKeyEvent(upTime, KeyEvent.ACTION_UP, mLastKeycode, 0); in handleUserControlReleased()
575 static void injectKeyEvent(long time, int action, int keycode, int repeat) { in injectKeyEvent() method in HdmiCecLocalDevice