Searched refs:cdev_name (Results 1 – 6 of 6) sorted by relevance
/hardware/google/pixel/thermal/utils/ |
D | thermal_files.cpp | 76 bool ThermalFiles::writeCdevFile(std::string_view cdev_name, std::string_view data) { in writeCdevFile() argument 78 getThermalFilePath(::android::base::StringPrintf("%s_%s", cdev_name.data(), "w")); in writeCdevFile() 80 ATRACE_NAME(StringPrintf("ThermalFiles::writeCdevFile - %s", cdev_name.data()).c_str()); in writeCdevFile() 82 PLOG(WARNING) << "Failed to write cdev: " << cdev_name << " to " << data.data(); in writeCdevFile()
|
D | thermal_throttling.cpp | 795 const auto &cdev_name = cdev_request_pair.first; in computeCoolingDevicesRequest() local 796 const auto &binded_cdev_info = binded_cdev_info_map.at(cdev_name); in computeCoolingDevicesRequest() 802 if (thermal_throttling_status.pid_cdev_request_map.count(cdev_name)) { in computeCoolingDevicesRequest() 803 pid_cdev_request = thermal_throttling_status.pid_cdev_request_map.at(cdev_name); in computeCoolingDevicesRequest() 806 if (thermal_throttling_status.hardlimit_cdev_request_map.count(cdev_name)) { in computeCoolingDevicesRequest() 808 thermal_throttling_status.hardlimit_cdev_request_map.at(cdev_name); in computeCoolingDevicesRequest() 811 if (cdev_release_map.count(cdev_name)) { in computeCoolingDevicesRequest() 812 release_step = cdev_release_map.at(cdev_name); in computeCoolingDevicesRequest() 815 LOG(VERBOSE) << sensor_name.data() << " binded cooling device " << cdev_name in computeCoolingDevicesRequest() 822 ::android::base::StringPrintf("%s-%s", sensor_name.data(), cdev_name.data()); in computeCoolingDevicesRequest() [all …]
|
D | thermal_info.cpp | 599 const std::string &cdev_name = values[j]["CdevRequest"].asString(); in ParseBindedCdevInfo() local 608 LOG(INFO) << "Star to parse " << cdev_name << "'s CdevWeightForPID"; in ParseBindedCdevInfo() 619 << cdev_name << ", please remove one of them"; in ParseBindedCdevInfo() 625 LOG(INFO) << "Start to parse CdevCeiling: " << cdev_name; in ParseBindedCdevInfo() 627 LOG(ERROR) << "Failed to parse CdevCeiling for " << cdev_name; in ParseBindedCdevInfo() 634 LOG(INFO) << "Start to parse CdevCeilingFrequency: " << cdev_name; in ParseBindedCdevInfo() 636 if (scaling_frequency_map.find(cdev_name) == scaling_frequency_map.end()) { in ParseBindedCdevInfo() 637 LOG(ERROR) << "Scaling frequency path is not found in config for " << cdev_name; in ParseBindedCdevInfo() 642 scaling_frequency_map.find(cdev_name)->second; in ParseBindedCdevInfo() 650 LOG(INFO) << "Start to search CdevCeiling based on frequency: " << cdev_name; in ParseBindedCdevInfo() [all …]
|
D | thermal_throttling.h | 93 bool getCdevMaxRequest(std::string_view cdev_name, int *max_state); 135 bool updateCdevMaxRequestAndNotifyIfChange(std::string_view cdev_name, int cur_request,
|
D | thermal_stats_helper.cpp | 503 std::string cdev_name = stats_by_threshold.logging_name.value_or( in reportAllSensorCdevRequestStats() local 506 if (!reportSensorCdevRequestStats(stats_client, sensor, cdev_name, in reportAllSensorCdevRequestStats()
|
/hardware/google/pixel/thermal/ |
D | init.thermal.symlinks.sh | 10 cdev_name=`cat $f/type` 11 ln -s $f /dev/thermal/cdev-by-name/$cdev_name
|