Home
last modified time | relevance | path

Searched refs:injectInputEvent (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/apct-tests/perftests/core/src/android/view/
DInputStageBenchmark.java181 private void injectInputEvent(InputEvent event) { in injectInputEvent() method in InputStageBenchmark
183 mInstrumentation.runOnMainSync(() -> mWindow.injectInputEvent(event)); in injectInputEvent()
197 injectInputEvent(eventDown); in testKeyEvent()
202 injectInputEvent(eventUp); in testKeyEvent()
224 injectInputEvent(eventDown); in testMotionEvent()
233 injectInputEvent(eventUp); in testMotionEvent()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiAutomatorBridge.java69 public boolean injectInputEvent(InputEvent event, boolean sync) { in injectInputEvent() method in UiAutomatorBridge
70 return mUiAutomation.injectInputEvent(event, sync); in injectInputEvent()
DInteractionController.java653 return mUiAutomatorBridge.injectInputEvent(event, true);
/frameworks/base/core/java/android/hardware/input/
DInputManagerInternal.java39 public abstract boolean injectInputEvent(InputEvent event, int mode); in injectInputEvent() method in InputManagerInternal
DIInputManager.aidl59 boolean injectInputEvent(in InputEvent ev, int mode); in injectInputEvent() method
DInputManager.java1080 public boolean injectInputEvent(InputEvent event, int mode) { in injectInputEvent() method in InputManager
1091 return mIm.injectInputEvent(event, mode); in injectInputEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
DKeyButtonViewTest.java143 .injectInputEvent(any(KeyEvent.class), any(Integer.class)); in testEventInjectedOnAbortGesture()
151 .injectInputEvent(any(KeyEvent.class), any(Integer.class)); in testNoEventInjectedOnAbortUnknownGesture()
/frameworks/base/core/java/android/app/
DIUiAutomationConnection.aidl42 boolean injectInputEvent(in InputEvent event, boolean sync, boolean waitForAnimations); in injectInputEvent() method
DUiAutomation.java745 public boolean injectInputEvent(InputEvent event, boolean sync) { in injectInputEvent() method in UiAutomation
746 return injectInputEvent(event, sync, true /* waitForAnimations */); in injectInputEvent()
765 public boolean injectInputEvent(@NonNull InputEvent event, boolean sync, in injectInputEvent() method in UiAutomation
773 return mUiAutomationConnection.injectInputEvent(event, sync, waitForAnimations); in injectInputEvent()
DUiAutomationConnection.java129 public boolean injectInputEvent(InputEvent event, boolean sync, boolean waitForAnimations) { in injectInputEvent() method in UiAutomationConnection
DInstrumentation.java1091 InputManager.getInstance().injectInputEvent(newEvent, in sendKeySync()
1158 InputManager.getInstance().injectInputEvent(event, in sendTrackballEventSync()
/frameworks/native/services/inputflinger/dispatcher/include/
DInputDispatcherInterface.h77 virtual android::os::InputEventInjectionResult injectInputEvent(
/frameworks/base/tests/Input/src/com/android/test/input/
DAnrTest.kt90 mInstrumentation.uiAutomation.injectInputEvent(downEvent, false /* sync*/) in testGestureMonitorAnr()
/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java69 InputManager.getInstance().injectInputEvent(event, in injectKeyEvent()
138 InputManager.getInstance().injectInputEvent(event, in injectMotionEvent()
489 InputManager.getInstance().injectInputEvent(event, in injectKeyEventAsync()
DInputManagerService.java828 public boolean injectInputEvent(InputEvent event, int mode) { in injectInputEvent() method in InputManagerService
3429 public boolean injectInputEvent(InputEvent event, int mode) { in injectInputEvent() method in InputManagerService.LocalService
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp320 dispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in benchmarkInjectMotion()
326 dispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in benchmarkInjectMotion()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp495 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
504 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
534 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
548 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
561 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
575 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
588 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
600 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
611 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
624 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DSystemActionPerformer.java327 .injectInputEvent(event, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendKeyEventIdentityCleared()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonView.java433 mInputManager.injectInputEvent(ev, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSystemActions.java366 .injectInputEvent(event, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendKeyEventIdentityCleared()
/frameworks/base/core/java/android/view/
DWindow.java2086 public void injectInputEvent(InputEvent event) { } in injectInputEvent() method in Window
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.h105 android::os::InputEventInjectionResult injectInputEvent(
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DOverviewProxyService.java289 .injectInputEvent(ev, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC);
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DEdgeBackGestureHandler.java879 .injectInputEvent(ev, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendEvent()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevice.java741 .injectInputEvent(keyEvent, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in injectKeyEvent()

12