Home
last modified time | relevance | path

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

1234

/device/google/cuttlefish/common/libs/utils/
Dsubprocess.h139 class Command {
158 Command(std::string executable, SubprocessStopper stopper = KillSubprocess);
159 Command(Command&&) = default;
163 Command(const Command&) = delete;
164 Command& operator=(const Command&) = delete;
165 ~Command();
171 Command& SetExecutable(std::string executable) & { in SetExecutable()
175 Command SetExecutable(std::string executable) && { in SetExecutable()
179 Command& SetName(std::string name) & { in SetName()
183 Command SetName(std::string name) && { in SetName()
[all …]
Dsubprocess.cpp301 Command::Command(std::string executable, SubprocessStopper stopper) in Command() function in cuttlefish::Command
309 Command::~Command() { in ~Command()
320 void Command::BuildParameter(std::stringstream* stream, SharedFD shared_fd) { in BuildParameter()
333 Command& Command::RedirectStdIO(Subprocess::StdIOChannel channel, in RedirectStdIO()
344 Command Command::RedirectStdIO(Subprocess::StdIOChannel channel, in RedirectStdIO()
349 Command& Command::RedirectStdIO(Subprocess::StdIOChannel subprocess_channel, in RedirectStdIO()
354 Command Command::RedirectStdIO(Subprocess::StdIOChannel subprocess_channel, in RedirectStdIO()
360 Command& Command::SetWorkingDirectory(const std::string& path) & { in SetWorkingDirectory()
372 Command Command::SetWorkingDirectory(const std::string& path) && { in SetWorkingDirectory()
375 Command& Command::SetWorkingDirectory(SharedFD dirfd) & { in SetWorkingDirectory()
[all …]
Dnetwork.cpp103 static std::optional<Command> GrepCommand() { in GrepCommand()
105 return Command("/usr/bin/grep"); in GrepCommand()
107 return Command("/bin/grep"); in GrepCommand()
134 std::optional<Command> cmd = GrepCommand(); in TapInterfacesInUse()
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/
Dlog_tee_creator.cpp27 Result<Command> CreateLogTeeImpl( in CreateLogTeeImpl()
28 Command& cmd, const CuttlefishConfig::InstanceSpecific& instance, in CreateLogTeeImpl()
39 return Command(HostBinaryPath("log_tee")) in CreateLogTeeImpl()
48 Result<Command> LogTeeCreator::CreateFullLogTee(Command& cmd, in CreateFullLogTee()
55 Result<Command> LogTeeCreator::CreateLogTee( in CreateLogTee()
56 Command& cmd, std::string process_name, in CreateLogTee()
Dvhost_input_devices.cpp78 Command NewVhostUserInputCommand(const DeviceSockets& device_sockets, in NewVhostUserInputCommand()
80 Command cmd(VhostUserInputBinary()); in NewVhostUserInputCommand()
120 Command rotary_cmd = in Commands()
122 Command rotary_log_tee = CF_EXPECT( in Commands()
129 Command mouse_cmd = in Commands()
131 Command mouse_log_tee = CF_EXPECT( in Commands()
140 Command keyboard_cmd = in Commands()
142 Command keyboard_log_tee = CF_EXPECT( in Commands()
148 Command switches_cmd = in Commands()
150 Command switches_log_tee = CF_EXPECT( in Commands()
[all …]
Dlog_tee_creator.h34 Result<Command> CreateFullLogTee(Command& cmd, std::string process_name);
37 Result<Command> CreateLogTee(Command& cmd, std::string process_name,
Dnetsim_server.cpp57 void Append(Command& c) const { in Append()
70 void Append(Command& c) const { in Append()
96 Command netsimd(NetsimdBinary()); in Commands()
124 Command hci_vsock_proxy(SocketVsockProxyBinary()); in Commands()
136 Command test_vsock_proxy(SocketVsockProxyBinary()); in Commands()
157 void AddDevicesParameter(Command& c) { in AddDevicesParameter()
Dstreamer.cpp49 std::vector<Command> LaunchCustomActionServers( in LaunchCustomActionServers()
50 Command& webrtc_cmd, in LaunchCustomActionServers()
53 std::vector<Command> commands; in LaunchCustomActionServers()
68 Command command(binary); in LaunchCustomActionServers()
96 void AppendCommandArguments(Command& cmd) { in AppendCommandArguments()
224 Command sig_server(WebRtcSigServerBinary()); in Commands()
236 Command sig_proxy(WebRtcSigServerProxyBinary()); in Commands()
246 Command webrtc(WebRtcBinary(), KillSubprocessFallback(stopper)); in Commands()
Droot_canal.cpp45 Command rootcanal(ProcessRestarterBinary()); in Commands()
65 Command hci_vsock_proxy(SocketVsockProxyBinary()); in Commands()
77 Command test_vsock_proxy(SocketVsockProxyBinary()); in Commands()
Dvhal_proxy_server.cpp35 Command command = Command(VhalProxyServerBinary()) in VhalProxyServer()
Dconsole_forwarder.cpp51 Command console_forwarder_cmd(ConsoleForwarderBinary()); in ConsoleForwarder()
52 return Command(ConsoleForwarderBinary()) in ConsoleForwarder()
Dcasimir.cpp50 Command casimir = Command(ProcessRestarterBinary()) in Casimir()
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()
91 Command Avb::GenerateInfoImage(const std::string& image_path, in GenerateInfoImage()
93 Command command(avbtool_path_); in GenerateInfoImage()
113 Command Avb::GenerateMakeVbMetaImage( in GenerateMakeVbMetaImage()
118 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/process_monitor/
Dprocess_monitor.h34 std::unique_ptr<Command> cmd;
38 MonitorEntry(Command command, bool is_critical) in MonitorEntry()
39 : cmd(new Command(std::move(command))), is_critical(is_critical) {} in MonitorEntry()
/device/google/cuttlefish/host/libs/vm_manager/
Dvhost_user.h28 Command device_cmd;
29 Command device_logs_cmd;
Dcrosvm_builder.h76 Command& Cmd();
79 Command command_;
/device/google/cuttlefish/host/libs/config/
Dcommand_source.h31 Command command;
34 MonitorCommand(Command command, bool is_critical = false)
/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.cc53 int success = Command(HostBinaryPath("mkbootfs")) in RunMkBootFs()
64 int success = Command(HostBinaryPath("lz4")) in RunLz4()
165 success = Command(HostBinaryPath("lz4")) in UnpackRamdisk()
183 cpio_status = Command(HostBinaryPath("toybox")) in UnpackRamdisk()
212 Command unpack_cmd = in UnpackBootImage()
213 Command(HostBinaryPath("unpack_bootimg")) in UnpackBootImage()
235 Command unpack_cmd(unpack_path); in UnpackVendorBootImageIfNotUnpacked()
301 Command repack_cmd(repack_path); in RepackBootImage()
368 Command repack_cmd(repack_path); in RepackVendorBootImage()
/device/google/cuttlefish/build/
Dcvd-host-package.go119 dirBuilder.Command().Text("rm").Flag("-rf").Text(packageDir.String())
120 dirBuilder.Command().Text("mkdir").Flag("-p").Text(packageDir.String())
122 dirBuilder.Command().Text("touch").Output(stamp)
129 tarballBuilder.Command().Text("tar Scfz").
/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/commands/host_bugreport/
Dmain.cc85 Command connect_cmd("timeout"); in CreateDeviceBugreport()
93 Command wait_for_device_cmd("timeout"); in CreateDeviceBugreport()
103 Command bugreport_cmd("timeout"); in CreateDeviceBugreport()

1234