Home
last modified time | relevance | path

Searched refs:getPsyUsbType (Results 1 – 2 of 2) sorted by relevance

/hardware/google/pixel/health/
DChargerDetect.cpp87 int ChargerDetect::getPsyUsbType(const std::string& path, std::string* type) { in getPsyUsbType() function in hardware::google::pixel::health::ChargerDetect
129 ret = getPsyUsbType(kUsbPowerSupplySysfsPath, &usbPsyType); in onlineUpdate()
147 ret = getPsyUsbType(std::string(kPowerSupplySysfsPath) + tcpmPsyName + "/usb_type", in onlineUpdate()
/hardware/google/pixel/health/include/pixelhealth/
DChargerDetect.h39 static int getPsyUsbType(const std::string &path, std::string *type);