Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h209 inline uint32_t getDeviceClasses() const { return mEventHub->getDeviceClasses(mId); } in getDeviceClasses()
211 return mEventHub->getDeviceIdentifier(mId); in getDeviceIdentifier()
214 return mEventHub->getDeviceControllerNumber(mId); in getDeviceControllerNumber()
217 return mEventHub->getConfiguration(mId, outConfiguration); in getConfiguration()
220 return mEventHub->getAbsoluteAxisInfo(mId, code, axisInfo); in getAbsoluteAxisInfo()
223 return mEventHub->hasRelativeAxis(mId, code); in hasRelativeAxis()
226 return mEventHub->hasInputProperty(mId, property); in hasInputProperty()
230 return mEventHub->mapKey(mId, scanCode, usageCode, metaState, outKeycode, outMetaState, in mapKey()
234 return mEventHub->mapAxis(mId, scanCode, outAxisInfo); in mapAxis()
236 inline std::vector<TouchVideoFrame> getVideoFrames() { return mEventHub->getVideoFrames(mId); } in getVideoFrames()
[all …]
DInputReader.h130 std::shared_ptr<EventHubInterface> mEventHub; variable
/frameworks/native/services/inputflinger/tests/
DEventHub_test.cpp65 std::unique_ptr<EventHubInterface> mEventHub; member in EventHubTest
71 mEventHub = std::make_unique<EventHub>(); in SetUp()
112 mEventHub->getEvents(timeout.count(), eventBuffer.data(), eventBuffer.size()); in getEvents()
157 InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(deviceAddedEvent.deviceId); in waitForDeviceCreation()
DInputReader_test.cpp843 std::shared_ptr<EventHubInterface> mEventHub; member in android::FakeInputReaderContext
856 : mEventHub(eventHub), in FakeInputReaderContext()
900 return mEventHub.get(); in getEventHub()
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp47 mEventHub(eventHub), in InputReader()
72 "InputReader", [this]() { loopOnce(); }, [this]() { mEventHub->wake(); }); in start()
107 size_t count = mEventHub->getEvents(timeoutMillis, mEventBuffer, EVENT_BUFFER_SIZE); in loopOnce()
193 InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(eventHubId); in addDeviceLocked()
321 mEventHub->setExcludedDevices(mConfig.excludedDeviceNames); in refreshConfigurationLocked()
333 mEventHub->requestReopenDevices(); in refreshConfigurationLocked()
436 mEventHub->wake(); in requestTimeoutAtTimeLocked()
556 mEventHub->wake(); in requestRefreshConfiguration()
621 mEventHub->dump(dump); in dump()
689 mEventHub->wake(); in monitor()
[all …]
DInputDevice.cpp486 mEventHub(device.getContext()->getEventHub()), in InputDeviceContext()