/frameworks/base/apct-tests/perftests/core/src/android/view/ |
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()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiAutomatorBridge.java | 69 public boolean injectInputEvent(InputEvent event, boolean sync) { in injectInputEvent() method in UiAutomatorBridge 70 return mUiAutomation.injectInputEvent(event, sync); in injectInputEvent()
|
D | InteractionController.java | 653 return mUiAutomatorBridge.injectInputEvent(event, true);
|
/frameworks/base/tests/Input/src/com/android/server/input/ |
D | InputManagerServiceTests.kt | 287 service.injectInputEvent(downEvent, InputEventInjectionSync.NONE) in addUniqueIdAssociationByDescriptor_verifyAssociations() 307 service.injectInputEvent(upEvent, InputEventInjectionSync.NONE) in addUniqueIdAssociationByDescriptor_verifyAssociations() 349 service.injectInputEvent(downEvent, InputEventInjectionSync.NONE) in addUniqueIdAssociationByPort_verifyAssociations() 369 service.injectInputEvent(upEvent, InputEventInjectionSync.NONE) in addUniqueIdAssociationByPort_verifyAssociations()
|
/frameworks/native/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 155 dispatcher->injectInputEvent(&event, /*targetUid=*/{}, InputEventInjectionSync::NONE, in benchmarkInjectMotion() 161 dispatcher->injectInputEvent(&event, /*targetUid=*/{}, InputEventInjectionSync::NONE, in benchmarkInjectMotion()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityRecordInputSinkTests.java | 184 mUiAutomation.injectInputEvent(down, true); in injectTapOnButton() 190 mUiAutomation.injectInputEvent(up, true); in injectTapOnButton()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/ |
D | KeyButtonViewTest.java | 146 .injectInputEvent(any(KeyEvent.class), any(Integer.class)); in testEventInjectedOnAbortGesture() 154 .injectInputEvent(any(KeyEvent.class), any(Integer.class)); in testNoEventInjectedOnAbortUnknownGesture()
|
/frameworks/base/core/java/android/app/ |
D | IUiAutomationConnection.aidl | 44 boolean injectInputEvent(in InputEvent event, boolean sync, boolean waitForAnimations); in injectInputEvent() method
|
D | UiAutomation.java | 963 public boolean injectInputEvent(InputEvent event, boolean sync) { in injectInputEvent() method in UiAutomation 964 return injectInputEvent(event, sync, true /* waitForAnimations */); in injectInputEvent() 983 public boolean injectInputEvent(@NonNull InputEvent event, boolean sync, in injectInputEvent() method in UiAutomation 991 return mUiAutomationConnection.injectInputEvent(event, sync, waitForAnimations); in injectInputEvent()
|
D | UiAutomationConnection.java | 140 public boolean injectInputEvent(InputEvent event, boolean sync, boolean waitForAnimations) { in injectInputEvent() method in UiAutomationConnection 166 final boolean result = InputManagerGlobal.getInstance().injectInputEvent(event, in injectInputEvent()
|
D | Instrumentation.java | 1204 InputManagerGlobal.getInstance().injectInputEvent(newEvent, in sendKeySync() 1303 InputManagerGlobal.getInstance().injectInputEvent( in syncInputTransactionsAndInjectEventIntoSelf() 1333 InputManagerGlobal.getInstance().injectInputEvent(event, in sendTrackballEventSync()
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputManager.java | 929 public boolean injectInputEvent(InputEvent event, int mode, int targetUid) { in injectInputEvent() method in InputManager 930 return mGlobal.injectInputEvent(event, mode, targetUid); in injectInputEvent() 955 public boolean injectInputEvent(InputEvent event, int mode) { in injectInputEvent() method in InputManager 956 return mGlobal.injectInputEvent(event, mode); in injectInputEvent()
|
D | IInputManager.aidl | 79 boolean injectInputEvent(in InputEvent ev, int mode); in injectInputEvent() method
|
D | InputManagerGlobal.java | 1378 public boolean injectInputEvent(InputEvent event, int mode, int targetUid) { in injectInputEvent() method in InputManagerGlobal 1397 public boolean injectInputEvent(InputEvent event, int mode) { in injectInputEvent() method in InputManagerGlobal 1398 return injectInputEvent(event, mode, Process.INVALID_UID); in injectInputEvent()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | TaskOperations.java | 69 .injectInputEvent(ev, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC)) { in sendBackEvent()
|
/frameworks/native/services/inputflinger/dispatcher/include/ |
D | InputDispatcherInterface.h | 78 virtual android::os::InputEventInjectionResult injectInputEvent(
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | NativeInputManagerService.java | 94 int injectInputEvent(InputEvent event, boolean injectIntoUid, int uid, int syncMode, in injectInputEvent() method 341 public native int injectInputEvent(InputEvent event, boolean injectIntoUid, int uid, in injectInputEvent() method in NativeInputManagerService.NativeImpl
|
D | InputShellCommand.java | 129 this(InputShellCommand::injectInputEvent); in InputShellCommand() 137 private static void injectInputEvent(InputEvent event, Integer injectMode) { in injectInputEvent() method in InputShellCommand 138 InputManagerGlobal.getInstance().injectInputEvent(event, injectMode); in injectInputEvent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | SystemActionsTest.java | 106 }).when(mInputManager).injectInputEvent(any(), anyInt()); in handleHeadsetHook_callStateIdle_injectsKeyEvents()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/ |
D | SplitScreenUtils.kt | 253 instrumentation.uiAutomation.injectInputEvent(motionEvent, true) in <lambda>() 284 instrumentation.uiAutomation.injectInputEvent(motionMove, true) in <lambda>()
|
/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/ |
D | GestureHelper.java | 304 return mUiAutomation.injectInputEvent(event, true); in injectEventSync()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/ |
D | BackAnimationControllerTest.java | 372 .injectInputEvent(any(KeyEvent.class), any(Integer.class)); in gestureQueued_WhenPreviousTransitionHasNotYetEnded() 412 .injectInputEvent(any(KeyEvent.class), any(Integer.class)); in queuedFinishedGesture_RunsAfterPreviousTransitionEnded()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | SystemActionPerformer.java | 359 .injectInputEvent(event, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendKeyEventIdentityCleared()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialogLiteTest.java | 291 dialog.getWindow().injectInputEvent( in testPredictiveBackInvocationDismissesDialog() 293 dialog.getWindow().injectInputEvent( in testPredictiveBackInvocationDismissesDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | KeyButtonView.java | 448 mInputManagerGlobal.injectInputEvent(ev, in sendEvent()
|