Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/inputflinger/reader/include/
H A 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()
/aosp12/frameworks/native/services/inputflinger/reader/
H A DEventHub.cpp562 const auto& paths = findSysfsNodes(sysfsRootPath, SysfsClass::POWER_SUPPLY); in configureBatteryLocked()
588 const auto& paths = findSysfsNodes(sysfsRootPath, SysfsClass::LEDS); in configureLightsLocked()
1952 std::optional<std::filesystem::path> sysfsRootPath = getSysfsRootPath(devicePath.c_str()); in openDeviceLocked() local
1953 if (sysfsRootPath.has_value()) { in openDeviceLocked()
1962 associatedDevice = std::make_shared<AssociatedDevice>(sysfsRootPath.value()); in openDeviceLocked()