Lines Matching refs:sysfsRootPath
352 const std::filesystem::path& sysfsRootPath) { in readLayoutConfiguration() argument
356 if (base::ReadFileToString(sysfsRootPath / "country", &str)) { in readLayoutConfiguration()
361 sysfsRootPath.c_str(), hidCountryCode); in readLayoutConfiguration()
376 const std::filesystem::path& sysfsRootPath) { in readBatteryConfiguration() argument
380 const auto& paths = findSysfsNodes(sysfsRootPath, SysfsClass::POWER_SUPPLY); in readBatteryConfiguration()
406 const std::filesystem::path& sysfsRootPath) { in readLightsConfiguration() argument
410 const auto& paths = findSysfsNodes(sysfsRootPath, SysfsClass::LEDS); in readLightsConfiguration()
1608 AssociatedDevice{.sysfsRootPath = path, in obtainAssociatedDeviceLocked()
1615 if (dev->associatedDevice && dev->associatedDevice->sysfsRootPath == path) { in obtainAssociatedDeviceLocked()
1632 readBatteryConfiguration(sysfsRootPath); in isChanged()
1634 readLightsConfiguration(sysfsRootPath); in isChanged()
1635 std::optional<RawLayoutInfo> newLayoutInfo = readLayoutConfiguration(sysfsRootPath); in isChanged()
2645 sysfsNodePath.find(device->associatedDevice->sysfsRootPath.string()) != in sysfsNodeChanged()
2657 sysfsNodePath.find(device->associatedDevice->sysfsRootPath.string()) != in sysfsNodeChanged()
2894 ? device->associatedDevice->sysfsRootPath.c_str() in dump()
2939 return StringPrintf("path=%s, numBatteries=%zu, numLight=%zu", sysfsRootPath.c_str(), in dump()