Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_info.cpp1139 std::array<float, kThrottlingSeverityCount> cold_thresholds; in ParseSensorInfo() local
1140 cold_thresholds.fill(NAN); in ParseSensorInfo()
1221 cold_thresholds[j] = getFloatFromValue(values[j]); in ParseSensorInfo()
1222 if (!std::isnan(cold_thresholds[j])) { in ParseSensorInfo()
1223 if (cold_thresholds[j] > max) { in ParseSensorInfo()
1226 << "]: " << cold_thresholds[j] << " > " << max; in ParseSensorInfo()
1230 max = cold_thresholds[j]; in ParseSensorInfo()
1233 << "]: " << cold_thresholds[j]; in ParseSensorInfo()
1259 if (std::isnan(cold_thresholds[j])) { in ParseSensorInfo()
1263 if (std::isnan(cold_thresholds[k])) { in ParseSensorInfo()
[all …]
Dthermal_info.h212 ThrottlingArray cold_thresholds; member
/hardware/google/pixel/thermal/
Dthermal-helper.cpp539 status = getSeverityFromThresholds(sensor_info.hot_thresholds, sensor_info.cold_thresholds, in readTemperature()
590 std::vector(sensor_info.cold_thresholds.begin(), sensor_info.cold_thresholds.end()); in readTemperatureThreshold()
611 const ThrottlingArray &hot_thresholds, const ThrottlingArray &cold_thresholds, in getSeverityFromThresholds() argument
632 if (!std::isnan(cold_thresholds[i]) && cold_thresholds[i] >= value && in getSeverityFromThresholds()
636 if (!std::isnan(cold_thresholds[i]) && (cold_thresholds[i] + cold_hysteresis[i]) > value && in getSeverityFromThresholds()
682 sensor_info_pair.second.cold_thresholds.fill(NAN); in clearAllThrottling()
Dthermal-helper.h211 const ThrottlingArray &hot_thresholds, const ThrottlingArray &cold_thresholds,
DThermal.cpp760 dump_buf << name_info_pair.second.cold_thresholds[i] << " "; in dumpThermalData()