Searched refs:cmd_args (Results 1 – 3 of 3) sorted by relevance
152 static unique_fd send_command(const std::vector<std::string>& cmd_args, std::string* error) { in send_command() argument154 return send_abb_exec_command(cmd_args, error); in send_command()156 return unique_fd(adb_connect(android::base::Join(cmd_args, " "), error)); in send_command()211 std::vector<std::string> cmd_args = {use_abb_exec ? "package" : "exec:cmd package"}; in install_app_streamed() local212 cmd_args.reserve(argc + 3); in install_app_streamed()217 cmd_args.push_back(*argv++); in install_app_streamed()219 cmd_args.push_back(escape_arg(*argv++)); in install_app_streamed()225 cmd_args.push_back("-S"); in install_app_streamed()226 cmd_args.push_back(android::base::StringPrintf("%" PRIu64, static_cast<uint64_t>(sb.st_size))); in install_app_streamed()229 cmd_args.push_back("--apex"); in install_app_streamed()[all …]
76 virtual int run(const std::vector<std::string>& cmd_args, int* exit_code) const = 0;81 int run(const std::vector<std::string>& cmd_args, int* exit_code) const override;
144 int DefaultExecutor::run(const std::vector<std::string>& cmd_args, int* exit_code) const { in run() argument146 argv.reserve(cmd_args.size()); in run()147 for (auto& arg : cmd_args) { in run()