Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/
DThermal.cpp303 for (const auto &name_info_pair : map) { in dumpThrottlingInfo() local
304 if (name_info_pair.second.throttling_info == nullptr) { in dumpThrottlingInfo()
307 if (name_info_pair.second.throttling_info->binded_cdev_info_map.size()) { in dumpThrottlingInfo()
308 if (thermal_throttling_status_map.find(name_info_pair.first) == in dumpThrottlingInfo()
312 *dump_buf << " Name: " << name_info_pair.first << std::endl; in dumpThrottlingInfo()
313 if (thermal_throttling_status_map.at(name_info_pair.first) in dumpThrottlingInfo()
318 *dump_buf << name_info_pair.second.throttling_info->k_po[i] << " "; in dumpThrottlingInfo()
323 *dump_buf << name_info_pair.second.throttling_info->k_pu[i] << " "; in dumpThrottlingInfo()
328 *dump_buf << name_info_pair.second.throttling_info->k_i[i] << " "; in dumpThrottlingInfo()
333 *dump_buf << name_info_pair.second.throttling_info->k_d[i] << " "; in dumpThrottlingInfo()
[all …]
Dthermal-helper.cpp763 for (const auto &name_info_pair : sensor_info_map_) { in fillCurrentTemperatures() local
765 if (name_info_pair.second.is_hidden) { in fillCurrentTemperatures()
768 if (filterType && name_info_pair.second.type != type) { in fillCurrentTemperatures()
771 if (filterCallback && !name_info_pair.second.send_cb) { in fillCurrentTemperatures()
774 if (readTemperature(name_info_pair.first, &temp, nullptr, false)) { in fillCurrentTemperatures()
778 << ": error reading temperature for sensor: " << name_info_pair.first; in fillCurrentTemperatures()
789 for (const auto &name_info_pair : sensor_info_map_) { in fillTemperatureThresholds() local
791 if (name_info_pair.second.is_hidden) { in fillTemperatureThresholds()
794 if (filterType && name_info_pair.second.type != type) { in fillTemperatureThresholds()
797 if (readTemperatureThreshold(name_info_pair.first, &temp)) { in fillTemperatureThresholds()
[all …]