Searched refs:kPowerSupplySysfsPath (Results 1 – 1 of 1) sorted by relevance
27 constexpr char kPowerSupplySysfsPath[]{"/sys/class/power_supply/"}; variable61 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(kPowerSupplySysfsPath), closedir); in populateTcpmPsyName()63 KLOG_ERROR(LOG_TAG, "Could not open %s\n", kPowerSupplySysfsPath); in populateTcpmPsyName()144 ret = getPsyUsbType(std::string(kPowerSupplySysfsPath) + tcpmPsyName + "/usb_type" , in onlineUpdate()