Searched refs:cmd_args (Results 1 – 2 of 2) sorted by relevance
157 static unique_fd send_command(const std::vector<std::string>& cmd_args, std::string* error) { in send_command() argument159 return send_abb_exec_command(cmd_args, error); in send_command()161 return unique_fd(adb_connect(android::base::Join(cmd_args, " "), error)); in send_command()216 std::vector<std::string> cmd_args = {use_abb_exec ? "package" : "exec:cmd package"}; in install_app_streamed() local217 cmd_args.reserve(argc + 3); in install_app_streamed()222 cmd_args.push_back(*argv++); in install_app_streamed()224 cmd_args.push_back(escape_arg(*argv++)); in install_app_streamed()230 cmd_args.push_back("-S"); in install_app_streamed()231 cmd_args.push_back(android::base::StringPrintf("%" PRIu64, static_cast<uint64_t>(sb.st_size))); in install_app_streamed()234 cmd_args.push_back("--apex"); in install_app_streamed()[all …]
635 bool InAppRunner::RunCmdInApp(const std::string& cmd, const std::vector<std::string>& cmd_args, in RunCmdInApp() argument679 for (size_t i = 0; i < cmd_args.size(); ++i) { in RunCmdInApp()680 if (i < cmd_args.size() - workload_args_size) { in RunCmdInApp()682 if (cmd_args[i] == "-o" || cmd_args[i] == "--app") { in RunCmdInApp()687 args.push_back(cmd_args[i]); in RunCmdInApp()