Lines Matching refs:first

127         const auto &cdev_info = cooling_device_info_map_.at(binded_cdev_info_pair.first);  in maxCoolingRequestCheck()
131 LOG(ERROR) << binded_cdev_info_pair.first << " cdev_ceiling:" << cdev_ceiling in maxCoolingRequestCheck()
196 sensor_status_map_[name_status_pair.first] = { 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()
231 LOG(ERROR) << name_status_pair.first << "'s link sensor " in ThermalHelperImpl()
243 LOG(ERROR) << name_status_pair.first << "'s backup sensor " in ThermalHelperImpl()
263 << name_status_pair.first << "'s trigger sensor: " in ThermalHelperImpl()
276 LOG(ERROR) << name_status_pair.first << "'s predictor " << predict_sensor_name in ThermalHelperImpl()
285 LOG(ERROR) << name_status_pair.first << "'s predictor " << predict_sensor_name in ThermalHelperImpl()
301 LOG(ERROR) << "Failed to get output size of " << name_status_pair.first in ThermalHelperImpl()
309 LOG(ERROR) << "Sensor [" << name_status_pair.first << "]: " in ThermalHelperImpl()
555 static_cast<size_t>(status.first) > static_cast<size_t>(status.second) in readTemperature()
556 ? status.first in readTemperature()
562 sensor_log << sensor_log_pair.first << ":" << sensor_log_pair.second << " "; in readTemperature()
675 cooling_devices_.writeCdevFile(cdev_info_pair.first, "0"); in clearAllThrottling()
685 .name = sensor_info_pair.first, in clearAllThrottling()
696 power_hal_service_.setMode(sensor_info_pair.first, severity, false); in clearAllThrottling()
705 std::string_view sensor_name = sensor_info_pair.first; in initializeSensorMap()
733 std::string cooling_device_name = cooling_device_info_pair.first; in initializeCoolingDevices()
757 LOG(INFO) << "Cooling device " << cooling_device_info_pair.first in initializeCoolingDevices()
767 LOG(INFO) << "Cooling device " << cooling_device_info_pair.first << " state:" << i in initializeCoolingDevices()
778 LOG(ERROR) << cooling_device_info_pair.first in initializeCoolingDevices()
783 LOG(INFO) << "Cooling device " << cooling_device_info_pair.first in initializeCoolingDevices()
832 std::string_view sensor_name = sensor_info.first; in initializeTrip()
887 monitored_sensors->insert(sensor_info.first); in initializeTrip()
891 LOG(INFO) << "config Sensor: " << sensor_info.first in initializeTrip()
913 if (readTemperature(name_info_pair.first, &temp, nullptr, false)) { in fillCurrentTemperatures()
917 << ": error reading temperature for sensor: " << name_info_pair.first; in fillCurrentTemperatures()
936 if (readTemperatureThreshold(name_info_pair.first, &temp)) { in fillTemperatureThresholds()
940 << name_info_pair.first; in fillTemperatureThresholds()
956 if (readCoolingDevice(name_info_pair.first, &value)) { in fillCurrentCoolingDevices()
959 LOG(ERROR) << __func__ << ": error reading cooling device: " << name_info_pair.first; in fillCurrentCoolingDevices()
1341 const SensorInfo &sensor_info = sensor_info_map_.at(name_status_pair.first); in thermalWatcherCallbackFunc()
1350 name_status_pair.first.data()) in thermalWatcherCallbackFunc()
1386 } else if (uevent_sensors.find(name_status_pair.first) != uevent_sensors.end()) { in thermalWatcherCallbackFunc()
1402 LOG(VERBOSE) << "sensor " << name_status_pair.first in thermalWatcherCallbackFunc()
1412 LOG(VERBOSE) << "sensor " << name_status_pair.first in thermalWatcherCallbackFunc()
1418 if (!readTemperature(name_status_pair.first, &temp, &throttling_status, force_no_cache)) { in thermalWatcherCallbackFunc()
1420 << ": error reading temperature for sensor: " << name_status_pair.first; in thermalWatcherCallbackFunc()
1423 if (!readTemperatureThreshold(name_status_pair.first, &threshold)) { in thermalWatcherCallbackFunc()
1425 << name_status_pair.first; in thermalWatcherCallbackFunc()
1432 if (throttling_status.first != sensor_status.prev_hot_severity) { in thermalWatcherCallbackFunc()
1433 sensor_status.prev_hot_severity = throttling_status.first; in thermalWatcherCallbackFunc()
1453 thermal_throttling_.clearThrottlingData(name_status_pair.first); in thermalWatcherCallbackFunc()
1459 if (!readTemperaturePredictions(name_status_pair.first, &sensor_predictions)) { in thermalWatcherCallbackFunc()
1460 LOG(ERROR) << "Failed to read predictions of " << name_status_pair.first in thermalWatcherCallbackFunc()
1473 name_status_pair.first, sensor_info, sensor_status.severity, in thermalWatcherCallbackFunc()
1479 LOG(VERBOSE) << "Sensor " << name_status_pair.first << ": sleep_ms=" << sleep_ms.count() in thermalWatcherCallbackFunc()