Searched refs:EventHubInterface (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/services/inputflinger/ |
D | EventHub.h | 160 class EventHubInterface : public virtual RefBase { 162 EventHubInterface() { } in EventHubInterface() function 163 virtual ~EventHubInterface() { } in ~EventHubInterface() 262 class EventHub : public EventHubInterface
|
D | InputManager.h | 82 const sp<EventHubInterface>& eventHub,
|
D | InputManager.cpp | 28 const sp<EventHubInterface>& eventHub, in InputManager()
|
D | InputReader.h | 397 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()
|
D | InputReader.cpp | 234 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/ |
D | InputReader_test.cpp | 308 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()
|