Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DEventHub.h166 class EventHubInterface : public virtual RefBase {
168 EventHubInterface() { } in EventHubInterface() function
169 virtual ~EventHubInterface() { } in ~EventHubInterface()
268 class EventHub : public EventHubInterface
DInputManager.h82 const sp<EventHubInterface>& eventHub,
DInputManager.cpp28 const sp<EventHubInterface>& eventHub, in InputManager()
DInputReader.h428 virtual EventHubInterface* getEventHub() = 0;
445 InputReader(const sp<EventHubInterface>& eventHub,
496 virtual EventHubInterface* getEventHub();
506 sp<EventHubInterface> mEventHub;
627 inline EventHubInterface* getEventHub() { return mContext->getEventHub(); } in getEventHub()
1013 inline EventHubInterface* getEventHub() { return mContext->getEventHub(); } in getEventHub()
DInputReader.cpp249 InputReader::InputReader(const sp<EventHubInterface>& eventHub, in InputReader()
340 if (type < EventHubInterface::FIRST_SYNTHETIC_EVENT) { in processEventsLocked()
343 if (rawEvent[batchSize].type >= EventHubInterface::FIRST_SYNTHETIC_EVENT in processEventsLocked()
355 case EventHubInterface::DEVICE_ADDED: in processEventsLocked()
358 case EventHubInterface::DEVICE_REMOVED: in processEventsLocked()
361 case EventHubInterface::FINISHED_DEVICE_SCAN: in processEventsLocked()
898 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()
716 sp<EventHubInterface> mEventHub;
724 FakeInputReaderContext(const sp<EventHubInterface>& eventHub, in FakeInputReaderContext()
752 virtual EventHubInterface* getEventHub() { in getEventHub()
932 InstrumentedInputReader(const sp<EventHubInterface>& eventHub, in InstrumentedInputReader()