Searched refs:devicePath (Results 1 – 3 of 3) sorted by relevance
50 static void checkUsbDeviceAutoSuspend(const std::string& devicePath);760 static bool canUsbDeviceAutoSuspend(const std::string &devicePath) { in canUsbDeviceAutoSuspend() argument763 readFile(devicePath + "/idVendor", &deviceIdVendor); in canUsbDeviceAutoSuspend()764 readFile(devicePath + "/idProduct", &deviceIdProduct); in canUsbDeviceAutoSuspend()775 void checkUsbDeviceAutoSuspend(const std::string& devicePath) { in checkUsbDeviceAutoSuspend() argument780 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()
116 .devicePath = path, in parsePowerRails()180 for (const auto &devicePath : mOdpm.devicePaths) { in parseIioEnergyNodes() local181 if(parseIioEnergyNode(devicePath) < 0) { in parseIioEnergyNodes()
15 std::string devicePath; member