Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/input/
DInputDeviceMultiDeviceKeyEventTest.java185 KeyEvent receivedKeyEvent = getKeyEvent(RETRY_COUNT); in assertReceivedKeyEvent() local
186 String log = "Expected " + expectedKeyEvent + " Received " + receivedKeyEvent; in assertReceivedKeyEvent()
187 assertNotNull(log, receivedKeyEvent); in assertReceivedKeyEvent()
189 receivedKeyEvent.getDeviceId()); in assertReceivedKeyEvent()
191 receivedKeyEvent.getAction()); in assertReceivedKeyEvent()
193 receivedKeyEvent.getSource()); in assertReceivedKeyEvent()
195 receivedKeyEvent.getKeyCode()); in assertReceivedKeyEvent()
197 receivedKeyEvent.getRepeatCount()); in assertReceivedKeyEvent()
DInputDeviceKeyLayoutMapTest.java185 KeyEvent receivedKeyEvent = getKeyEvent(); in assertReceivedKeyEvent() local
186 assertNotNull("Did not receive " + KeyEvent.keyCodeToString(keyCode), receivedKeyEvent); in assertReceivedKeyEvent()
187 assertEquals(action, receivedKeyEvent.getAction()); in assertReceivedKeyEvent()
188 assertEquals(keyCode, receivedKeyEvent.getKeyCode()); in assertReceivedKeyEvent()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputTestCase.java138 KeyEvent receivedKeyEvent = waitForKey(); in assertReceivedKeyEvent() local
139 if (receivedKeyEvent == null) { in assertReceivedKeyEvent()
143 expectedKeyEvent.getAction(), receivedKeyEvent.getAction()); in assertReceivedKeyEvent()
144 assertSource(mCurrentTestCase, expectedKeyEvent, receivedKeyEvent); in assertReceivedKeyEvent()
147 + KeyEvent.keyCodeToString(receivedKeyEvent.getKeyCode()), in assertReceivedKeyEvent()
148 expectedKeyEvent.getKeyCode(), receivedKeyEvent.getKeyCode()); in assertReceivedKeyEvent()
150 receivedKeyEvent.getMetaState()); in assertReceivedKeyEvent()