/aosp14/frameworks/base/apct-tests/perftests/core/src/android/view/ |
H A D | InputStageBenchmark.java | 181 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()
|
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiAutomatorBridge.java | 69 public boolean injectInputEvent(InputEvent event, boolean sync) { in injectInputEvent() method in UiAutomatorBridge 70 return mUiAutomation.injectInputEvent(event, sync); in injectInputEvent()
|
H A D | InteractionController.java | 653 return mUiAutomatorBridge.injectInputEvent(event, true);
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/ |
H A D | KeyButtonViewTest.java | 144 .injectInputEvent(any(KeyEvent.class), any(Integer.class)); in testEventInjectedOnAbortGesture() 152 .injectInputEvent(any(KeyEvent.class), any(Integer.class)); in testNoEventInjectedOnAbortUnknownGesture()
|
/aosp14/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManager.java | 962 public boolean injectInputEvent(InputEvent event, int mode, int targetUid) { in injectInputEvent() method in InputManager 963 return mGlobal.injectInputEvent(event, mode, targetUid); in injectInputEvent() 988 public boolean injectInputEvent(InputEvent event, int mode) { in injectInputEvent() method in InputManager 989 return mGlobal.injectInputEvent(event, mode); in injectInputEvent()
|
H A D | IInputManager.aidl | 72 boolean injectInputEvent(in InputEvent ev, int mode); in injectInputEvent() method
|
H A D | InputManagerGlobal.java | 1207 public boolean injectInputEvent(InputEvent event, int mode, int targetUid) { in injectInputEvent() method in InputManagerGlobal 1226 public boolean injectInputEvent(InputEvent event, int mode) { in injectInputEvent() method in InputManagerGlobal 1227 return injectInputEvent(event, mode, Process.INVALID_UID); in injectInputEvent()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | IUiAutomationConnection.aidl | 44 boolean injectInputEvent(in InputEvent event, boolean sync, boolean waitForAnimations); in injectInputEvent() method
|
H A D | UiAutomation.java | 857 public boolean injectInputEvent(InputEvent event, boolean sync) { in injectInputEvent() method in UiAutomation 858 return injectInputEvent(event, sync, true /* waitForAnimations */); in injectInputEvent() 877 public boolean injectInputEvent(@NonNull InputEvent event, boolean sync, in injectInputEvent() method in UiAutomation 885 return mUiAutomationConnection.injectInputEvent(event, sync, waitForAnimations); in injectInputEvent()
|
H A D | UiAutomationConnection.java | 139 public boolean injectInputEvent(InputEvent event, boolean sync, boolean waitForAnimations) { in injectInputEvent() method in UiAutomationConnection 165 final boolean result = InputManagerGlobal.getInstance().injectInputEvent(event, in injectInputEvent()
|
H A D | Instrumentation.java | 1134 InputManagerGlobal.getInstance().injectInputEvent(newEvent, in sendKeySync() 1233 InputManagerGlobal.getInstance().injectInputEvent( in syncInputTransactionsAndInjectEventIntoSelf() 1263 InputManagerGlobal.getInstance().injectInputEvent(event, in sendTrackballEventSync()
|
/aosp14/frameworks/base/services/core/java/com/android/server/input/ |
H A D | NativeInputManagerService.java | 94 int injectInputEvent(InputEvent event, boolean injectIntoUid, int uid, int syncMode, in injectInputEvent() method 314 public native int injectInputEvent(InputEvent event, boolean injectIntoUid, int uid, in injectInputEvent() method in NativeInputManagerService.NativeImpl
|
H A D | InputShellCommand.java | 113 InputManagerGlobal.getInstance().injectInputEvent(event, in injectKeyEvent() 182 InputManagerGlobal.getInstance().injectInputEvent(event, in injectMotionEvent() 534 InputManagerGlobal.getInstance().injectInputEvent(event, in injectKeyEventAsync()
|
H A D | InputManagerService.java | 876 public boolean injectInputEvent(InputEvent event, int mode) { in injectInputEvent() method in InputManagerService 902 result = mNative.injectInputEvent(event, injectIntoUid, in injectInputEventToTarget() 3022 mNative.injectInputEvent(event, false /* injectIntoUid */, -1 /* uid */, in sendInputEvent()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
H A D | TaskOperations.java | 69 .injectInputEvent(ev, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC)) { in sendBackEvent()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/ |
H A D | SplitScreenUtils.kt | 243 instrumentation.uiAutomation.injectInputEvent(motionEvent, true) 274 instrumentation.uiAutomation.injectInputEvent(motionMove, true)
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
H A D | SystemActionsTest.java | 102 }).when(mInputManager).injectInputEvent(any(), anyInt()); in handleHeadsetHook_callStateIdle_injectsKeyEvents()
|
/aosp14/frameworks/base/tests/Input/src/com/android/test/input/ |
H A D | AnrTest.kt | 169 instrumentation.uiAutomation.injectInputEvent(downEvent, false /* sync*/)
|
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/ |
H A D | GestureHelper.java | 304 return mUiAutomation.injectInputEvent(event, true); in injectEventSync()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
H A D | GlobalActionsDialogLiteTest.java | 273 dialog.getWindow().injectInputEvent( in testPredictiveBackInvocationDismissesDialog() 275 dialog.getWindow().injectInputEvent( in testPredictiveBackInvocationDismissesDialog()
|
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | SystemActionPerformer.java | 359 .injectInputEvent(event, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendKeyEventIdentityCleared()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
H A D | KeyButtonView.java | 432 mInputManagerGlobal.injectInputEvent(ev, in sendEvent()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
H A D | SystemActions.java | 484 .injectInputEvent(event, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendKeyEventIdentityCleared()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/ |
H A D | BackAnimationController.java | 471 .injectInputEvent(ev, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC)) { in sendBackEvent()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | Window.java | 2166 public void injectInputEvent(InputEvent event) { } in injectInputEvent() method in Window
|