MCPcopy Create free account
hub / github.com/TeamWin/Team-Win-Recovery-Project / prompt_and_wait

Function prompt_and_wait

recovery.cpp:1118–1224  ·  view source on GitHub ↗

Returns REBOOT, SHUTDOWN, or REBOOT_BOOTLOADER. Returning NO_ACTION means to take the default, which is to reboot or shutdown depending on if the --shutdown_after flag was passed to recovery.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 15

finish_recoveryFunction · 0.85
get_menu_selectionFunction · 0.85
ask_to_wipe_dataFunction · 0.85
wipe_dataFunction · 0.85
wipe_cacheFunction · 0.85
apply_from_adbFunction · 0.85
apply_from_sdcardFunction · 0.85
copy_logsFunction · 0.85
choose_recovery_fileFunction · 0.85
run_graphics_testFunction · 0.85
ensure_path_mounted_atFunction · 0.85
ensure_path_mountedFunction · 0.85

Tested by

no test coverage detected