Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
DDeadKeyCombiner.java225 Event lastEvent = null; in createEventChainFromSequence() local
228 lastEvent = Event.createHardwareKeypressEvent(codePoint, in createEventChainFromSequence()
229 originalEvent.mKeyCode, lastEvent, false /* isKeyRepeat */); in createEventChainFromSequence()
232 return lastEvent; in createEventChainFromSequence()
/packages/services/Car/tests/carservice_test/src/com/android/car/input/
DCarInputManagerTest.java913 Pair<Integer, List<KeyEvent>> lastEvent = events.getFirst(); in waitAndAssertLastKeyEvent() local
914 assertThat(lastEvent.first).isEqualTo(displayTarget); in waitAndAssertLastKeyEvent()
915 assertThat(lastEvent.second).hasSize(1); in waitAndAssertLastKeyEvent()
916 KeyEvent keyEvent = lastEvent.second.get(0); in waitAndAssertLastKeyEvent()
934 Pair<Integer, List<RotaryEvent>> lastEvent = rotaryEvents.getFirst(); in waitAndAssertLastRotaryEvent() local
935 assertThat(lastEvent.first).isEqualTo(displayTarget); in waitAndAssertLastRotaryEvent()
936 assertThat(lastEvent.second).hasSize(1); in waitAndAssertLastRotaryEvent()
937 RotaryEvent rotaryEvent = lastEvent.second.get(0); in waitAndAssertLastRotaryEvent()
991 Pair<Integer, List<CustomInputEvent>> lastEvent = events.getFirst(); in waitAndAssertLastCustomInputEvent() local
992 assertThat(lastEvent.first).isEqualTo(expectedDisplayType); in waitAndAssertLastCustomInputEvent()
[all …]
/packages/services/Car/car-lib/src/android/car/evs/
DCarEvsManager.java534 int lastEvent; in waitForStreamEvent() local
536 lastEvent = mLastStreamEvent.get(from, KEY_NOT_EXIST); in waitForStreamEvent()
538 if (lastEvent == KEY_NOT_EXIST) { in waitForStreamEvent()
543 if (lastEvent == expected) { in waitForStreamEvent()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetdEventListenerServiceTest.java160 String lastEvent = events4[events4.length - 1]; in testWakeupEventLogging() local
161 assertStringContains(lastEvent, "WakeupEvent"); in testWakeupEventLogging()
162 assertStringContains(lastEvent, "wlan0"); in testWakeupEventLogging()
163 assertStringContains(lastEvent, "uid: " + uid); in testWakeupEventLogging()
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DSipSessionTracker.java104 Runnable lastEvent = mPendingAck.get(message.getViaBranchParameter()); in filterSipMessage() local
109 if (lastEvent != null) lastEvent.run(); in filterSipMessage()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarStorageMonitoringTest.java744 IoStats lastEvent = mLastEvent; in reset() local
746 return lastEvent; in reset()