Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/utils/
Dthermal_throttling.cpp346 for (const auto &binded_cdev_info_pair : in allocatePowerToCdev()
350 const auto cdev_weight = binded_cdev_info_pair.second in allocatePowerToCdev()
352 if (!binded_cdev_info_pair.second.enabled) { in allocatePowerToCdev()
355 allocated_cdev.insert(binded_cdev_info_pair.first); in allocatePowerToCdev()
362 for (const auto &binded_cdev_info_pair : in allocatePowerToCdev()
368 binded_cdev_info_pair.second in allocatePowerToCdev()
371 if (allocated_cdev.count(binded_cdev_info_pair.first)) { in allocatePowerToCdev()
377 if (!binded_cdev_info_pair.second.power_rail.empty()) { in allocatePowerToCdev()
379 power_status_map.at(binded_cdev_info_pair.second.power_rail) in allocatePowerToCdev()
388 binded_cdev_info_pair.second.power_rail + std::string("-avg_power")) in allocatePowerToCdev()
[all …]
Dthermal_stats_helper.cpp106 for (const auto &binded_cdev_info_pair : in initializeSensorCdevRequestStats() local
108 const auto &cdev = binded_cdev_info_pair.first; in initializeSensorCdevRequestStats()
110 cooling_device_info_map_.at(binded_cdev_info_pair.first).max_state; in initializeSensorCdevRequestStats()
Dthermal_info.cpp594 for (const auto &binded_cdev_info_pair : binded_cdev_info_map_profile) { in ParseSensorThrottlingInfo() local
595 if (binded_cdev_info_map.count(binded_cdev_info_pair.first)) { in ParseSensorThrottlingInfo()
596 if (binded_cdev_info_pair.second.power_rail != in ParseSensorThrottlingInfo()
597 binded_cdev_info_map.at(binded_cdev_info_pair.first).power_rail) { in ParseSensorThrottlingInfo()
599 << binded_cdev_info_pair.first in ParseSensorThrottlingInfo()
608 << binded_cdev_info_pair.first in ParseSensorThrottlingInfo()
/hardware/google/pixel/thermal/
DThermal.cpp366 for (const auto &binded_cdev_info_pair : in dumpThrottlingInfo() local
370 *dump_buf << " Cooling device name: " << binded_cdev_info_pair.first << std::endl; in dumpThrottlingInfo()
375 *dump_buf << binded_cdev_info_pair.second.cdev_weight_for_pid[i] << " "; in dumpThrottlingInfo()
381 *dump_buf << binded_cdev_info_pair.second.cdev_ceiling[i] << " "; in dumpThrottlingInfo()
386 *dump_buf << binded_cdev_info_pair.second.limit_info[i] << " "; in dumpThrottlingInfo()
390 if (!binded_cdev_info_pair.second.power_rail.empty()) { in dumpThrottlingInfo()
392 << binded_cdev_info_pair.second.power_rail << std::endl; in dumpThrottlingInfo()
395 *dump_buf << binded_cdev_info_pair.second.power_thresholds[i] << " "; in dumpThrottlingInfo()
400 *dump_buf << binded_cdev_info_pair.second.cdev_floor_with_power_link[i] in dumpThrottlingInfo()
405 switch (binded_cdev_info_pair.second.release_logic) { in dumpThrottlingInfo()
[all …]
Dthermal-helper.cpp98 for (auto &binded_cdev_info_pair : *binded_cdev_info_map) { in maxCoolingRequestCheck()
99 const auto &cdev_info = cooling_device_info_map_.at(binded_cdev_info_pair.first); in maxCoolingRequestCheck()
100 for (auto &cdev_ceiling : binded_cdev_info_pair.second.cdev_ceiling) { in maxCoolingRequestCheck()
103 LOG(ERROR) << binded_cdev_info_pair.first << " cdev_ceiling:" << cdev_ceiling in maxCoolingRequestCheck()