Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h249 return mEventHub->getDeviceClasses(mId); in getDeviceClasses()
252 return mEventHub->getDeviceIdentifier(mId); in getDeviceIdentifier()
255 return mEventHub->getDeviceControllerNumber(mId); in getDeviceControllerNumber()
258 return mEventHub->getConfiguration(mId, outConfiguration); in getConfiguration()
261 return mEventHub->getAbsoluteAxisInfo(mId, code, axisInfo); in getAbsoluteAxisInfo()
264 return mEventHub->hasRelativeAxis(mId, code); in hasRelativeAxis()
267 return mEventHub->hasInputProperty(mId, property); in hasInputProperty()
270 inline bool hasMscEvent(int mscEvent) const { return mEventHub->hasMscEvent(mId, mscEvent); } in hasMscEvent()
274 return mEventHub->mapKey(mId, scanCode, usageCode, metaState, outKeycode, outMetaState, in mapKey()
278 return mEventHub->mapAxis(mId, scanCode, outAxisInfo); in mapAxis()
[all …]
DInputReader.h165 std::shared_ptr<EventHubInterface> mEventHub; variable
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp47 mEventHub(eventHub), in InputReader()
73 "InputReader", [this]() { loopOnce(); }, [this]() { mEventHub->wake(); }); in start()
108 size_t count = mEventHub->getEvents(timeoutMillis, mEventBuffer, EVENT_BUFFER_SIZE); in loopOnce()
194 InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(eventHubId); in addDeviceLocked()
227 if (mEventHub->getDeviceClasses(eventHubId).test(InputDeviceClass::SENSOR)) { in addDeviceLocked()
228 mEventHub->disableDevice(eventHubId); in addDeviceLocked()
348 mEventHub->setExcludedDevices(mConfig.excludedDeviceNames); in refreshConfigurationLocked()
361 mEventHub->requestReopenDevices(); in refreshConfigurationLocked()
480 mEventHub->wake(); in requestTimeoutAtTimeLocked()
600 mEventHub->wake(); in requestRefreshConfiguration()
[all …]
DInputDevice.cpp603 mEventHub(device.getContext()->getEventHub()), in InputDeviceContext()
/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()