Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/
Dthermal-helper.cpp195 for (auto &name_status_pair : sensor_info_map_) { in ThermalHelperImpl() local
196 sensor_status_map_[name_status_pair.first] = { in ThermalHelperImpl()
205 if (name_status_pair.second.throttling_info != nullptr) { in ThermalHelperImpl()
207 name_status_pair.first, name_status_pair.second.throttling_info, in ThermalHelperImpl()
209 LOG(ERROR) << name_status_pair.first << " failed to register thermal throttling"; in ThermalHelperImpl()
215 maxCoolingRequestCheck(&name_status_pair.second.throttling_info->binded_cdev_info_map); in ThermalHelperImpl()
219 name_status_pair.second.throttling_info->profile_map) { in ThermalHelperImpl()
224 if (name_status_pair.second.virtual_sensor_info != nullptr) { in ThermalHelperImpl()
227 i < name_status_pair.second.virtual_sensor_info->linked_sensors.size(); i++) { in ThermalHelperImpl()
229 name_status_pair.second.virtual_sensor_info->linked_sensors[i], in ThermalHelperImpl()
[all …]
/hardware/google/pixel/thermal/utils/
Dpowerhal_helper.cpp132 for (auto const &name_status_pair : sensor_info_map_) { in updateSupportedPowerHints() local
133 if (!(name_status_pair.second.send_powerhint)) { in updateSupportedPowerHints()
139 supported_powerhint_map_[name_status_pair.first] in updateSupportedPowerHints()
148 isSupported = isModeSupported(name_status_pair.first, severity); in updateSupportedPowerHints()
152 supported_powerhint_map_[name_status_pair.first].hint_severity_map[severity] = in updateSupportedPowerHints()