Searched refs:retry_count (Results 1 – 4 of 4) sorted by relevance
/bootable/recovery/install/ |
D | install.cpp | 272 int SetUpNonAbUpdateCommands(const std::string& package, ZipArchiveHandle zip, int retry_count, in SetUpNonAbUpdateCommands() argument 311 if (retry_count > 0) { in SetUpNonAbUpdateCommands() 329 std::vector<std::string>* log_buffer, int retry_count, in try_update_binary() argument 391 : SetUpNonAbUpdateCommands(package, zip, retry_count, pipe_write.get(), &args); in try_update_binary() 575 std::vector<std::string>* log_buffer, int retry_count, in really_install_package() argument 616 if (retry_count == 0 && !verify_package_compatibility(zip)) { in really_install_package() 623 if (retry_count > 0) { in really_install_package() 624 ui->Print("Retry attempt: %d\n", retry_count); in really_install_package() 628 try_update_binary(path, zip, wipe_cache, log_buffer, retry_count, max_temperature, ui); in really_install_package() 636 int retry_count, RecoveryUI* ui) { in install_package() argument [all …]
|
/bootable/recovery/ |
D | recovery.cpp | 678 static void set_retry_bootloader_message(int retry_count, const std::vector<std::string>& args) { in set_retry_bootloader_message() argument 687 options.push_back(android::base::StringPrintf("--retry_count=%d", retry_count)); in set_retry_bootloader_message() 760 int retry_count = 0; in start_recovery() local 793 android::base::ParseInt(optarg, &retry_count, 0); in start_recovery() 865 if (retry_count == 0 && !is_battery_ok(&required_battery_level)) { in start_recovery() 872 } else if (retry_count == 0 && bootreason_in_blacklist()) { in start_recovery() 880 if (retry_count == 0) { in start_recovery() 881 set_retry_bootloader_message(retry_count + 1, args); in start_recovery() 884 status = install_package(update_package, should_wipe_cache, true, retry_count, ui); in start_recovery() 891 if (status == INSTALL_RETRY && retry_count < RETRY_LIMIT) { in start_recovery() [all …]
|
/bootable/recovery/install/include/private/ |
D | setup_commands.h | 30 int SetUpNonAbUpdateCommands(const std::string& package, ZipArchiveHandle zip, int retry_count,
|
/bootable/recovery/install/include/install/ |
D | install.h | 51 int retry_count, RecoveryUI* ui);
|