Searched refs:max_temperature (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/recovery_utils/ |
D | thermalutil.cpp | 63 int max_temperature = -1; in GetMaxValueFromThermalZone() local 76 max_temperature = std::max(temperature, max_temperature); in GetMaxValueFromThermalZone() 78 LOG(INFO) << "current maximum temperature: " << max_temperature; in GetMaxValueFromThermalZone() 79 return max_temperature; in GetMaxValueFromThermalZone()
|
/bootable/recovery/install/ |
D | install.cpp | 357 static void log_max_temperature(int* max_temperature, const std::atomic<bool>& logger_finished) { in log_max_temperature() argument 358 CHECK(max_temperature != nullptr); in log_max_temperature() 363 *max_temperature = std::max(*max_temperature, GetMaxValueFromThermalZone()); in log_max_temperature() 379 int* max_temperature, Device* device) { in TryUpdateBinary() argument 506 std::thread temperature_logger(log_max_temperature, max_temperature, std::ref(logger_finished)); in TryUpdateBinary() 597 int* max_temperature, Device* device) { in VerifyAndInstallPackage() argument 617 TryUpdateBinary(package, wipe_cache, log_buffer, retry_count, max_temperature, device); in VerifyAndInstallPackage() 630 int max_temperature = start_temperature; in InstallPackage() local 648 &max_temperature, device); in InstallPackage() 683 max_temperature = std::max(end_temperature, max_temperature); in InstallPackage() [all …]
|