Home
last modified time | relevance | path

Searched refs:devicePath (Results 1 – 3 of 3) sorted by relevance

/device/google/wahoo/usb/
DUsb.cpp50 static void checkUsbDeviceAutoSuspend(const std::string& devicePath);
760 static bool canUsbDeviceAutoSuspend(const std::string &devicePath) { in canUsbDeviceAutoSuspend() argument
763 readFile(devicePath + "/idVendor", &deviceIdVendor); in canUsbDeviceAutoSuspend()
764 readFile(devicePath + "/idProduct", &deviceIdProduct); in canUsbDeviceAutoSuspend()
775 void checkUsbDeviceAutoSuspend(const std::string& devicePath) { in checkUsbDeviceAutoSuspend() argument
780 if (canUsbDeviceAutoSuspend(devicePath)) { in checkUsbDeviceAutoSuspend()
781 ALOGI("auto suspend usb device %s", devicePath.c_str()); in checkUsbDeviceAutoSuspend()
782 writeFile(devicePath + "/power/control", "auto"); in checkUsbDeviceAutoSuspend()
/device/google/coral/powerstats/
DRailDataProvider.cpp116 .devicePath = path, in parsePowerRails()
180 for (const auto &devicePath : mOdpm.devicePaths) { in parseIioEnergyNodes() local
181 if(parseIioEnergyNode(devicePath) < 0) { in parseIioEnergyNodes()
DRailDataProvider.h15 std::string devicePath; member