Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/apct-tests/perftests/core/src/android/view/
H A 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()
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DGestureBot.java149 return mAutomation.injectInputEvent(event, true); in touchDown()
156 return mAutomation.injectInputEvent(event, true); in touchUp()
163 return mAutomation.injectInputEvent(event, true); in touchMove()
H A DDirectoryListBot.java371 mAutomation.injectInputEvent(motionDown, true); in rightClickDocument()
382 mAutomation.injectInputEvent(motionUp, true); in rightClickDocument()
/aosp12/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiAutomatorBridge.java69 public boolean injectInputEvent(InputEvent event, boolean sync) { in injectInputEvent() method in UiAutomatorBridge
70 return mUiAutomation.injectInputEvent(event, sync); in injectInputEvent()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
H A DKeyButtonViewTest.java143 .injectInputEvent(any(KeyEvent.class), any(Integer.class)); in testEventInjectedOnAbortGesture()
151 .injectInputEvent(any(KeyEvent.class), any(Integer.class)); in testNoEventInjectedOnAbortUnknownGesture()
/aosp12/frameworks/base/core/java/android/hardware/input/
H A DInputManagerInternal.java39 public abstract boolean injectInputEvent(InputEvent event, int mode); in injectInputEvent() method in InputManagerInternal
H A DIInputManager.aidl59 boolean injectInputEvent(in InputEvent ev, int mode); in injectInputEvent() method
H A DInputManager.java1080 public boolean injectInputEvent(InputEvent event, int mode) { in injectInputEvent() method in InputManager
1091 return mIm.injectInputEvent(event, mode); in injectInputEvent()
/aosp12/frameworks/base/core/java/android/app/
H A DIUiAutomationConnection.aidl42 boolean injectInputEvent(in InputEvent event, boolean sync, boolean waitForAnimations); in injectInputEvent() method
H A 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()
H A DUiAutomationConnection.java129 public boolean injectInputEvent(InputEvent event, boolean sync, boolean waitForAnimations) { in injectInputEvent() method in UiAutomationConnection
/aosp12/frameworks/base/services/core/java/com/android/server/input/
H A DInputShellCommand.java69 InputManager.getInstance().injectInputEvent(event, in injectKeyEvent()
138 InputManager.getInstance().injectInputEvent(event, in injectMotionEvent()
489 InputManager.getInstance().injectInputEvent(event, in injectKeyEventAsync()
/aosp12/frameworks/native/services/inputflinger/benchmarks/
H A DInputDispatcher_benchmarks.cpp322 dispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in benchmarkInjectMotion()
328 dispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in benchmarkInjectMotion()
/aosp12/frameworks/native/services/inputflinger/dispatcher/include/
H A DInputDispatcherInterface.h75 virtual android::os::InputEventInjectionResult injectInputEvent(
/aosp12/frameworks/base/tests/Input/src/com/android/test/input/
H A DAnrTest.kt90 mInstrumentation.uiAutomation.injectInputEvent(downEvent, false /* sync*/)
/aosp12/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
H A DLiveChannelsTestController.java169 return getUiAutomation().injectInputEvent(event, sync); in injectEvent()
/aosp12/frameworks/native/services/inputflinger/tests/
H A DInputDispatcher_test.cpp503 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
512 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
542 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
556 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
569 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
583 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
596 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
608 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
619 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
632 mDispatcher->injectInputEvent(&event, INJECTOR_PID, INJECTOR_UID, in TEST_F()
[all …]
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DSystemActionPerformer.java325 .injectInputEvent(event, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendKeyEventIdentityCleared()
/aosp12/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/
H A DClusterHomeApplication.java276 mInputManager.injectInputEvent(keyEvent, INJECT_INPUT_EVENT_MODE_ASYNC); in onKeyEvent()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DSystemActions.java368 .injectInputEvent(event, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendKeyEventIdentityCleared()
/aosp12/system/sepolicy/prebuilts/api/31.0/public/
H A Dshell.te228 # Everyone should have already moved to UiAutomation#injectInputEvent
/aosp12/system/sepolicy/prebuilts/api/32.0/public/
H A Dshell.te228 # Everyone should have already moved to UiAutomation#injectInputEvent
/aosp12/system/sepolicy/public/
H A Dshell.te228 # Everyone should have already moved to UiAutomation#injectInputEvent
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
H A DKeyButtonView.java436 mInputManager.injectInputEvent(ev, InputManager.INJECT_INPUT_EVENT_MODE_ASYNC); in sendEvent()
/aosp12/system/sepolicy/prebuilts/api/29.0/public/
H A Dshell.te251 # Everyone should have already moved to UiAutomation#injectInputEvent

12