Lines Matching refs:EventHubInterface
31 using android::EventHubInterface;
43 if (event.type >= EventHubInterface::FIRST_SYNTHETIC_EVENT) { in dumpEvents()
45 case EventHubInterface::DEVICE_ADDED: in dumpEvents()
48 case EventHubInterface::DEVICE_REMOVED: in dumpEvents()
51 case EventHubInterface::FINISHED_DEVICE_SCAN: in dumpEvents()
65 std::unique_ptr<EventHubInterface> mEventHub;
142 EXPECT_EQ(EventHubInterface::DEVICE_ADDED, event.type); in consumeInitialDeviceAddedEvents()
149 EXPECT_EQ(EventHubInterface::FINISHED_DEVICE_SCAN, events[events.size() - 1].type); in consumeInitialDeviceAddedEvents()
160 EXPECT_EQ(static_cast<int32_t>(EventHubInterface::DEVICE_ADDED), deviceAddedEvent.type); in waitForDeviceCreation()
165 EXPECT_EQ(static_cast<int32_t>(EventHubInterface::FINISHED_DEVICE_SCAN), in waitForDeviceCreation()
174 EXPECT_EQ(static_cast<int32_t>(EventHubInterface::DEVICE_REMOVED), deviceRemovedEvent.type); in waitForDeviceClose()
177 EXPECT_EQ(static_cast<int32_t>(EventHubInterface::FINISHED_DEVICE_SCAN), in waitForDeviceClose()