Home
last modified time | relevance | path

Searched refs:Command (Results 1 – 25 of 72) sorted by relevance

123

/device/google/cuttlefish/common/libs/utils/
Dsubprocess.h143 class Command {
162 Command(std::string executable, SubprocessStopper stopper = KillSubprocess);
163 Command(Command&&) = default;
167 Command(const Command&) = delete;
168 Command& operator=(const Command&) = delete;
169 ~Command();
175 Command& SetExecutable(std::string executable) & { in SetExecutable()
179 Command SetExecutable(std::string executable) && { in SetExecutable()
183 Command& SetName(std::string name) & { in SetName()
187 Command SetName(std::string name) && { in SetName()
[all …]
Dsubprocess.cpp313 Command::Command(std::string executable, SubprocessStopper stopper) in Command() function in cuttlefish::Command
321 Command::~Command() { in ~Command()
332 void Command::BuildParameter(std::stringstream* stream, SharedFD shared_fd) { in BuildParameter()
345 Command& Command::RedirectStdIO(Subprocess::StdIOChannel channel, in RedirectStdIO()
356 Command Command::RedirectStdIO(Subprocess::StdIOChannel channel, in RedirectStdIO()
361 Command& Command::RedirectStdIO(Subprocess::StdIOChannel subprocess_channel, in RedirectStdIO()
366 Command Command::RedirectStdIO(Subprocess::StdIOChannel subprocess_channel, in RedirectStdIO()
372 Command& Command::SetWorkingDirectory(const std::string& path) & { in SetWorkingDirectory()
384 Command Command::SetWorkingDirectory(const std::string& path) && { in SetWorkingDirectory()
387 Command& Command::SetWorkingDirectory(SharedFD dirfd) & { in SetWorkingDirectory()
[all …]
Darchive.cpp63 Command bsdtar_cmd("/usr/bin/bsdtar"); in Contents()
83 Command bsdtar_cmd("/usr/bin/bsdtar"); in ExtractFiles()
108 Command bsdtar_cmd("/usr/bin/bsdtar"); in ExtractToMemory()
/device/google/cuttlefish/host/commands/run_cvd/launch/
Dstreamer.cpp52 std::vector<Command> LaunchCustomActionServers( in LaunchCustomActionServers()
53 Command& webrtc_cmd, in LaunchCustomActionServers()
56 std::vector<Command> commands; in LaunchCustomActionServers()
71 Command command(binary); in LaunchCustomActionServers()
96 void AppendCommandArguments(Command& cmd) { in AppendCommandArguments()
236 Command sig_server(WebRtcSigServerBinary()); in Commands()
248 Command sig_proxy(WebRtcSigServerProxyBinary()); in Commands()
258 Command webrtc(WebRtcBinary(), KillSubprocessFallback(stopper)); in Commands()
Dnetsim_server.cpp53 void Append(Command& c) const { in Append()
66 void Append(Command& c) const { in Append()
91 Command netsimd(NetsimdBinary()); in Commands()
119 Command hci_vsock_proxy(SocketVsockProxyBinary()); in Commands()
131 Command test_vsock_proxy(SocketVsockProxyBinary()); in Commands()
152 void AddDevicesParameter(Command& c) { in AddDevicesParameter()
Dlog_tee_creator.cpp23 Result<Command> LogTeeCreator::CreateLogTee(Command& cmd, in CreateLogTee()
32 return Command(HostBinaryPath("log_tee")) in CreateLogTee()
Droot_canal.cpp45 Command rootcanal(ProcessRestarterBinary()); in Commands()
65 Command hci_vsock_proxy(SocketVsockProxyBinary()); in Commands()
77 Command test_vsock_proxy(SocketVsockProxyBinary()); in Commands()
Dlog_tee_creator.h29 Result<Command> CreateLogTee(Command& cmd, const std::string& process_name);
Dconsole_forwarder.cpp51 Command console_forwarder_cmd(ConsoleForwarderBinary()); in ConsoleForwarder()
52 return Command(ConsoleForwarderBinary()) in ConsoleForwarder()
Dwmediumd_server.cpp85 Command cmd(WmediumdBinary()); in Commands()
129 Command gen_config_cmd(WmediumdGenConfigBinary()); in ResultSetup()
/device/google/cuttlefish/host/libs/avb/
Davb.cpp54 Command Avb::GenerateAddHashFooter(const std::string& image_path, in GenerateAddHashFooter()
57 Command command(avbtool_path_); in GenerateAddHashFooter()
87 Command Avb::GenerateInfoImage(const std::string& image_path, in GenerateInfoImage()
89 Command command(avbtool_path_); in GenerateInfoImage()
109 Command Avb::GenerateMakeVbMetaImage( in GenerateMakeVbMetaImage()
114 Command command(avbtool_path_); in GenerateMakeVbMetaImage()
Davb.h68 Command GenerateAddHashFooter(const std::string& image_path,
71 Command GenerateInfoImage(const std::string& image_path,
73 Command GenerateMakeVbMetaImage(
/device/google/cuttlefish/host/libs/vm_manager/
Dcrosvm_manager.cpp185 void MaybeConfigureVulkanIcd(const CuttlefishConfig& config, Command* command) { in MaybeConfigureVulkanIcd()
212 Command device_cmd;
213 Command device_logs_cmd;
216 const CuttlefishConfig& config, Command* main_crosvm_cmd) { in BuildVhostUserGpu()
228 Command gpu_device_logs_cmd(HostBinaryPath("log_tee")); in BuildVhostUserGpu()
353 Result<void> ConfigureGpu(const CuttlefishConfig& config, Command* crosvm_cmd) { in ConfigureGpu()
699 Command crosvm_log_tee_cmd(HostBinaryPath("log_tee")); in StartCommands()
858 Command gpu_capture_log_tee_cmd(HostBinaryPath("log_tee")); in StartCommands()
863 Command gpu_capture_command(instance.gpu_capture_binary()); in StartCommands()
Dcrosvm_builder.h67 Command& Cmd();
70 Command command_;
Dcrosvm_builder.cpp63 Command stop_cmd(executable_path); in AddControlSocket()
154 Command& CrosvmBuilder::Cmd() { return command_; } in Cmd()
/device/google/cuttlefish/build/
Dcvd-host-package.go107 dirBuilder.Command().Text("rm").Flag("-rf").Text(packageDir.String())
108 dirBuilder.Command().Text("mkdir").Flag("-p").Text(packageDir.String())
110 dirBuilder.Command().Text("touch").Output(stamp)
116 tarballBuilder.Command().Text("tar Scfz").
/device/google/cuttlefish/host/libs/process_monitor/
Dprocess_monitor.h34 std::unique_ptr<Command> cmd;
39 MonitorEntry(Command command, bool is_critical) in MonitorEntry()
40 : cmd(new Command(std::move(command))), is_critical(is_critical) {} in MonitorEntry()
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/src/
Dlib.rs73 use std::process::{Command, Output};
130 Command { command: String, cause: io::Error }, enumerator
172 Error::Command { in fmt()
477 fn command(&self, name: &str, args: &[&str]) -> Command { in command() argument
481 let mut cmd = Command::new(exe); in command()
818 fn run(mut cmd: Command) -> Result<Vec<u8>, Error> { in run()
830 Err(cause) => Err(Error::Command { in run()
/device/google/cuttlefish/host/commands/append_squashfs_overlay/src/
Dmain.rs23 use clap::{builder::ValueParser, Arg, ArgAction, Command};
74 fn clap_command() -> Command { in clap_command()
75 Command::new("append_squashfs_overlay") in clap_command()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dboot_image_utils.cc180 Command unpack_cmd(unpack_path); in UnpackBootImage()
213 Command unpack_cmd(unpack_path); in UnpackVendorBootImageIfNotUnpacked()
232 Command concat_cmd("/bin/bash"); in UnpackVendorBootImageIfNotUnpacked()
264 Command repack_cmd(repack_path); in RepackBootImage()
327 Command repack_cmd(repack_path); in RepackVendorBootImage()
Dvendor_dlkm_utils.cc284 Command cmd(HostBinaryPath("sefcontext_compile")); in GenerateFileContexts()
296 Command avb_cmd(avbtool_path); in AddVbmetaFooter()
366 Command mkfs_cmd(mkfs); in BuildDlkmImage()
398 Command lpadd(HostBinaryPath("lpadd")); in RepackSuperWithPartition()
/device/google/cuttlefish/host/libs/config/
Dcommand_source.h31 Command command;
35 MonitorCommand(Command command, bool is_critical = false)
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/
Dversion.rs2 use std::process::Command;
27 let output = try!(Command::new(rustc) in from_rustc()
/device/google/cuttlefish/host/libs/image_aggregator/
Dsparse_image_utils.cc86 Command simg2img_cmd(simg2img_path); in ConvertToRawImage()
106 Command mv_cmd("/bin/mv"); in ConvertToRawImage()
/device/google/cuttlefish/host/libs/config/adb/
Dlaunch.cpp83 Command adb_connector(AdbConnectorBinary()); in Commands()
143 Command adb_tunnel(SocketVsockProxyBinary()); in Commands()

123