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 | 325 static void log_max_temperature(int* max_temperature, const std::atomic<bool>& logger_finished) { in log_max_temperature() argument 326 CHECK(max_temperature != nullptr); in log_max_temperature() 331 *max_temperature = std::max(*max_temperature, GetMaxValueFromThermalZone()); in log_max_temperature() 338 int* max_temperature, RecoveryUI* ui) { in TryUpdateBinary() argument 451 std::thread temperature_logger(log_max_temperature, max_temperature, std::ref(logger_finished)); in TryUpdateBinary() 539 int* max_temperature, RecoveryUI* ui) { in VerifyAndInstallPackage() argument 557 auto result = TryUpdateBinary(package, wipe_cache, log_buffer, retry_count, max_temperature, ui); in VerifyAndInstallPackage() 569 int max_temperature = start_temperature; in InstallPackage() local 587 &max_temperature, ui); in InstallPackage() 622 max_temperature = std::max(end_temperature, max_temperature); in InstallPackage() [all …]
|