Lines Matching refs:RawEvent
33 using android::RawEvent;
41 static void dumpEvents(const std::vector<RawEvent>& events) { in dumpEvents()
42 for (const RawEvent& event : events) { in dumpEvents()
98 std::vector<RawEvent> getEvents(std::optional<size_t> expectedEvents = std::nullopt);
101 std::vector<RawEvent> EventHubTest::getEvents(std::optional<size_t> expectedEvents) { in getEvents()
103 std::array<RawEvent, EVENT_BUFFER_SIZE> eventBuffer; in getEvents()
104 std::vector<RawEvent> events; in getEvents()
133 std::vector<RawEvent> events = getEvents(); in consumeInitialDeviceAddedEvents()
137 const RawEvent& event = events[i]; in consumeInitialDeviceAddedEvents()
150 std::vector<RawEvent> events = getEvents(2); in waitForDeviceCreation()
155 const RawEvent& deviceAddedEvent = events[0]; in waitForDeviceCreation()
160 const RawEvent& finishedDeviceScanEvent = events[1]; in waitForDeviceCreation()
167 std::vector<RawEvent> events = getEvents(2); in waitForDeviceClose()
169 const RawEvent& deviceRemovedEvent = events[0]; in waitForDeviceClose()
172 const RawEvent& finishedDeviceScanEvent = events[1]; in waitForDeviceClose()
178 std::vector<RawEvent> events = getEvents(); in assertNoMoreEvents()
192 std::vector<RawEvent> events = getEvents(4); in TEST_F()
194 for (const RawEvent& event : events) { in TEST_F()