Home
last modified time | relevance | path

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

/device/google/sunfish/usb/usb/
DUsb.cpp54 constexpr char kEnabledPath[] = "/sys/class/power_supply/usb/moisture_detection_enabled"; variable
219 if (!ReadFileToString(kEnabledPath, &enabled)) { in queryMoistureDetectionStatus()
692 success = WriteStringToFile(in_enable ? "1" : "0", kEnabledPath); in enableContaminantPresenceDetection()
/device/google/barbet/usb/usb/
DUsb.cpp54 constexpr char kEnabledPath[] = "/sys/class/power_supply/usb/moisture_detection_enabled"; variable
219 if (!ReadFileToString(kEnabledPath, &enabled)) { in queryMoistureDetectionStatus()
692 success = WriteStringToFile(in_enable ? "1" : "0", kEnabledPath); in enableContaminantPresenceDetection()
/device/google/redfin/usb/usb/
DUsb.cpp54 constexpr char kEnabledPath[] = "/sys/class/power_supply/usb/moisture_detection_enabled"; variable
219 if (!ReadFileToString(kEnabledPath, &enabled)) { in queryMoistureDetectionStatus()
692 success = WriteStringToFile(in_enable ? "1" : "0", kEnabledPath); in enableContaminantPresenceDetection()
/device/google/coral/usb/usb/
DUsb.cpp54 constexpr char kEnabledPath[] = "/sys/class/power_supply/usb/moisture_detection_enabled"; variable
219 if (!ReadFileToString(kEnabledPath, &enabled)) { in queryMoistureDetectionStatus()
692 success = WriteStringToFile(in_enable ? "1" : "0", kEnabledPath); in enableContaminantPresenceDetection()