Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_stats_helper.cpp191 auto &temp_stats_map_ = sensor_stats.temp_stats_map_; in initializeSensorTempStats() local
199 temp_stats_map_[sensor].stats_by_default_threshold = in initializeSensorTempStats()
208 temp_stats_map_[sensor].stats_by_custom_threshold.emplace_back(threshold_list); in initializeSensorTempStats()
310 auto &temp_stats_map_ = sensor_stats.temp_stats_map_; in updateSensorTempStatsByThreshold() local
311 if (!temp_stats_map_.count(sensor.data())) { in updateSensorTempStatsByThreshold()
314 auto &sensor_temp_stats = temp_stats_map_[sensor.data()]; in updateSensorTempStatsByThreshold()
336 auto &temp_stats_map_ = sensor_stats.temp_stats_map_; in updateSensorTempStatsBySeverity() local
337 if (temp_stats_map_.count(sensor.data()) && in updateSensorTempStatsBySeverity()
338 temp_stats_map_[sensor.data()].stats_by_default_threshold.has_value()) { in updateSensorTempStatsBySeverity()
339 auto &stats_record = temp_stats_map_[sensor.data()].stats_by_default_threshold.value(); in updateSensorTempStatsBySeverity()
[all …]
Dthermal_stats_helper.h120 std::unordered_map<std::string, SensorTempStats> temp_stats_map_; member