Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DEventHub.h169 class EventHubInterface : public virtual RefBase {
171 EventHubInterface() { } in EventHubInterface() function
172 virtual ~EventHubInterface() { } in ~EventHubInterface()
272 class EventHub : public EventHubInterface
DInputManager.h82 const sp<EventHubInterface>& eventHub,
DInputManager.cpp28 const sp<EventHubInterface>& eventHub, in InputManager()
DInputReader.h381 virtual EventHubInterface* getEventHub() = 0;
398 InputReader(const sp<EventHubInterface>& eventHub,
451 virtual EventHubInterface* getEventHub();
461 sp<EventHubInterface> mEventHub;
583 inline EventHubInterface* getEventHub() { return mContext->getEventHub(); } in getEventHub()
969 inline EventHubInterface* getEventHub() { return mContext->getEventHub(); } in getEventHub()
DInputReader.cpp305 InputReader::InputReader(const sp<EventHubInterface>& eventHub, in InputReader()
396 if (type < EventHubInterface::FIRST_SYNTHETIC_EVENT) { in processEventsLocked()
399 if (rawEvent[batchSize].type >= EventHubInterface::FIRST_SYNTHETIC_EVENT in processEventsLocked()
411 case EventHubInterface::DEVICE_ADDED: in processEventsLocked()
414 case EventHubInterface::DEVICE_REMOVED: in processEventsLocked()
417 case EventHubInterface::FINISHED_DEVICE_SCAN: in processEventsLocked()
977 EventHubInterface* InputReader::ContextImpl::getEventHub() { in getEventHub()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp330 class FakeEventHub : public EventHubInterface {
375 enqueueEvent(ARBITRARY_TIME, deviceId, EventHubInterface::DEVICE_ADDED, 0, 0); in addDevice()
382 enqueueEvent(ARBITRARY_TIME, deviceId, EventHubInterface::DEVICE_REMOVED, 0, 0); in removeDevice()
386 enqueueEvent(ARBITRARY_TIME, 0, EventHubInterface::FINISHED_DEVICE_SCAN, 0, 0); in finishDeviceScan()
743 sp<EventHubInterface> mEventHub;
751 FakeInputReaderContext(const sp<EventHubInterface>& eventHub, in FakeInputReaderContext()
783 virtual EventHubInterface* getEventHub() { in getEventHub()
963 InstrumentedInputReader(const sp<EventHubInterface>& eventHub, in InstrumentedInputReader()