/cts/tests/tests/view/src/android/view/cts/ |
D | VerifyInputEventTest.java | 102 KeyEvent upEvent = new KeyEvent(downTime, SystemClock.uptimeMillis(), in testKeyEvent() local 104 mAutomation.injectInputEvent(upEvent, true); in testKeyEvent() 125 KeyEvent upEvent = new KeyEvent(downTime, SystemClock.uptimeMillis(), in testKeyEventWithoutHmac() local 127 mAutomation.injectInputEvent(upEvent, true); in testKeyEventWithoutHmac() 148 KeyEvent upEvent = new KeyEvent(downTime, SystemClock.uptimeMillis(), in testTamperedKeyEvent() local 150 mAutomation.injectInputEvent(upEvent, true); in testTamperedKeyEvent() 169 MotionEvent upEvent = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(), in testMotionEvent() local 171 mAutomation.injectInputEvent(upEvent, true); in testMotionEvent() 193 MotionEvent upEvent = MotionEvent.obtain(downTime, downTime, MotionEvent.ACTION_UP, in testMotionEventWithoutHmac() local 195 mAutomation.injectInputEvent(upEvent, true); in testMotionEventWithoutHmac() [all …]
|
D | KeyEventInjectionTest.java | 165 KeyEvent upEvent = new KeyEvent(downTime, SystemClock.uptimeMillis(), in sendKeyViaInstrumentation() local 167 mAutomation.injectInputEvent(upEvent, true); in sendKeyViaInstrumentation()
|
D | ViewUnbufferedTest.java | 205 final MotionEvent upEvent = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(), in sendPointerEvents() local 207 upEvent.setSource(source); in sendPointerEvents() 208 mAutomation.injectInputEvent(upEvent, true /* sync */); in sendPointerEvents()
|
D | ViewTest.java | 2379 MotionEvent upEvent = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, in testSetAllowClickWhenDisabled() local 2384 mockView.dispatchTouchEvent(upEvent); in testSetAllowClickWhenDisabled() 2401 upEvent = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, in testSetAllowClickWhenDisabled() 2405 mockView.dispatchTouchEvent(upEvent); in testSetAllowClickWhenDisabled() 3250 MotionEvent upEvent = in testOnTouchListener() local 3252 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testOnTouchListener() 3253 mInstrumentation.getUiAutomation().injectInputEvent(upEvent, true); in testOnTouchListener() 3256 compareAndRecycleMotionEvents(upEvent, events.poll()); in testOnTouchListener()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TouchHelper.java | 162 KeyEvent upEvent = new KeyEvent(downTime, SystemClock.uptimeMillis(), in injectKey() local 164 getInstrumentation().getUiAutomation().injectInputEvent(upEvent, sync); in injectKey()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityWindowReportingTest.java | 294 final MotionEvent upEvent = MotionEvent.obtain(downEventTime, upEventTime, in moveFocusToAnotherDisplay_movesActiveAndFocusWindow() local 296 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in moveFocusToAnotherDisplay_movesActiveAndFocusWindow() 297 upEvent.setDisplayId(virtualDisplayId); in moveFocusToAnotherDisplay_movesActiveAndFocusWindow() 298 sUiAutomation.injectInputEvent(upEvent, true); in moveFocusToAnotherDisplay_movesActiveAndFocusWindow()
|
D | AccessibilityGestureDispatchTest.java | 252 MotionEvent upEvent = mMotionEvents.get(numEvents - 1); in testSwipe_shouldContainPointsInALine() local 255 assertThat(upEvent, both(IS_ACTION_UP).and(isAtPoint(endPoint, pointTolerance))); in testSwipe_shouldContainPointsInALine() 256 assertEquals(gestureTime, upEvent.getEventTime() - downEvent.getEventTime()); in testSwipe_shouldContainPointsInALine()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowFocusTests.java | 113 final MotionEvent upEvent = MotionEvent.obtain(downTime, SystemClock.elapsedRealtime(), in tapOn() local 115 upEvent.setDisplayId(displayId); in tapOn() 116 getInstrumentation().sendPointerSync(upEvent); in tapOn()
|
D | WindowTest.java | 796 KeyEvent upEvent = new KeyEvent(KeyEvent.ACTION_UP, keyCode); in injectKeyEvent() local 797 window.injectInputEvent(upEvent); in injectKeyEvent() 808 MotionEvent upEvent = MotionEvent.obtain(downTime, upTime, MotionEvent.ACTION_UP, in injectTouchEvent() local 810 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTouchEvent() 811 window.injectInputEvent(upEvent); in injectTouchEvent()
|
/cts/tests/app/src/android/app/cts/ |
D | AlertDialog_BuilderTest.java | 679 final KeyEvent upEvent = in sendKeySync() local 681 mInstrumentation.getUiAutomation().injectInputEvent(upEvent, true /*sync*/); in sendKeySync()
|