Home
last modified time | relevance | path

Searched refs:max_temperature (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/otautil/
DThermalUtil.cpp63 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/
Dinstall.cpp294 static void log_max_temperature(int* max_temperature, const std::atomic<bool>& logger_finished) { in log_max_temperature() argument
295 CHECK(max_temperature != nullptr); in log_max_temperature()
300 *max_temperature = std::max(*max_temperature, GetMaxValueFromThermalZone()); in log_max_temperature()
307 int* max_temperature) { in try_update_binary() argument
405 std::thread temperature_logger(log_max_temperature, max_temperature, std::ref(logger_finished)); in try_update_binary()
554 int* max_temperature) { in really_install_package() argument
609 int result = try_update_binary(path, zip, wipe_cache, log_buffer, retry_count, max_temperature); in really_install_package()
627 int max_temperature = start_temperature; in install_package() local
636 &max_temperature); in install_package()
670 max_temperature = std::max(end_temperature, max_temperature); in install_package()
[all …]