Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/include/
DInputReaderContext.h26 class EventHubInterface; variable
58 virtual EventHubInterface* getEventHub() = 0;
DInputReader.h52 InputReader(const sp<EventHubInterface>& eventHub, const sp<InputReaderPolicyInterface>& policy,
105 virtual EventHubInterface* getEventHub();
116 sp<EventHubInterface> mEventHub;
DEventHub.h148 class EventHubInterface : public virtual RefBase {
150 EventHubInterface() {} in EventHubInterface() function
151 virtual ~EventHubInterface() {} in ~EventHubInterface()
260 class EventHub : public EventHubInterface {
DInputDevice.h95 inline EventHubInterface* getEventHub() { return mContext->getEventHub(); } in getEventHub()
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp51 InputReader::InputReader(const sp<EventHubInterface>& eventHub, in InputReader()
147 if (type < EventHubInterface::FIRST_SYNTHETIC_EVENT) { in processEventsLocked()
150 if (rawEvent[batchSize].type >= EventHubInterface::FIRST_SYNTHETIC_EVENT || in processEventsLocked()
162 case EventHubInterface::DEVICE_ADDED: in processEventsLocked()
165 case EventHubInterface::DEVICE_REMOVED: in processEventsLocked()
168 case EventHubInterface::FINISHED_DEVICE_SCAN: in processEventsLocked()
759 EventHubInterface* InputReader::ContextImpl::getEventHub() { in getEventHub()
/frameworks/native/services/inputflinger/reader/mapper/
DInputMapper.h51 inline EventHubInterface* getEventHub() { return mContext->getEventHub(); } in getEventHub()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp310 class FakeEventHub : public EventHubInterface {
367 enqueueEvent(ARBITRARY_TIME, deviceId, EventHubInterface::DEVICE_ADDED, 0, 0); in addDevice()
374 enqueueEvent(ARBITRARY_TIME, deviceId, EventHubInterface::DEVICE_REMOVED, 0, 0); in removeDevice()
415 enqueueEvent(ARBITRARY_TIME, 0, EventHubInterface::FINISHED_DEVICE_SCAN, 0, 0); in finishDeviceScan()
787 sp<EventHubInterface> mEventHub;
796 FakeInputReaderContext(const sp<EventHubInterface>& eventHub, in FakeInputReaderContext()
828 virtual EventHubInterface* getEventHub() { in getEventHub()
1026 InstrumentedInputReader(const sp<EventHubInterface>& eventHub, in InstrumentedInputReader()