Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectedPresentation.java43 getWindow().injectInputEvent(event); in injectTouchEvent()
48 getWindow().injectInputEvent(event); in injectKeyEvent()
/cts/tests/tests/media/src/android/media/cts/
DMediaSessionManagerTest.java111 private void injectInputEvent(int keyCode, boolean longPress) throws IOException { in injectInputEvent() method in MediaSessionManagerTest
133 injectInputEvent(KeyEvent.KEYCODE_VOLUME_DOWN, true); in testSetOnVolumeKeyLongPressListener()
146 injectInputEvent(KeyEvent.KEYCODE_VOLUME_DOWN, false); in testSetOnVolumeKeyLongPressListener()
152 injectInputEvent(KeyEvent.KEYCODE_VOLUME_DOWN, true); in testSetOnVolumeKeyLongPressListener()
181 injectInputEvent(KeyEvent.KEYCODE_HEADSETHOOK, false); in testSetOnMediaKeyListener()
195 injectInputEvent(KeyEvent.KEYCODE_HEADSETHOOK, false); in testSetOnMediaKeyListener()
213 injectInputEvent(KeyEvent.KEYCODE_HEADSETHOOK, false); in testSetOnMediaKeyListener()
247 injectInputEvent(KeyEvent.KEYCODE_HEADSETHOOK, false); in testRemoteUserInfo()
/cts/tests/tests/view/src/android/view/cts/
DKeyEventInjectionTest.java158 mAutomation.injectInputEvent(downEvent, true); in sendKeyViaInstrumentation()
163 mAutomation.injectInputEvent(repeatEvent, true); in sendKeyViaInstrumentation()
167 mAutomation.injectInputEvent(upEvent, true); in sendKeyViaInstrumentation()
DLongPressBackTest.java68 automation.injectInputEvent(new KeyEvent(currentTime, currentTime, KeyEvent.ACTION_DOWN, in testAppIsNotDismissed()
84 automation.injectInputEvent(new KeyEvent(currentTime, currentTime, KeyEvent.ACTION_UP, in testAppIsNotDismissed()
DKeyEventInterceptTest.java135 automation.injectInputEvent(event, true); in injectEvent()
DViewTest.java3181 mInstrumentation.getUiAutomation().injectInputEvent(downEvent, true); in testOnTouchListener()
3186 mInstrumentation.getUiAutomation().injectInputEvent(upEvent, true); in testOnTouchListener()
4561 mInstrumentation.getUiAutomation().injectInputEvent(event, true); in startDragAndDrop()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsTouchUtils.java279 uiAutomation.injectInputEvent(eventDown, true); in injectDownEvent()
292 uiAutomation.injectInputEvent(eventMove, true); in injectMoveEventForTap()
358 uiAutomation.injectInputEvent(eventMove, true); in injectMoveEventsForDrag()
377 uiAutomation.injectInputEvent(eventUp, true); in injectUpEvent()
DCtsMouseUtil.java94 uiAutomation.injectInputEvent(event, true); in injectHoverEvent()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DCtsTouchUtils.java278 uiAutomation.injectInputEvent(eventDown, true); in injectDownEvent()
291 uiAutomation.injectInputEvent(eventMove, true); in injectMoveEventForTap()
357 uiAutomation.injectInputEvent(eventMove, true); in injectMoveEventsForDrag()
376 uiAutomation.injectInputEvent(eventUp, true); in injectUpEvent()
DCtsMouseUtil.java94 uiAutomation.injectInputEvent(event, true); in injectHoverEvent()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DActivityLaunchUtils.java192 uiAutomation.injectInputEvent( in wakeUpOrBust()
197 uiAutomation.injectInputEvent( in wakeUpOrBust()
/cts/tests/tests/systemui/src/android/systemui/cts/
DTouchHelper.java86 return mUiAutomation.injectInputEvent(event, true); in injectEventSync()
DLightBarTests.java150 assertTrue(automation.injectInputEvent(event, true)); in injectEvent()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowTest.java720 window.injectInputEvent(downEvent); in injectKeyEvent()
722 window.injectInputEvent(upEvent); in injectKeyEvent()
731 window.injectInputEvent(downEvent); in injectTouchEvent()
736 window.injectInputEvent(upEvent); in injectTouchEvent()
DDragDropTest.java249 mAutomation.injectInputEvent(event, false); in injectMouseWithOffset()
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java203 automation.injectInputEvent(event, true); in injectEvent()
/cts/tests/app/src/android/app/cts/
DAlertDialog_BuilderTest.java700 mInstrumentation.getUiAutomation().injectInputEvent(downEvent, true /*sync*/); in sendKeySync()
704 mInstrumentation.getUiAutomation().injectInputEvent(upEvent, true /*sync*/); in sendKeySync()
DDialogTest.java474 mInstrumentation.getUiAutomation().injectInputEvent(event, true); in sendTouchEvent()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java1035 sUiAutomation.injectInputEvent(event, true); in injectHoverEvent()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java543 getInstrumentation().getUiAutomation().injectInputEvent(event, true /* sync */); in injectMotion()