Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/
Dthermal-helper.cpp106 static_cast<int>(sensor_status.thermal_cached.temp)); in dumpTraces()
201 .thermal_cached = {NAN, boot_clock::time_point::min()}, in ThermalHelperImpl()
1210 now - sensor_status.thermal_cached.timestamp); in readThermalSensor()
1214 (sensor_status.thermal_cached.timestamp != boot_clock::time_point::min()) && in readThermalSensor()
1216 !isnan(sensor_status.thermal_cached.temp)) { in readThermalSensor()
1217 *temp = sensor_status.thermal_cached.temp; in readThermalSensor()
1305 if (!isnan(sensor_info.step_ratio) && !isnan(sensor_status.thermal_cached.temp) && in readThermalSensor()
1308 (1 - sensor_info.step_ratio) * sensor_status.thermal_cached.temp); in readThermalSensor()
1316 sensor_status.thermal_cached.temp = *temp; in readThermalSensor()
1317 sensor_status.thermal_cached.timestamp = now; in readThermalSensor()
DThermal.cpp709 if ((sensor_status_pair.second.thermal_cached.timestamp) == in dumpThermalData()
714 << " CachedValue: " << sensor_status_pair.second.thermal_cached.temp in dumpThermalData()
717 now - sensor_status_pair.second.thermal_cached.timestamp) in dumpThermalData()
Dthermal-helper.h74 ThermalSample thermal_cached; member