Home
last modified time | relevance | path

Searched refs:RestartChoice (Results 1 – 3 of 3) sorted by relevance

/tools/asuite/adevice/src/
Drestart_chooser.rs9 use crate::cli::RestartChoice;
13 restart_choice: RestartChoice,
17 pub fn new(restart_choice: &RestartChoice) -> Self { in new()
24 RestartChoice::Auto => { in restart_type()
31 RestartChoice::None => RestartType::None, in restart_type()
32 RestartChoice::Reboot => RestartType::Reboot, in restart_type()
33 RestartChoice::Restart => RestartType::SoftRestart, in restart_type()
72 RestartChooser::new(&RestartChoice::Auto) in auto_restart()
140 let restart_chooser = RestartChooser::new(&RestartChoice::None); in restart_choice_is_used()
Dcli.rs75 #[clap(long = "restart", short, global = true, value_enum, default_value_t=RestartChoice::Auto)]
76 pub restart_choice: RestartChoice,
97 pub enum RestartChoice { enum
/tools/asuite/adevice/tests/
Dpartial_program_tests.rs4 use adevice::cli::RestartChoice;
20 let restart_chooser = RestartChooser::new(&RestartChoice::Reboot); in call_update_with_reboot()