Searched refs:Subprocess (Results 1 – 13 of 13) sorted by relevance
/device/google/cuttlefish/common/libs/utils/ |
D | subprocess.h | 55 class Subprocess; variable 56 using SubprocessStopper = std::function<StopperResult(Subprocess*)>; 58 StopperResult KillSubprocess(Subprocess* subprocess); 66 class Subprocess { 74 Subprocess(pid_t pid, SubprocessStopper stopper = KillSubprocess) 78 Subprocess(Subprocess&&); 79 ~Subprocess() = default; 80 Subprocess& operator=(Subprocess&&); 100 Subprocess(const Subprocess&) = delete; 101 Subprocess& operator=(const Subprocess&) = delete; [all …]
|
D | subprocess.cpp | 60 const std::map<Subprocess::StdIOChannel, int>& redirects, in validate_redirects() 79 void do_redirects(const std::map<Subprocess::StdIOChannel, int>& redirects) { in do_redirects() 174 Subprocess::Subprocess(Subprocess&& subprocess) in Subprocess() function in cuttlefish::Subprocess 183 Subprocess& Subprocess::operator=(Subprocess&& other) { in operator =() 193 int Subprocess::Wait() { in Wait() 225 int Subprocess::Wait(siginfo_t* infop, int options) { in Wait() 263 Result<void> Subprocess::SendSignal(const int signal) { in SendSignal() 268 Result<void> Subprocess::SendSignalToGroup(const int signal) { in SendSignalToGroup() 273 StopperResult KillSubprocess(Subprocess* subprocess) { in KillSubprocess() 297 return KillSubprocessFallback([nice](Subprocess*) { return nice(); }); in KillSubprocessFallback() argument [all …]
|
D | archive.cpp | 94 bsdtar_cmd.RedirectStdIO(Subprocess::StdIOChannel::kStdOut, in ExtractFiles() 95 Subprocess::StdIOChannel::kStdErr); in ExtractFiles()
|
D | files.cpp | 552 du_cmd.RedirectStdIO(Subprocess::StdIOChannel::kStdOut, write_fd); in GetDiskUsage()
|
/device/google/cuttlefish/host/commands/start/ |
D | main.cc | 122 cuttlefish::Subprocess StartAssembler(cuttlefish::SharedFD assembler_stdin, in StartAssembler() 130 assemble_cmd.RedirectStdIO(cuttlefish::Subprocess::StdIOChannel::kStdIn, assembler_stdin); in StartAssembler() 132 assemble_cmd.RedirectStdIO(cuttlefish::Subprocess::StdIOChannel::kStdOut, assembler_stdout); in StartAssembler() 136 cuttlefish::Subprocess StartRunner(cuttlefish::SharedFD runner_stdin, in StartRunner() 142 run_cmd.RedirectStdIO(cuttlefish::Subprocess::StdIOChannel::kStdIn, runner_stdin); in StartRunner() 467 std::vector<cuttlefish::Subprocess> runners; in main()
|
D | flag_forwarder.cc | 60 const std::string& Subprocess() const { return subprocess_; } in Subprocess() function in SubprocessFlag 372 if (flag->Subprocess() == subprocess) { in ArgvForSubprocess()
|
/device/google/cuttlefish/host/libs/vm_manager/ |
D | crosvm_manager.cpp | 231 gpu_device_logs_cmd.SetStopper(KillSubprocessFallback([](Subprocess* proc) { in BuildVhostUserGpu() 342 gpu_device_cmd.Cmd().RedirectStdIO(Subprocess::StdIOChannel::kStdOut, in BuildVhostUserGpu() 344 gpu_device_cmd.Cmd().RedirectStdIO(Subprocess::StdIOChannel::kStdErr, in BuildVhostUserGpu() 702 crosvm_log_tee_cmd.SetStopper(KillSubprocessFallback([](Subprocess* proc) { in StartCommands() 888 gpu_capture_command.RedirectStdIO(Subprocess::StdIOChannel::kStdOut, in StartCommands() 890 gpu_capture_command.RedirectStdIO(Subprocess::StdIOChannel::kStdErr, in StartCommands() 896 crosvm_cmd.Cmd().RedirectStdIO(Subprocess::StdIOChannel::kStdOut, in StartCommands() 898 crosvm_cmd.Cmd().RedirectStdIO(Subprocess::StdIOChannel::kStdErr, in StartCommands()
|
/device/google/cuttlefish/host/commands/run_cvd/launch/ |
D | log_tee_creator.cpp | 29 cmd.RedirectStdIO(Subprocess::StdIOChannel::kStdOut, logs); in CreateLogTee() 30 cmd.RedirectStdIO(Subprocess::StdIOChannel::kStdErr, logs); in CreateLogTee()
|
/device/google/cuttlefish/host/commands/assemble_cvd/ |
D | boot_image_utils.cc | 192 unpack_cmd.RedirectStdIO(Subprocess::StdIOChannel::kStdOut, output_file); in UnpackBootImage() 224 unpack_cmd.RedirectStdIO(Subprocess::StdIOChannel::kStdOut, output_file); in UnpackVendorBootImageIfNotUnpacked() 242 concat_cmd.RedirectStdIO(Subprocess::StdIOChannel::kStdOut, concat_file); in UnpackVendorBootImageIfNotUnpacked()
|
D | flags.cc | 628 ikconfig_cmd.RedirectStdIO(Subprocess::StdIOChannel::kStdOut, ikconfig_fd); in ReadGuestConfig()
|
/device/google/cuttlefish/host/libs/process_monitor/ |
D | process_monitor.cc | 117 it->proc.reset(new Subprocess(it->cmd->Start(std::move(options)))); in MonitorLoop() 255 new Subprocess(monitored.cmd->Start(std::move(options)))); in StartSubprocesses()
|
D | process_monitor.h | 36 std::unique_ptr<Subprocess> proc;
|
/device/google/cuttlefish/host/libs/avb/ |
D | avb.cpp | 93 command.RedirectStdIO(Subprocess::StdIOChannel::kStdOut, output_file); in GenerateInfoImage()
|