Searched refs:mEventHub (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 300 return mEventHub->getDeviceClasses(mId); in getDeviceClasses() 303 return mEventHub->getDeviceIdentifier(mId); in getDeviceIdentifier() 306 return mEventHub->getDeviceControllerNumber(mId); in getDeviceControllerNumber() 309 if (const auto status = mEventHub->getAbsoluteAxisInfo(mId, code, axisInfo); status != OK) { in getAbsoluteAxisInfo() 323 return mEventHub->hasRelativeAxis(mId, code); in hasRelativeAxis() 326 return mEventHub->hasInputProperty(mId, property); in hasInputProperty() 329 inline bool hasMscEvent(int mscEvent) const { return mEventHub->hasMscEvent(mId, mscEvent); } in hasMscEvent() 332 mEventHub->addKeyRemapping(mId, fromKeyCode, toKeyCode); in addKeyRemapping() 337 return mEventHub->mapKey(mId, scanCode, usageCode, metaState, outKeycode, outMetaState, in mapKey() 341 return mEventHub->mapAxis(mId, scanCode, outAxisInfo); in mapAxis() [all …]
|
D | InputReader.h | 175 std::shared_ptr<EventHubInterface> mEventHub; variable
|
/frameworks/native/services/inputflinger/reader/ |
D | InputReader.cpp | 102 mEventHub(eventHub), in InputReader() 124 "InputReader", [this]() { loopOnce(); }, [this]() { mEventHub->wake(); }); in start() 161 std::vector<RawEvent> events = mEventHub->getEvents(timeoutMillis); in loopOnce() 270 InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(eventHubId); in addDeviceLocked() 304 if (mEventHub->getDeviceClasses(eventHubId).test(InputDeviceClass::SENSOR)) { in addDeviceLocked() 305 mEventHub->disableDevice(eventHubId); in addDeviceLocked() 427 mEventHub->setExcludedDevices(mConfig.excludedDeviceNames); in refreshConfigurationLocked() 436 mEventHub->requestReopenDevices(); in refreshConfigurationLocked() 522 mEventHub->wake(); in requestTimeoutAtTimeLocked() 664 mEventHub->wake(); in requestRefreshConfiguration() [all …]
|
D | InputDevice.cpp | 746 mEventHub(device.getContext()->getEventHub()), in InputDeviceContext()
|
/frameworks/native/services/inputflinger/tests/ |
D | EventHub_test.cpp | 65 std::unique_ptr<EventHubInterface> mEventHub; member in EventHubTest 74 mEventHub = std::make_unique<EventHub>(); in SetUp() 116 std::vector<RawEvent> newEvents = mEventHub->getEvents(timeout.count()); in getEvents() 161 InputDeviceIdentifier identifier = mEventHub->getDeviceIdentifier(deviceAddedEvent.deviceId); in waitForDeviceCreation() 194 ASSERT_NE(mEventHub->getDeviceIdentifier(mDeviceId).descriptor, in TEST_F() 195 mEventHub->getDeviceIdentifier(deviceId2).descriptor); in TEST_F()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | MapperHelpers.h | 307 std::shared_ptr<EventHubInterface> mEventHub; variable 314 : mEventHub(eventHub), mPolicy(sp<FuzzInputReaderPolicy>::make(fdp)), mFdp(fdp) {} in FuzzInputReaderContext() 329 EventHubInterface* getEventHub() override { return mEventHub.get(); } in getEventHub()
|