/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/ |
H A D | UiController.java | 52 boolean injectKeyEvent(KeyEvent event) throws InjectEventSecurityException; method in interface:UiController 57 * control over the key events generated use {@link #injectKeyEvent(KeyEvent)}.
|
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/base/ |
H A D | EventInjectionStrategy.java | 38 boolean injectKeyEvent(KeyEvent keyEvent) throws InjectEventSecurityException; method in interface:EventInjectionStrategy
|
H A D | EventInjector.java | 41 boolean injectKeyEvent(KeyEvent event) throws InjectEventSecurityException { method in class:EventInjector 92 return injectionStrategy.injectKeyEvent(newEvent);
|
H A D | WindowManagerEventInjectionStrategy.java | 78 wmInstance.getClass().getDeclaredMethod("injectKeyEvent", KeyEvent.class, Boolean.TYPE); 98 public boolean injectKeyEvent(KeyEvent keyEvent) throws InjectEventSecurityException { method in class:WindowManagerEventInjectionStrategy 100 // From javadoc of com.android.server.WindowManagerService.injectKeyEvent: 125 // From javadoc of com.android.server.WindowManagerService.injectKeyEvent:
|
H A D | UiControllerImpl.java | 170 public boolean injectKeyEvent(final KeyEvent event) throws InjectEventSecurityException { method in class:UiControllerImpl 180 return eventInjector.injectKeyEvent(event); 278 eventInjected = injectKeyEvent(event);
|
H A D | InputManagerEventInjectionStrategy.java | 107 public boolean injectKeyEvent(KeyEvent keyEvent) throws InjectEventSecurityException { method in class:InputManagerEventInjectionStrategy
|
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/base/ |
H A D | EventInjectorTest.java | 93 assertTrue(injector.injectKeyEvent(events[1])); 118 assertTrue(injector.injectKeyEvent(event)); 120 assertFalse(injector.injectKeyEvent(event)); 129 injector.injectKeyEvent(events[0]);
|
H A D | UiControllerImplIntegrationTest.java | 106 injectEventWorked.set(uiController.injectKeyEvent(events[0]));
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 178 injectKeyEvent(e); 184 injectKeyEvent(new KeyEvent(now, now, KeyEvent.ACTION_DOWN, keyCode, 0, 0, 187 injectKeyEvent(new KeyEvent(now, now, KeyEvent.ACTION_DOWN, keyCode, 1, 0, 191 injectKeyEvent(new KeyEvent(now, now, KeyEvent.ACTION_UP, keyCode, 0, 0, 231 private void injectKeyEvent(KeyEvent event) { method in class:Input 232 Log.i(TAG, "injectKeyEvent: " + event);
|
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/action/ |
H A D | KeyEventAction.java | 83 injected = controller.injectKeyEvent(new KeyEvent(eventTime, 99 injected = controller.injectKeyEvent(
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecLocalDevice.java | 436 injectKeyEvent(downTime, KeyEvent.ACTION_UP, mLastKeycode, 0); 443 injectKeyEvent(downTime, KeyEvent.ACTION_DOWN, keycode, keyRepeatCount); 458 injectKeyEvent(upTime, KeyEvent.ACTION_UP, mLastKeycode, 0); 465 static void injectKeyEvent(long time, int action, int keycode, int repeat) { method in class:HdmiCecLocalDevice
|