Lines Matching refs:AdbCommand
2 use crate::commands::{restart_type, split_string, AdbCommand};
31 fn run_adb_command(&self, cmd: &AdbCommand) -> Result<String> { in run_adb_command()
320 adb_commands: &HashMap<PathBuf, AdbCommand>, in update() argument
396 fn mkdir_comes_first_rm_dfs(a: &AdbCommand, b: &AdbCommand) -> Ordering { in mkdir_comes_first_rm_dfs() argument
501 fn delete_file_cmd(file: &str) -> AdbCommand { in delete_file_cmd() argument
502 AdbCommand::from_action(AdbAction::DeleteFile, &PathBuf::from(file)) in delete_file_cmd()
505 fn delete_dir_cmd(dir: &str) -> AdbCommand { in delete_dir_cmd() argument
506 AdbCommand::from_action(AdbAction::DeleteDir, &PathBuf::from(dir)) in delete_dir_cmd()
560 let dir = |d| AdbCommand::from_action(AdbAction::DeleteDir, &PathBuf::from(d)); in sort_many()
561 let file = |d| AdbCommand::from_action(AdbAction::DeleteFile, &PathBuf::from(d)); in sort_many()
562 let mut adb_commands: Vec<AdbCommand> = vec![ in sort_many()