Searched refs:target_sensor (Results 1 – 2 of 2) sorted by relevance
/hardware/google/pixel/thermal/ |
D | thermal-helper.h | 87 virtual bool emulTemp(std::string_view target_sensor, const float temp, 89 virtual bool emulSeverity(std::string_view target_sensor, const int severity, 91 virtual bool emulClear(std::string_view target_sensor) = 0; 116 virtual void dumpTraces(std::string_view target_sensor) = 0; 130 bool emulTemp(std::string_view target_sensor, const float temp, 132 bool emulSeverity(std::string_view target_sensor, const int severity, 134 bool emulClear(std::string_view target_sensor) override; 135 void dumpTraces(std::string_view target_sensor) override; 231 void checkUpdateSensorForEmul(std::string_view target_sensor, const bool max_throttling);
|
D | thermal-helper.cpp | 377 void ThermalHelperImpl::checkUpdateSensorForEmul(std::string_view target_sensor, in checkUpdateSensorForEmul() argument 386 if (std::find(linked_sensors.begin(), linked_sensors.end(), target_sensor) == in checkUpdateSensorForEmul() 399 bool ThermalHelperImpl::emulTemp(std::string_view target_sensor, const float temp, in emulTemp() argument 401 LOG(INFO) << "Set " << target_sensor.data() << " emul_temp: " << temp in emulTemp() 407 if (!sensor_status_map_.count(target_sensor.data())) { in emulTemp() 408 LOG(ERROR) << "Cannot find target emul sensor: " << target_sensor.data(); in emulTemp() 412 auto &sensor_status = sensor_status_map_.at(target_sensor.data()); in emulTemp() 418 checkUpdateSensorForEmul(target_sensor.data(), max_throttling); in emulTemp() 424 bool ThermalHelperImpl::emulSeverity(std::string_view target_sensor, const int severity, in emulSeverity() argument 426 LOG(INFO) << "Set " << target_sensor.data() << " emul_severity: " << severity in emulSeverity() [all …]
|