Lines Matching refs:cmd
50 Command cmd("adb"); in run_adb() local
56 cmd.AddArg(first); in run_adb()
65 cmd.AddArg(arg); in run_adb()
69 return run_command(cmd); in run_adb()
75 Command cmd("adb"); in get_system_property() local
76 cmd.AddArg("shell"); in get_system_property()
77 cmd.AddArg("getprop"); in get_system_property()
78 cmd.AddArg(name); in get_system_property()
80 return trim(get_command_output(cmd, err, false)); in get_system_property()
280 Command cmd("adb"); in run_instrumentation_test() local
281 cmd.AddArg("shell"); in run_instrumentation_test()
282 cmd.AddArg("am"); in run_instrumentation_test()
283 cmd.AddArg("instrument"); in run_instrumentation_test()
284 cmd.AddArg("-w"); in run_instrumentation_test()
285 cmd.AddArg("-m"); in run_instrumentation_test()
289 cmd.AddArg("-e"); in run_instrumentation_test()
290 cmd.AddArg("package"); in run_instrumentation_test()
293 cmd.AddArg(className.substr(0, classLen - 1)); in run_instrumentation_test()
295 cmd.AddArg("-e"); in run_instrumentation_test()
296 cmd.AddArg("class"); in run_instrumentation_test()
297 cmd.AddArg(className); in run_instrumentation_test()
300 cmd.AddArg(packageName + "/" + runner); in run_instrumentation_test()
302 print_command(cmd); in run_instrumentation_test()
319 const char* prog = cmd.GetProg(); in run_instrumentation_test()
320 char* const* argv = cmd.GetArgv(); in run_instrumentation_test()
321 char* const* env = cmd.GetEnv(); in run_instrumentation_test()