Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DKeyEventTest.java851 KeyEvent keyEventFromNative = obtainKeyEventCopyFromNative(javaKeyEvent); in testNativeToJavaConverter() local
852 assertNotNull(keyEventFromNative); in testNativeToJavaConverter()
853 assertNotSame(javaKeyEvent, keyEventFromNative); in testNativeToJavaConverter()
854 assertEquals(javaKeyEvent.getDownTime(), keyEventFromNative.getDownTime()); in testNativeToJavaConverter()
855 assertEquals(javaKeyEvent.getEventTime(), keyEventFromNative.getEventTime()); in testNativeToJavaConverter()
856 assertEquals(javaKeyEvent.getAction(), keyEventFromNative.getAction()); in testNativeToJavaConverter()
857 assertEquals(javaKeyEvent.getKeyCode(), keyEventFromNative.getKeyCode()); in testNativeToJavaConverter()
858 assertEquals(javaKeyEvent.getRepeatCount(), keyEventFromNative.getRepeatCount()); in testNativeToJavaConverter()
859 assertEquals(javaKeyEvent.getMetaState(), keyEventFromNative.getMetaState()); in testNativeToJavaConverter()
860 assertEquals(javaKeyEvent.getDeviceId(), keyEventFromNative.getDeviceId()); in testNativeToJavaConverter()
[all …]