Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/
DEventHub.cpp352 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()
[all …]
/frameworks/native/services/inputflinger/tests/
DFakeEventHub.cpp629 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()
DFakeEventHub.h67 std::string sysfsRootPath; member
157 void setSysfsRootPath(int32_t deviceId, std::string sysfsRootPath) const;
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h619 std::filesystem::path sysfsRootPath; member