Home
last modified time | relevance | path

Searched refs:getDownTime (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/view/jni/
Dandroid_view_cts_AInputNativeTest.cpp33 jmethodID getDownTime; member
45 jmethodID getDownTime; member
56 jlong downTime = env->CallLongMethod(obj, gMotionEventMethodIds.getDownTime) * NS_PER_MS; in nativeMotionEventTest()
126 jlong downTime = env->CallLongMethod(obj, gKeyEventMethodIds.getDownTime) * NS_PER_MS; in nativeKeyEventTest()
178 gMotionEventMethodIds.getDownTime = env->GetMethodID(clazz, "getDownTime", "()J"); in register_android_view_cts_AMotionEventNativeTest()
193 gKeyEventMethodIds.getDownTime = env->GetMethodID(clazz, "getDownTime", "()J"); in register_android_view_cts_AKeyEventNativeTest()
/cts/tests/tests/view/src/android/view/cts/
DKeyEventTest.java272 assertEquals(mDownTime, mKeyEvent.getDownTime()); in testGetDownTime()
675 assertEquals(mKeyEvent.getDownTime(), keyEvent.getDownTime()); in testWriteToParcel()
721 assertEquals(mKeyEvent.getDownTime(), newEvent.getDownTime()); in testChangeAction()
738 assertEquals(mKeyEvent.getDownTime(), newEvent.getDownTime()); in testChangeFlags()
759 assertEquals(mKeyEvent.getDownTime(), newEvent.getDownTime()); in testChangeTimeRepeat()
854 assertEquals(javaKeyEvent.getDownTime(), keyEventFromNative.getDownTime()); in testNativeToJavaConverter()
DMotionEventTest.java145 assertEquals(mDownTime, mMotionEvent1.getDownTime()); in testObtainBasic()
166 assertEquals(mMotionEvent2.getDownTime(), mMotionEventDynamic.getDownTime()); in testObtainFromMotionEvent()
189 assertEquals(mDownTime, mMotionEventDynamic.getDownTime()); in testObtainAllFields()
343 assertEquals(mMotionEvent2.getDownTime(), motionEvent.getDownTime()); in testWriteToParcel()
1117 withDownTime(javaMotionEvent.getDownTime()), in testNativeToJavaConverter()
DVerifyInputEventTest.java334 assertEquals(keyEvent.getDownTime() * NANOS_PER_MILLISECOND, in compareKeys()
356 assertEquals(motionEvent.getDownTime() * NANOS_PER_MILLISECOND, in compareMotions()
DViewTest.java3331 assertEquals(event1.getDownTime(), event2.getDownTime()); in compareAndRecycleMotionEvents()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java211 assertEquals(clickDown.getDownTime(), clickDown.getEventTime()); in testClickAt_producesDownThenUp()
212 assertEquals(clickDown.getDownTime(), clickUp.getDownTime()); in testClickAt_producesDownThenUp()
214 clickUp.getEventTime() - clickUp.getDownTime()); in testClickAt_producesDownThenUp()
237 assertEquals(clickDown.getDownTime(), clickUp.getDownTime()); in testLongClickAt_producesEventsWithLongClickTiming()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputTestCase.java376 MotionEvent.obtain(event.getDownTime(), eventTime, event.getAction(), in splitBatchedMotionEvent()
387 MotionEvent.obtain(event.getDownTime(), event.getEventTime(), event.getAction(), in splitBatchedMotionEvent()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DTestUtils.java605 MotionEvent.obtain(event.getDownTime(), eventTime, event.getAction(), in splitBatchedMotionEvent()
616 MotionEvent.obtain(event.getDownTime(), event.getEventTime(), event.getAction(), in splitBatchedMotionEvent()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java252 long downTime = event.getDownTime(); in sendKey()
/cts/tests/tests/tv/src/android/media/tv/ad/cts/
DTvAdServiceTest.java607 assertThat(actual.getDownTime()).isEqualTo(expected.getDownTime()); in assertKeyEventEquals()
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java278 assertEquals(orig.getDownTime(), motionEvent.getDownTime()); in testSendTrackballEventSync()
DDialogTest.java529 assertEquals(expected.getDownTime(), actual.getDownTime()); in assertMotionEventEquals()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java1239 assertThat(actual.getDownTime()).isEqualTo(expected.getDownTime()); in assertKeyEventEquals()
1258 assertThat(actual).hasDownTime(expected.getDownTime()); in assertMotionEventEquals()
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/
DTvInteractiveAppServiceTest.java2204 assertThat(actual.getDownTime()).isEqualTo(expected.getDownTime()); in assertKeyEventEquals()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt51170 method public final long getDownTime();
51780 method public long getDownTime();