Lines Matching refs:cdev_name
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()
843 if (updateCdevMaxRequestAndNotifyIfChange(cdev_name, cdev_request_pair.second, in computeCoolingDevicesRequest()
845 cooling_devices_to_update->emplace_back(cdev_name); in computeCoolingDevicesRequest()
849 thermal_stats_helper->updateSensorCdevRequestStats(sensor_name, cdev_name, in computeCoolingDevicesRequest()
855 bool ThermalThrottling::updateCdevMaxRequestAndNotifyIfChange(std::string_view cdev_name, in updateCdevMaxRequestAndNotifyIfChange() argument
858 auto &request_set = cdev_all_request_map_.at(cdev_name.data()); in updateCdevMaxRequestAndNotifyIfChange()
865 LOG(VERBOSE) << "For cooling device [" << cdev_name.data() in updateCdevMaxRequestAndNotifyIfChange()
871 bool ThermalThrottling::getCdevMaxRequest(std::string_view cdev_name, int *max_state) { in getCdevMaxRequest() argument
873 if (!cdev_all_request_map_.count(cdev_name.data())) { in getCdevMaxRequest()
874 LOG(ERROR) << "Cooling device [" << cdev_name.data() in getCdevMaxRequest()
878 *max_state = *cdev_all_request_map_.at(cdev_name.data()).begin(); in getCdevMaxRequest()