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.h431 virtual EventHubInterface* getEventHub() = 0;
448 InputReader(const sp<EventHubInterface>& eventHub,
501 virtual EventHubInterface* getEventHub();
511 sp<EventHubInterface> mEventHub;
633 inline EventHubInterface* getEventHub() { return mContext->getEventHub(); } in getEventHub()
1019 inline EventHubInterface* getEventHub() { return mContext->getEventHub(); } in getEventHub()
DInputReader.cpp257 InputReader::InputReader(const sp<EventHubInterface>& eventHub, in InputReader()
348 if (type < EventHubInterface::FIRST_SYNTHETIC_EVENT) { in processEventsLocked()
351 if (rawEvent[batchSize].type >= EventHubInterface::FIRST_SYNTHETIC_EVENT in processEventsLocked()
363 case EventHubInterface::DEVICE_ADDED: in processEventsLocked()
366 case EventHubInterface::DEVICE_REMOVED: in processEventsLocked()
369 case EventHubInterface::FINISHED_DEVICE_SCAN: in processEventsLocked()
926 EventHubInterface* InputReader::ContextImpl::getEventHub() { in getEventHub()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp307 class FakeEventHub : public EventHubInterface {
352 enqueueEvent(ARBITRARY_TIME, deviceId, EventHubInterface::DEVICE_ADDED, 0, 0); in addDevice()
359 enqueueEvent(ARBITRARY_TIME, deviceId, EventHubInterface::DEVICE_REMOVED, 0, 0); in removeDevice()
363 enqueueEvent(ARBITRARY_TIME, 0, EventHubInterface::FINISHED_DEVICE_SCAN, 0, 0); in finishDeviceScan()
720 sp<EventHubInterface> mEventHub;
728 FakeInputReaderContext(const sp<EventHubInterface>& eventHub, in FakeInputReaderContext()
756 virtual EventHubInterface* getEventHub() { in getEventHub()
936 InstrumentedInputReader(const sp<EventHubInterface>& eventHub, in InstrumentedInputReader()