Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/
Dthermal-helper.cpp186 for (auto const &name_status_pair : sensor_info_map_) { in ThermalHelper() local
187 sensor_status_map_[name_status_pair.first] = { in ThermalHelper()
572 for (auto &name_status_pair : sensor_status_map_) { in thermalWatcherCallbackFunc() local
575 SensorStatus &sensor_status = name_status_pair.second; in thermalWatcherCallbackFunc()
576 const SensorInfo &sensor_info = sensor_info_map_.at(name_status_pair.first); in thermalWatcherCallbackFunc()
583 uevent_sensors.find(name_status_pair.first) == uevent_sensors.end()) { in thermalWatcherCallbackFunc()
591 if (!readTemperature(name_status_pair.first, &temp, &throtting_status)) { in thermalWatcherCallbackFunc()
593 << ": error reading temperature for sensor: " << name_status_pair.first; in thermalWatcherCallbackFunc()
596 if (!readTemperatureThreshold(name_status_pair.first, &threshold)) { in thermalWatcherCallbackFunc()
598 << name_status_pair.first; in thermalWatcherCallbackFunc()