Lines Matching refs:retry_count
546 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()
784 retry_count += 1; in start_recovery()
785 set_retry_bootloader_message(retry_count, args); in start_recovery()
787 ui->Print("Retry attempt %d\n", retry_count); in start_recovery()