Home
last modified time | relevance | path

Searched refs:sysfsRootPath (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/reader/include/
DEventHub.h535 std::filesystem::path sysfsRootPath; member
541 explicit AssociatedDevice(std::filesystem::path sysfsRootPath) in AssociatedDevice()
542 : sysfsRootPath(sysfsRootPath), nextBatteryId(0), nextLightId(0) {} in AssociatedDevice()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp562 const auto& paths = findSysfsNodes(sysfsRootPath, SysfsClass::POWER_SUPPLY); in configureBatteryLocked()
588 const auto& paths = findSysfsNodes(sysfsRootPath, SysfsClass::LEDS); in configureLightsLocked()
1953 std::optional<std::filesystem::path> sysfsRootPath = getSysfsRootPath(devicePath.c_str()); in openDeviceLocked() local
1954 if (sysfsRootPath.has_value()) { in openDeviceLocked()
1963 associatedDevice = std::make_shared<AssociatedDevice>(sysfsRootPath.value()); in openDeviceLocked()