Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/
Dthermal-helper.cpp1233 std::vector<float> sensor_readings(linked_sensors_size, NAN); in readThermalSensor() local
1238 &sensor_readings[i], in readThermalSensor()
1245 if (std::isnan(sensor_readings[i])) { in readThermalSensor()
1277 if ((coefficient < 0 && sensor_readings[i] < -coefficient) || in readThermalSensor()
1278 (coefficient >= 0 && sensor_readings[i] >= coefficient)) in readThermalSensor()
1282 temp_val += sensor_readings[i] * coefficient; in readThermalSensor()
1287 if (sensor_readings[i] * coefficient > temp_val) in readThermalSensor()
1288 temp_val = sensor_readings[i] * coefficient; in readThermalSensor()
1293 if (sensor_readings[i] * coefficient < temp_val) in readThermalSensor()
1294 temp_val = sensor_readings[i] * coefficient; in readThermalSensor()