MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / run_adb_shell

Method run_adb_shell

packages/server/src/android.rs:1003–1005  ·  view source on GitHub ↗
(&self, serial: &str, script: &str)

Source from the content-addressed store, hash-verified

1001 }
1002
1003 fn run_adb_shell(&self, serial: &str, script: &str) -> Result<String, AppError> {
1004 self.run_adb(["-s", serial, "shell", script])
1005 }
1006
1007 fn run_adb<const N: usize>(&self, args: [&str; N]) -> Result<String, AppError> {
1008 run_command_text(self.adb_path(), args)

Callers 5

set_pasteboard_textMethod · 0.80
pasteboard_textMethod · 0.80
toggle_appearanceMethod · 0.80

Calls 1

run_adbMethod · 0.80

Tested by

no test coverage detected