Searched refs:getPsyUsbType (Results 1 – 2 of 2) sorted by relevance
84 int ChargerDetect::getPsyUsbType(const std::string& path, std::string* type) { in getPsyUsbType() function in hardware::google::pixel::health::ChargerDetect126 ret = getPsyUsbType(kUsbPowerSupplySysfsPath, &usbPsyType); in onlineUpdate()144 ret = getPsyUsbType(std::string(kPowerSupplySysfsPath) + tcpmPsyName + "/usb_type" , in onlineUpdate()
34 static int getPsyUsbType(const std::string& path, std::string* type);