Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DEventHub.h160 class EventHubInterface : public virtual RefBase {
162 EventHubInterface() { } in EventHubInterface() function
163 virtual ~EventHubInterface() { } in ~EventHubInterface()
262 class EventHub : public EventHubInterface
DInputManager.h82 const sp<EventHubInterface>& eventHub,
DInputManager.cpp28 const sp<EventHubInterface>& eventHub, in InputManager()
DInputReader.h397 virtual EventHubInterface* getEventHub() = 0;
414 InputReader(const sp<EventHubInterface>& eventHub,
463 virtual EventHubInterface* getEventHub();
473 sp<EventHubInterface> mEventHub;
585 inline EventHubInterface* getEventHub() { return mContext->getEventHub(); } in getEventHub()
958 inline EventHubInterface* getEventHub() { return mContext->getEventHub(); } in getEventHub()
DInputReader.cpp234 InputReader::InputReader(const sp<EventHubInterface>& eventHub, in InputReader()
325 if (type < EventHubInterface::FIRST_SYNTHETIC_EVENT) { in processEventsLocked()
328 if (rawEvent[batchSize].type >= EventHubInterface::FIRST_SYNTHETIC_EVENT in processEventsLocked()
340 case EventHubInterface::DEVICE_ADDED: in processEventsLocked()
343 case EventHubInterface::DEVICE_REMOVED: in processEventsLocked()
346 case EventHubInterface::FINISHED_DEVICE_SCAN: in processEventsLocked()
835 EventHubInterface* InputReader::ContextImpl::getEventHub() { in getEventHub()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp308 class FakeEventHub : public EventHubInterface {
353 enqueueEvent(ARBITRARY_TIME, deviceId, EventHubInterface::DEVICE_ADDED, 0, 0); in addDevice()
360 enqueueEvent(ARBITRARY_TIME, deviceId, EventHubInterface::DEVICE_REMOVED, 0, 0); in removeDevice()
364 enqueueEvent(ARBITRARY_TIME, 0, EventHubInterface::FINISHED_DEVICE_SCAN, 0, 0); in finishDeviceScan()
718 sp<EventHubInterface> mEventHub;
726 FakeInputReaderContext(const sp<EventHubInterface>& eventHub, in FakeInputReaderContext()
754 virtual EventHubInterface* getEventHub() { in getEventHub()
928 InstrumentedInputReader(const sp<EventHubInterface>& eventHub, in InstrumentedInputReader()