Home
last modified time | relevance | path

Searched refs:retry_count (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/
Drecovery.cpp546 static void set_retry_bootloader_message(int retry_count, const std::vector<std::string>& args) { in set_retry_bootloader_message() argument
555 options.push_back(android::base::StringPrintf("--retry_count=%d", retry_count)); in set_retry_bootloader_message()
628 int retry_count = 0; in start_recovery() local
659 android::base::ParseInt(optarg, &retry_count, 0); in start_recovery()
731 if (int required_battery_level; retry_count == 0 && !IsBatteryOk(&required_battery_level)) { in start_recovery()
737 } else if (retry_count == 0 && bootreason_in_blocklist()) { in start_recovery()
745 if (retry_count == 0) { in start_recovery()
746 set_retry_bootloader_message(retry_count + 1, args); in start_recovery()
767 retry_count, ui); in start_recovery()
782 if (status == INSTALL_RETRY && retry_count < RETRY_LIMIT) { in start_recovery()
[all …]
/bootable/recovery/install/
Dinstall.cpp275 bool SetUpNonAbUpdateCommands(const std::string& package, ZipArchiveHandle zip, int retry_count, in SetUpNonAbUpdateCommands() argument
312 if (retry_count > 0) { in SetUpNonAbUpdateCommands()
330 std::vector<std::string>* log_buffer, int retry_count, in TryUpdateBinary() argument
409 : SetUpNonAbUpdateCommands(package_path, zip, retry_count, pipe_write.get(), &args); in TryUpdateBinary()
525 std::vector<std::string>* log_buffer, int retry_count, in VerifyAndInstallPackage() argument
540 if (retry_count > 0) { in VerifyAndInstallPackage()
541 ui->Print("Retry attempt: %d\n", retry_count); in VerifyAndInstallPackage()
544 auto result = TryUpdateBinary(package, wipe_cache, log_buffer, retry_count, max_temperature, ui); in VerifyAndInstallPackage()
552 bool should_wipe_cache, int retry_count, RecoveryUI* ui) { in InstallPackage() argument
573 result = VerifyAndInstallPackage(package, &updater_wipe_cache, &log_buffer, retry_count, in InstallPackage()
[all …]
/bootable/recovery/install/include/private/
Dsetup_commands.h30 bool SetUpNonAbUpdateCommands(const std::string& package, ZipArchiveHandle zip, int retry_count,
/bootable/recovery/install/include/install/
Dinstall.h52 bool should_wipe_cache, int retry_count, RecoveryUI* ui);