Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/
Dthermal-helper.cpp97 if (!(sensor_info_map_.count(sensor_name.data()) && in dumpTraces()
108 const auto &sensor_info = sensor_info_map_.at(sensor_name.data()); in dumpTraces()
166 if (!ParseSensorInfo(config, &sensor_info_map_)) { in ThermalHelperImpl()
189 if (!thermal_stats_helper_.initializeStats(config, sensor_info_map_, in ThermalHelperImpl()
195 for (auto &name_status_pair : sensor_info_map_) { in ThermalHelperImpl()
256 if (sensor_info_map_.count( in ThermalHelperImpl()
258 sensor_info_map_[name_status_pair.second.virtual_sensor_info in ThermalHelperImpl()
275 if (!(sensor_info_map_.count(predict_sensor_name))) { in ThermalHelperImpl()
282 const auto &predictor_sensor_info = sensor_info_map_.at(predict_sensor_name); in ThermalHelperImpl()
323 power_hal_service_.updateSupportedPowerHints(sensor_info_map_); in ThermalHelperImpl()
[all …]
Dthermal-helper.h158 return sensor_info_map_; in GetSensorInfoMap()
240 std::unordered_map<std::string, SensorInfo> sensor_info_map_; variable
/hardware/google/pixel/thermal/utils/
Dthermal_stats_helper.h138 const std::unordered_map<std::string, SensorInfo> &sensor_info_map_,
178 const std::unordered_map<std::string, SensorInfo> &sensor_info_map_);
181 const std::unordered_map<std::string, SensorInfo> &sensor_info_map_,
185 const std::unordered_map<std::string, SensorInfo> &sensor_info_map_);
Dthermal_stats_helper.cpp89 const std::unordered_map<std::string, SensorInfo> &sensor_info_map_, in initializeStats() argument
94 if (!ParseSensorStatsConfig(config, sensor_info_map_, &sensor_stats_info, in initializeStats()
105 if (!initializeSensorTempStats(sensor_stats_info, sensor_info_map_)) { in initializeStats()
109 if (!initializeSensorCdevRequestStats(cooling_device_request_info, sensor_info_map_, in initializeStats()
114 if (!initializeSensorAbnormalityStats(abnormal_stats_info, sensor_info_map_)) { in initializeStats()
128 const std::unordered_map<std::string, SensorInfo> &sensor_info_map_, in initializeSensorCdevRequestStats() argument
131 for (const auto &[sensor, sensor_info] : sensor_info_map_) { in initializeSensorCdevRequestStats()
189 const std::unordered_map<std::string, SensorInfo> &sensor_info_map_) { in initializeSensorTempStats() argument
193 for (const auto &[sensor, sensor_info] : sensor_info_map_) { in initializeSensorTempStats()
219 const std::unordered_map<std::string, SensorInfo> &sensor_info_map_) { in initializeSensorAbnormalityStats() argument
[all …]
Dpowerhal_helper.cpp131 const std::unordered_map<std::string, SensorInfo> &sensor_info_map_) { in updateSupportedPowerHints() argument
132 for (auto const &name_status_pair : sensor_info_map_) { in updateSupportedPowerHints()
Dpowerhal_helper.h62 const std::unordered_map<std::string, SensorInfo> &sensor_info_map_);
Dthermal_info.h255 const std::unordered_map<std::string, SensorInfo> &sensor_info_map_,
Dthermal_info.cpp1684 const std::unordered_map<std::string, SensorInfo> &sensor_info_map_, in ParseSensorAbnormalStatsConfig() argument
1722 if (!sensor_info_map_.count(sensor)) { in ParseSensorAbnormalStatsConfig()
1772 if (!sensor_info_map_.count(sensor)) { in ParseSensorAbnormalStatsConfig()
1803 const std::unordered_map<std::string, SensorInfo> &sensor_info_map_, in ParseSensorStatsConfig() argument
1819 if (!ParseStatsInfo(stats_config["Sensors"], sensor_info_map_, sensor_stats_info_parsed, in ParseSensorStatsConfig()
1825 if (!ParseSensorAbnormalStatsConfig(sensor_config["Abnormality"], sensor_info_map_, in ParseSensorStatsConfig()