Searched refs:EventHubInterface (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/inputflinger/ |
D | EventHub.h | 149 class EventHubInterface : public virtual RefBase { 151 EventHubInterface() { } in EventHubInterface() function 152 virtual ~EventHubInterface() { } in ~EventHubInterface() 262 class EventHub : public EventHubInterface
|
D | InputReader.h | 98 virtual EventHubInterface* getEventHub() = 0; 117 InputReader(const sp<EventHubInterface>& eventHub, 173 virtual EventHubInterface* getEventHub(); 184 sp<EventHubInterface> mEventHub; 302 inline EventHubInterface* getEventHub() { return mContext->getEventHub(); } in getEventHub() 757 inline EventHubInterface* getEventHub() { return mContext->getEventHub(); } in getEventHub()
|
D | InputReader.cpp | 263 InputReader::InputReader(const sp<EventHubInterface>& eventHub, in InputReader() 354 if (type < EventHubInterface::FIRST_SYNTHETIC_EVENT) { in processEventsLocked() 357 if (rawEvent[batchSize].type >= EventHubInterface::FIRST_SYNTHETIC_EVENT in processEventsLocked() 369 case EventHubInterface::DEVICE_ADDED: in processEventsLocked() 372 case EventHubInterface::DEVICE_REMOVED: in processEventsLocked() 375 case EventHubInterface::FINISHED_DEVICE_SCAN: in processEventsLocked() 973 EventHubInterface* InputReader::ContextImpl::getEventHub() { in getEventHub()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 298 class FakeEventHub : public EventHubInterface { 355 enqueueEvent(ARBITRARY_TIME, deviceId, EventHubInterface::DEVICE_ADDED, 0, 0); in addDevice() 362 enqueueEvent(ARBITRARY_TIME, deviceId, EventHubInterface::DEVICE_REMOVED, 0, 0); in removeDevice() 403 enqueueEvent(ARBITRARY_TIME, 0, EventHubInterface::FINISHED_DEVICE_SCAN, 0, 0); in finishDeviceScan() 775 sp<EventHubInterface> mEventHub; 784 FakeInputReaderContext(const sp<EventHubInterface>& eventHub, in FakeInputReaderContext() 816 virtual EventHubInterface* getEventHub() { in getEventHub() 1014 InstrumentedInputReader(const sp<EventHubInterface>& eventHub, in InstrumentedInputReader()
|