Searched refs:restart_type (Results 1 – 5 of 5) sorted by relevance
/tools/asuite/adevice/src/ |
D | restart_chooser.rs | 22 pub fn restart_type(&self, installed_file: &str) -> RestartType { in restart_type() method 79 auto_restart().restart_type("vendor/lib64/DefaultVehicleHal.so") in reboot_for_module_with_shared_and_static_lib() 85 assert_eq!(RestartType::Reboot, auto_restart().restart_type("vendor/lib64/Weird.so")); in test_so_rebooots() 90 assert_eq!(RestartType::Reboot, auto_restart().restart_type("bad/file/path")); in test_bogus_file_rebooots() 104 auto_restart().restart_type(installed_file), in soft_restart_for_certain_file_extensions() 118 auto_restart().restart_type(installed_file), in soft_restart_for_certain_file_extensions() 129 auto_restart().restart_type("system/bin/surfaceflinger.rc") in binary_with_rc_file_reboots_for_rc() 141 assert_eq!(RestartType::None, restart_chooser.restart_type("system/bin/surfaceflinger.rc")); in restart_choice_is_used()
|
D | commands.rs | 124 pub fn restart_type( in restart_type() function 132 let restart_type = build_system.restart_type(installed_file); in restart_type() localVariable 133 debug!(" -- Restart is {:?} for {}", restart_type.clone(), installed_file); in restart_type() 134 match restart_type { in restart_type()
|
D | device.rs | 2 use crate::commands::{restart_type, split_string, AdbCommand}; 348 let rtype = restart_type(restart_chooser, &installed_files); in update() 349 profiler.restart_type = format!("{:?}", rtype); in update()
|
D | metrics.rs | 116 self.add_action_event(&profiler.restart_type, profiler.restart); in add_profiler_events()
|
D | adevice.rs | 694 pub restart_type: String, field 716 format!("Restart({})- {}", self.restart_type, self.restart.as_secs()), in fmt()
|