Searched refs:sysfsRootPath (Results 1 – 4 of 4) sorted by relevance
352 const std::filesystem::path& sysfsRootPath) { in readLayoutConfiguration() argument356 if (base::ReadFileToString(sysfsRootPath / "country", &str)) { in readLayoutConfiguration()361 sysfsRootPath.c_str(), hidCountryCode); in readLayoutConfiguration()376 const std::filesystem::path& sysfsRootPath) { in readBatteryConfiguration() argument380 const auto& paths = findSysfsNodes(sysfsRootPath, SysfsClass::POWER_SUPPLY); in readBatteryConfiguration()406 const std::filesystem::path& sysfsRootPath) { in readLightsConfiguration() argument410 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()[all …]
629 void FakeEventHub::setSysfsRootPath(int32_t deviceId, std::string sysfsRootPath) const { in setSysfsRootPath()634 device->sysfsRootPath = sysfsRootPath; in setSysfsRootPath()642 if (sysfsNodePath.find(d->sysfsRootPath) != std::string::npos) { in sysfsNodeChanged()
67 std::string sysfsRootPath; member157 void setSysfsRootPath(int32_t deviceId, std::string sysfsRootPath) const;
619 std::filesystem::path sysfsRootPath; member