Home
last modified time | relevance | path

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

/bootable/recovery/otautil/
DThermalUtil.cpp31 static constexpr auto THERMAL_PREFIX = "/sys/class/thermal/"; variable
42 int n = scandir(THERMAL_PREFIX, &namelist, thermal_filter, alphasort); in InitThermalPaths()
44 PLOG(ERROR) << "Failed to scandir " << THERMAL_PREFIX; in InitThermalPaths()
48 LOG(ERROR) << "Failed to find CPU thermal info in " << THERMAL_PREFIX; in InitThermalPaths()
54 thermal_paths.push_back(THERMAL_PREFIX + std::string(namelist[n]->d_name) + "/temp"); in InitThermalPaths()