/device/google/cuttlefish/common/libs/utils/ |
D | subprocess.h | 143 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 …]
|
D | subprocess.cpp | 313 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 …]
|
D | archive.cpp | 63 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/ |
D | streamer.cpp | 52 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()
|
D | netsim_server.cpp | 53 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()
|
D | log_tee_creator.cpp | 23 Result<Command> LogTeeCreator::CreateLogTee(Command& cmd, in CreateLogTee() 32 return Command(HostBinaryPath("log_tee")) in CreateLogTee()
|
D | root_canal.cpp | 45 Command rootcanal(ProcessRestarterBinary()); in Commands() 65 Command hci_vsock_proxy(SocketVsockProxyBinary()); in Commands() 77 Command test_vsock_proxy(SocketVsockProxyBinary()); in Commands()
|
D | log_tee_creator.h | 29 Result<Command> CreateLogTee(Command& cmd, const std::string& process_name);
|
D | console_forwarder.cpp | 51 Command console_forwarder_cmd(ConsoleForwarderBinary()); in ConsoleForwarder() 52 return Command(ConsoleForwarderBinary()) in ConsoleForwarder()
|
D | wmediumd_server.cpp | 85 Command cmd(WmediumdBinary()); in Commands() 129 Command gen_config_cmd(WmediumdGenConfigBinary()); in ResultSetup()
|
/device/google/cuttlefish/host/libs/avb/ |
D | avb.cpp | 54 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()
|
D | avb.h | 68 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/ |
D | crosvm_manager.cpp | 185 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()
|
D | crosvm_builder.h | 67 Command& Cmd(); 70 Command command_;
|
D | crosvm_builder.cpp | 63 Command stop_cmd(executable_path); in AddControlSocket() 154 Command& CrosvmBuilder::Cmd() { return command_; } in Cmd()
|
/device/google/cuttlefish/build/ |
D | cvd-host-package.go | 107 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/ |
D | process_monitor.h | 34 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/ |
D | lib.rs | 73 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/ |
D | main.rs | 23 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/ |
D | boot_image_utils.cc | 180 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()
|
D | vendor_dlkm_utils.cc | 284 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/ |
D | command_source.h | 31 Command command; 35 MonitorCommand(Command command, bool is_critical = false)
|
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/ |
D | version.rs | 2 use std::process::Command; 27 let output = try!(Command::new(rustc) in from_rustc()
|
/device/google/cuttlefish/host/libs/image_aggregator/ |
D | sparse_image_utils.cc | 86 Command simg2img_cmd(simg2img_path); in ConvertToRawImage() 106 Command mv_cmd("/bin/mv"); in ConvertToRawImage()
|
/device/google/cuttlefish/host/libs/config/adb/ |
D | launch.cpp | 83 Command adb_connector(AdbConnectorBinary()); in Commands() 143 Command adb_tunnel(SocketVsockProxyBinary()); in Commands()
|