Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/
Dthermal-helper.cpp283 std::pair<ThrottlingSeverity, ThrottlingSeverity> *throtting_status) const { in readTemperature()
317 if (throtting_status) { in readTemperature()
318 *throtting_status = status; in readTemperature()
590 std::pair<ThrottlingSeverity, ThrottlingSeverity> throtting_status; in thermalWatcherCallbackFunc() local
591 if (!readTemperature(name_status_pair.first, &temp, &throtting_status)) { 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()
Dthermal-helper.h101 std::pair<ThrottlingSeverity, ThrottlingSeverity> *throtting_status = nullptr) const;