Home
last modified time | relevance | path

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

/aosp12/system/chre/apps/test/chqts/src/general_test/
H A Dsend_event_test.cc79 uint16_t expectedEventType = 0xFFFF; in completeCallback() local
83 expectedEventType = kEventType0; in completeCallback()
87 expectedEventType = kEventType0; in completeCallback()
91 expectedEventType = kEventType1; in completeCallback()
95 expectedEventType = kEventType1; in completeCallback()
101 if (expectedEventType != eventType) { in completeCallback()
208 uint16_t expectedEventType = 0xFFFF; in handleEvent() local
214 expectedEventType = kEventType0; in handleEvent()
220 expectedEventType = kEventType1; in handleEvent()
224 if (expectedEventType != eventType) { in handleEvent()
/aosp12/frameworks/native/services/inputflinger/tests/
H A DInputDispatcher_test.cpp773 void consumeEvent(int32_t expectedEventType, int32_t expectedAction, in consumeEvent() argument
780 ASSERT_EQ(expectedEventType, event->getType()) in consumeEvent()
781 << mName.c_str() << " expected " << inputEventTypeToString(expectedEventType) in consumeEvent()
788 switch (expectedEventType) { in consumeEvent()
815 FAIL() << mName.c_str() << ": invalid event type: " << expectedEventType; in consumeEvent()
1065 void consumeEvent(int32_t expectedEventType, int32_t expectedAction, in consumeEvent() argument
1069 mInputReceiver->consumeEvent(expectedEventType, expectedAction, expectedDisplayId, in consumeEvent()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
H A DCarUserServiceTest.java440 private void verifyListenerOnEventInvoked(int expectedNewUserId, int expectedEventType) in verifyListenerOnEventInvoked() argument
443 assertThat(actualEvent.getEventType()).isEqualTo(expectedEventType); in verifyListenerOnEventInvoked()