Lines Matching refs:cmd_args
152 static unique_fd send_command(const std::vector<std::string>& cmd_args, std::string* error) { in send_command() argument
154 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() local
212 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()
232 unique_fd remote_fd = send_command(cmd_args, &error); in install_app_streamed()
563 std::vector<std::string> cmd_args = {install_cmd, "install-create", "-S", in install_multiple_app_streamed() local
565 cmd_args.reserve(first_apk + 4); in install_multiple_app_streamed()
568 cmd_args.push_back(argv[i]); in install_multiple_app_streamed()
570 cmd_args.push_back(escape_arg(argv[i])); in install_multiple_app_streamed()
578 unique_fd fd = send_command(cmd_args, &error); in install_multiple_app_streamed()
613 std::vector<std::string> cmd_args = { in install_multiple_app_streamed() local
631 unique_fd remote_fd = send_command(cmd_args, &error); in install_multiple_app_streamed()
869 std::vector<std::string> cmd_args = { in install_multi_package() local
886 unique_fd remote_fd = send_command(cmd_args, &error); in install_multi_package()