Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/
Dthermal-helper.cpp575 SensorStatus &sensor_status = name_status_pair.second; in thermalWatcherCallbackFunc() local
584 if (sensor_status.severity != ThrottlingSeverity::NONE) { in thermalWatcherCallbackFunc()
605 if (throtting_status.first != sensor_status.prev_hot_severity) { in thermalWatcherCallbackFunc()
606 sensor_status.prev_hot_severity = throtting_status.first; in thermalWatcherCallbackFunc()
608 if (throtting_status.second != sensor_status.prev_cold_severity) { in thermalWatcherCallbackFunc()
609 sensor_status.prev_cold_severity = throtting_status.second; in thermalWatcherCallbackFunc()
611 if (temp.throttlingStatus != sensor_status.severity) { in thermalWatcherCallbackFunc()
613 sensor_status.severity = temp.throttlingStatus; in thermalWatcherCallbackFunc()
616 if (sensor_status.severity != ThrottlingSeverity::NONE) { in thermalWatcherCallbackFunc()