Lines Matching defs:TrackedCommand
26 std::unique_ptr<TrackedCommand> TrackedCommand::CreateInstance(const std::vector<std::string> &args)
28 std::unique_ptr<TrackedCommand> command {new (std::nothrow) TrackedCommand(args)};
38 TrackedCommand::TrackedCommand(const std::vector<std::string> &args) : command_ {args} {}
40 TrackedCommand::~TrackedCommand()
45 void TrackedCommand::Stop()
50 bool TrackedCommand::InitSignalPipes(int &startFd, int &ackFd)
54 HLOGE("pipe2() failed in TrackedCommand::InitSignalPipes()");
62 HLOGE("pipe2() failed in TrackedCommand::InitSignalPipes()");
74 bool TrackedCommand::CreateChildProcess()
83 HLOGE("fork() failed in TrackedCommand::CreateChildProcess()");
100 bool TrackedCommand::StartCommand()
133 void TrackedCommand::ExecuteCommand(const int &startFd, const int &ackFd)
174 bool TrackedCommand::WaitCommand(int &wstatus)
190 void TrackedCommand::MakeInvalid()