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