Lines Matching refs:boot
159 * 4. get_args() writes BCB with "boot-recovery" and "--wipe_data"
165 * 8. main() calls reboot() to boot main system
171 * 4. get_args() writes BCB with "boot-recovery" and "--update_package=..."
215 if (android::base::GetBoolProperty("ro.boot.quiescent", false)) {
314 bootloader_message boot = {};
316 if (!read_bootloader_message(&boot, &err)) {
319 boot = {};
321 stage = std::string(boot.stage);
323 if (boot.command[0] != 0) {
324 std::string boot_command = std::string(boot.command, sizeof(boot.command));
328 if (boot.status[0] != 0) {
329 std::string boot_status = std::string(boot.status, sizeof(boot.status));
337 boot.recovery[sizeof(boot.recovery) - 1] = '\0'; // Ensure termination
338 std::string boot_recovery(boot.recovery);
345 LOG(INFO) << "Got " << args.size() << " arguments from boot message";
346 } else if (boot.recovery[0] != 0) {
347 LOG(ERROR) << "Bad boot message: \"" << boot_recovery << "\"";
368 // bootloader control block. So the device will always boot into recovery to
481 // clear the recovery command and prepare to boot a (hopefully working) system,
500 // Reset to normal system boot so recovery won't cycle indefinitely.
1326 std::string bootreason = android::base::GetProperty("ro.boot.bootreason", "");
1461 if (android::base::GetBoolProperty("ro.boot.quiescent", false)) {