Searched refs:receivedKeyEvent (Results 1 – 3 of 3) sorted by relevance
185 KeyEvent receivedKeyEvent = getKeyEvent(RETRY_COUNT); in assertReceivedKeyEvent() local186 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()
185 KeyEvent receivedKeyEvent = getKeyEvent(); in assertReceivedKeyEvent() local186 assertNotNull("Did not receive " + KeyEvent.keyCodeToString(keyCode), receivedKeyEvent); in assertReceivedKeyEvent()187 assertEquals(action, receivedKeyEvent.getAction()); in assertReceivedKeyEvent()188 assertEquals(keyCode, receivedKeyEvent.getKeyCode()); in assertReceivedKeyEvent()
138 KeyEvent receivedKeyEvent = waitForKey(); in assertReceivedKeyEvent() local139 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()