Searched refs:EventHubInterface (Results 1 – 13 of 13) sorted by relevance
/frameworks/native/services/inputflinger/tests/ |
D | EventHub_test.cpp | 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() 62 std::unique_ptr<EventHubInterface> mEventHub; 139 EXPECT_EQ(EventHubInterface::DEVICE_ADDED, event.type); in consumeInitialDeviceAddedEvents() 155 EXPECT_EQ(static_cast<int32_t>(EventHubInterface::DEVICE_ADDED), deviceAddedEvent.type); in waitForDeviceCreation() 166 EXPECT_EQ(static_cast<int32_t>(EventHubInterface::DEVICE_REMOVED), deviceRemovedEvent.type); in waitForDeviceClose()
|
D | InstrumentedInputReader.cpp | 21 InstrumentedInputReader::InstrumentedInputReader(std::shared_ptr<EventHubInterface> eventHub, in InstrumentedInputReader()
|
D | InstrumentedInputReader.h | 32 InstrumentedInputReader(std::shared_ptr<EventHubInterface> eventHub,
|
D | InterfaceMocks.h | 71 MOCK_METHOD(EventHubInterface*, getEventHub, (), (override)); 91 class MockEventHubInterface : public EventHubInterface {
|
D | FakeEventHub.cpp | 44 enqueueEvent(ARBITRARY_TIME, READ_TIME, deviceId, EventHubInterface::DEVICE_ADDED, 0, 0); in addDevice() 51 enqueueEvent(ARBITRARY_TIME, READ_TIME, deviceId, EventHubInterface::DEVICE_REMOVED, 0, 0); in removeDevice()
|
D | FakeEventHub.h | 35 class FakeEventHub : public EventHubInterface {
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputReaderContext.h | 28 class EventHubInterface; variable 59 virtual EventHubInterface* getEventHub() = 0;
|
D | InputReader.h | 54 InputReader(std::shared_ptr<EventHubInterface> eventHub, 162 EventHubInterface* getEventHub() REQUIRES(mReader->mLock) override; 187 std::shared_ptr<EventHubInterface> mEventHub;
|
D | EventHub.h | 252 class EventHubInterface { 254 EventHubInterface() {} in EventHubInterface() function 255 virtual ~EventHubInterface() {} in ~EventHubInterface() 511 class EventHub : public EventHubInterface {
|
D | InputDevice.h | 134 inline EventHubInterface* getEventHub() { return mContext->getEventHub(); } in getEventHub() 487 EventHubInterface* mEventHub;
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | MapperHelpers.h | 34 android::EventHubInterface::DEVICE_ADDED, 35 android::EventHubInterface::DEVICE_REMOVED}; 117 class FuzzEventHub : public EventHubInterface { 355 std::shared_ptr<EventHubInterface> mEventHub; 360 FuzzInputReaderContext(std::shared_ptr<EventHubInterface> eventHub, in FuzzInputReaderContext() 378 EventHubInterface* getEventHub() override { return mEventHub.get(); } in getEventHub()
|
D | InputReaderFuzzer.cpp | 48 FuzzInputReader(std::shared_ptr<EventHubInterface> fuzzEventHub, in FuzzInputReader()
|
/frameworks/native/services/inputflinger/reader/ |
D | InputReader.cpp | 123 InputReader::InputReader(std::shared_ptr<EventHubInterface> eventHub, in InputReader() 257 if (type < EventHubInterface::FIRST_SYNTHETIC_EVENT) { in processEventsLocked() 260 if (rawEvent[batchSize].type >= EventHubInterface::FIRST_SYNTHETIC_EVENT || in processEventsLocked() 270 case EventHubInterface::DEVICE_ADDED: in processEventsLocked() 273 case EventHubInterface::DEVICE_REMOVED: in processEventsLocked() 1129 EventHubInterface* InputReader::ContextImpl::getEventHub() { in getEventHub()
|