Searched refs:AdbCommand (Results 1 – 5 of 5) sorted by relevance
/tools/asuite/adevice/src/ |
D | commands.rs | 65 pub upserts: HashMap<PathBuf, AdbCommand>, 66 pub deletes: HashMap<PathBuf, AdbCommand>, 88 let adb_cmd = |action| AdbCommand::from_action(action, file_path); in compose() 102 let adb_cmd = |action| AdbCommand::from_action(action, file_path); in compose() 153 pub struct AdbCommand { struct 162 impl AdbCommand { argument 165 AdbCommand { in from_action()
|
D | device.rs | 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() [all …]
|
D | adevice.rs | 48 fn run_adb_command(&self, args: &commands::AdbCommand) -> Result<String>; in run_adb_command() 246 let all_cmds: HashMap<PathBuf, commands::AdbCommand> = in adevice()
|
/tools/asuite/adevice/tests/ |
D | partial_program_tests.rs | 6 use adevice::commands::{AdbAction, AdbCommand}; 23 AdbCommand::from_action(AdbAction::Mkdir, &PathBuf::from("ignore_me")), in call_update_with_reboot()
|
/tools/asuite/adevice/tests/common/ |
D | fakes.rs | 2 use adevice::commands::{AdbAction, AdbCommand}; 106 fn run_adb_command(&self, cmd: &AdbCommand) -> Result<String> { in run_adb_command()
|