Home
last modified time | relevance | path

Searched refs:injectInputEvent (Results 1 – 25 of 36) 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/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.java751 public boolean injectInputEvent(InputEvent event, boolean sync) { in injectInputEvent() method in UiAutomation
752 return injectInputEvent(event, sync, true /* waitForAnimations */); in injectInputEvent()
771 public boolean injectInputEvent(@NonNull InputEvent event, boolean sync, in injectInputEvent() method in UiAutomation
779 return mUiAutomationConnection.injectInputEvent(event, sync, waitForAnimations); in injectInputEvent()
DUiAutomationConnection.java132 public boolean injectInputEvent(InputEvent event, boolean sync, boolean waitForAnimations) { in injectInputEvent() method in UiAutomationConnection
158 final boolean result = InputManager.getInstance().injectInputEvent(event, in injectInputEvent()
DInstrumentation.java1127 InputManager.getInstance().injectInputEvent(newEvent, in sendKeySync()
1194 InputManager.getInstance().injectInputEvent( in syncInputTransactionsAndInjectEventIntoSelf()
1224 InputManager.getInstance().injectInputEvent(event, in sendTrackballEventSync()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/helpers/
DSplitScreenHelper.kt153 instrumentation.uiAutomation.injectInputEvent(motionEvent, true) in touch()
178 instrumentation.uiAutomation.injectInputEvent(motionMove, true) in touchMove()
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java84 int injectInputEvent(InputEvent event, boolean injectIntoUid, int uid, int syncMode, in injectInputEvent() method
254 public native int injectInputEvent(InputEvent event, boolean injectIntoUid, int uid, in injectInputEvent() method in NativeInputManagerService.NativeImpl
DInputShellCommand.java112 InputManager.getInstance().injectInputEvent(event, in injectKeyEvent()
181 InputManager.getInstance().injectInputEvent(event, in injectMotionEvent()
533 InputManager.getInstance().injectInputEvent(event, in injectKeyEventAsync()
/frameworks/native/services/inputflinger/dispatcher/include/
DInputDispatcherInterface.h79 virtual android::os::InputEventInjectionResult injectInputEvent(
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DTaskOperations.java69 .injectInputEvent(ev, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC)) { in sendBackEvent()
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp311 dispatcher.injectInputEvent(&event, {} /*targetUid*/, InputEventInjectionSync::NONE, in benchmarkInjectMotion()
317 dispatcher.injectInputEvent(&event, {} /*targetUid*/, InputEventInjectionSync::NONE, in benchmarkInjectMotion()
/frameworks/base/tests/Input/src/com/android/test/input/
DAnrTest.kt168 instrumentation.uiAutomation.injectInputEvent(downEvent, false /* sync*/) in triggerAnr()
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl64 boolean injectInputEvent(in InputEvent ev, int mode); in injectInputEvent() method
DInputManager.java1152 public boolean injectInputEvent(InputEvent event, int mode, int targetUid) { in injectInputEvent() method in InputManager
1191 public boolean injectInputEvent(InputEvent event, int mode) { in injectInputEvent() method in InputManager
1192 return injectInputEvent(event, mode, Process.INVALID_UID); in injectInputEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsDialogLiteTest.java264 dialog.getWindow().injectInputEvent( in testPredictiveBackInvocationDismissesDialog()
266 dialog.getWindow().injectInputEvent( in testPredictiveBackInvocationDismissesDialog()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DSystemActionPerformer.java339 .injectInputEvent(event, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendKeyEventIdentityCleared()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp567 mDispatcher->injectInputEvent(&event, {} /*targetUid*/, InputEventInjectionSync::NONE, in TEST_F()
576 mDispatcher->injectInputEvent(&event, {} /*targetUid*/, InputEventInjectionSync::NONE, in TEST_F()
606 mDispatcher->injectInputEvent(&event, {} /*targetUid*/, InputEventInjectionSync::NONE, in TEST_F()
618 mDispatcher->injectInputEvent(&event, {} /*targetUid*/, InputEventInjectionSync::NONE, in TEST_F()
630 mDispatcher->injectInputEvent(&event, {} /*targetUid*/, InputEventInjectionSync::NONE, in TEST_F()
642 mDispatcher->injectInputEvent(&event, {} /*targetUid*/, InputEventInjectionSync::NONE, in TEST_F()
654 mDispatcher->injectInputEvent(&event, {} /*targetUid*/, InputEventInjectionSync::NONE, in TEST_F()
666 mDispatcher->injectInputEvent(&event, {} /*targetUid*/, InputEventInjectionSync::NONE, in TEST_F()
677 mDispatcher->injectInputEvent(&event, {} /*targetUid*/, InputEventInjectionSync::NONE, in TEST_F()
690 mDispatcher->injectInputEvent(&event, {} /*targetUid*/, InputEventInjectionSync::NONE, in TEST_F()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonView.java431 mInputManager.injectInputEvent(ev, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DBackAnimationController.java513 .injectInputEvent(ev, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC)) { in sendBackEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSystemActions.java477 .injectInputEvent(event, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendKeyEventIdentityCleared()
/frameworks/base/core/java/android/view/
DWindow.java2152 public void injectInputEvent(InputEvent event) { } in injectInputEvent() method in Window
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.h106 android::os::InputEventInjectionResult injectInputEvent(

12