Searched refs:mEventHub (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 254 return mEventHub->getDeviceClasses(mId); in getDeviceClasses() 257 return mEventHub->getDeviceIdentifier(mId); in getDeviceIdentifier() 260 return mEventHub->getDeviceControllerNumber(mId); in getDeviceControllerNumber() 263 return mEventHub->getConfiguration(mId, outConfiguration); in getConfiguration() 266 return mEventHub->getAbsoluteAxisInfo(mId, code, axisInfo); in getAbsoluteAxisInfo() 269 return mEventHub->hasRelativeAxis(mId, code); in hasRelativeAxis() 272 return mEventHub->hasInputProperty(mId, property); in hasInputProperty() 275 inline bool hasMscEvent(int mscEvent) const { return mEventHub->hasMscEvent(mId, mscEvent); } in hasMscEvent() 279 return mEventHub->mapKey(mId, scanCode, usageCode, metaState, outKeycode, outMetaState, in mapKey() 283 return mEventHub->mapAxis(mId, scanCode, outAxisInfo); in mapAxis() [all …]
|
D | InputReader.h | 166 std::shared_ptr<EventHubInterface> mEventHub; variable
|
/frameworks/native/services/inputflinger/reader/ |
D | InputReader.cpp | 47 mEventHub(eventHub), in InputReader() 68 "InputReader", [this]() { loopOnce(); }, [this]() { mEventHub->wake(); }); in start() 103 size_t count = mEventHub->getEvents(timeoutMillis, mEventBuffer, EVENT_BUFFER_SIZE); in loopOnce() 189 InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(eventHubId); in addDeviceLocked() 222 if (mEventHub->getDeviceClasses(eventHubId).test(InputDeviceClass::SENSOR)) { in addDeviceLocked() 223 mEventHub->disableDevice(eventHubId); in addDeviceLocked() 342 mEventHub->setExcludedDevices(mConfig.excludedDeviceNames); in refreshConfigurationLocked() 355 mEventHub->requestReopenDevices(); in refreshConfigurationLocked() 480 mEventHub->wake(); in requestTimeoutAtTimeLocked() 613 mEventHub->wake(); in requestRefreshConfiguration() [all …]
|
D | InputDevice.cpp | 633 mEventHub(device.getContext()->getEventHub()), in InputDeviceContext()
|
/frameworks/native/services/inputflinger/tests/ |
D | EventHub_test.cpp | 65 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()
|