/cts/tests/tests/view/src/android/view/cts/ |
D | VerifyInputEventTest.java | 112 KeyEvent upEvent = new KeyEvent(downTime, SystemClock.uptimeMillis(), in testKeyEvent() local 114 mAutomation.injectInputEvent(upEvent, true); in testKeyEvent() 135 KeyEvent upEvent = new KeyEvent(downTime, SystemClock.uptimeMillis(), in testKeyEventWithoutHmac() local 137 mAutomation.injectInputEvent(upEvent, true); in testKeyEventWithoutHmac() 158 KeyEvent upEvent = new KeyEvent(downTime, SystemClock.uptimeMillis(), in testTamperedKeyEvent() local 160 mAutomation.injectInputEvent(upEvent, true); in testTamperedKeyEvent() 180 MotionEvent upEvent = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(), in testMotionEvent() local 182 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testMotionEvent() 183 mAutomation.injectInputEvent(upEvent, true); in testMotionEvent() 206 MotionEvent upEvent = MotionEvent.obtain(downTime, downTime, MotionEvent.ACTION_UP, in testMotionEventWithoutHmac() local [all …]
|
D | KeyEventInjectionTest.java | 174 KeyEvent upEvent = new KeyEvent(downTime, SystemClock.uptimeMillis(), in sendKeyViaInstrumentation() local 176 mAutomation.injectInputEvent(upEvent, true); in sendKeyViaInstrumentation()
|
D | ViewUnbufferedTest.java | 215 final MotionEvent upEvent = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(), in sendPointerEvents() local 217 upEvent.setSource(source); in sendPointerEvents() 218 mInstrumentation.sendPointerSync(upEvent); in sendPointerEvents()
|
D | ViewTest.java | 2501 MotionEvent upEvent = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, in testSetAllowClickWhenDisabled() local 2506 mockView.dispatchTouchEvent(upEvent); in testSetAllowClickWhenDisabled() 2523 upEvent = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, in testSetAllowClickWhenDisabled() 2527 mockView.dispatchTouchEvent(upEvent); in testSetAllowClickWhenDisabled() 3377 MotionEvent upEvent = in testOnTouchListener() local 3379 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testOnTouchListener() 3380 mInstrumentation.sendPointerSync(upEvent); in testOnTouchListener() 3383 compareAndRecycleMotionEvents(upEvent, events.poll()); in testOnTouchListener()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | DisplayUtils.java | 191 final MotionEvent upEvent = MotionEvent.obtain(downEventTime, upEventTime, in touchDisplay() local 193 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in touchDisplay() 194 upEvent.setDisplayId(displayId); in touchDisplay() 195 uiAutomation.injectInputEvent(upEvent, true); in touchDisplay()
|
/cts/tests/input/src/android/input/cts/ |
D | InputShellCommandTest.kt | 165 val upEvent = getMotionEvent() in assertTapToolType() constant 166 assertThat(upEvent.action).isEqualTo(MotionEvent.ACTION_UP) in assertTapToolType() 167 assertToolType(upEvent, toolType) in assertTapToolType()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TouchHelper.java | 178 final KeyEvent upEvent = new KeyEvent(downTime, SystemClock.uptimeMillis(), in injectKeyActionUp() local 181 getInstrumentation().getUiAutomation().injectInputEvent(upEvent, sync); in injectKeyActionUp()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarInputTest.java | 540 var upEvent = passengerActivity.getInputEvent(); in assertReceivedKeyCode() local 548 .that(upEvent instanceof KeyEvent).isTrue(); in assertReceivedKeyCode() 557 .that(((KeyEvent) upEvent).getKeyCode()).isEqualTo(keyCode); in assertReceivedKeyCode() 560 .that(((KeyEvent) upEvent).getAction()).isEqualTo(KeyEvent.ACTION_UP); in assertReceivedKeyCode()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | WindowTest.java | 823 KeyEvent upEvent = new KeyEvent(KeyEvent.ACTION_UP, keyCode); in injectKeyEvent() local 824 window.injectInputEvent(upEvent); in injectKeyEvent() 835 MotionEvent upEvent = MotionEvent.obtain(downTime, upTime, MotionEvent.ACTION_UP, in injectTouchEvent() local 837 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTouchEvent() 838 window.injectInputEvent(upEvent); in injectTouchEvent()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
D | WindowFocusTests.java | 126 final MotionEvent upEvent = MotionEvent.obtain(downTime, SystemClock.elapsedRealtime(), in tapOn() local 128 upEvent.setDisplayId(displayId); in tapOn() 129 getInstrumentation().sendPointerSync(upEvent); in tapOn()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | CameraEvictionTest.java | 375 MotionEvent upEvent = MotionEvent.obtain(systemClock, in injectTapEvent() local 378 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTapEvent() 379 assertTrue("Failed to inject upEvent.", mUiAutomation.injectInputEvent(upEvent, true)); in injectTapEvent()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGestureDispatchTest.java | 258 MotionEvent upEvent = mMotionEvents.get(numEvents - 1); in testSwipe_shouldContainPointsInALine() local 261 assertThat(upEvent, both(IS_ACTION_UP).and(isAtPoint(endPoint, pointTolerance))); in testSwipe_shouldContainPointsInALine() 262 assertEquals(gestureTime, upEvent.getEventTime() - downEvent.getEventTime()); in testSwipe_shouldContainPointsInALine()
|
/cts/tests/app/src/android/app/cts/ |
D | AlertDialog_BuilderTest.java | 631 final KeyEvent upEvent = in sendKeySync() local 633 mInstrumentation.getUiAutomation().injectInputEvent(upEvent, true /*sync*/); in sendKeySync()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | UiBot.java | 1557 final MotionEvent upEvent = getMotionEvent(downTime, SystemClock.uptimeMillis(), 1559 return mAutoman.injectInputEvent(upEvent, true);
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | StylusHandwritingTest.java | 1458 MotionEvent upEvent = in testOnViewClicked_withStylusHandwriting() local 1460 int toolTypeFinger = upEvent.getToolType(upEvent.getActionIndex()); in testOnViewClicked_withStylusHandwriting()
|