Android-cuttlefish cvd tool
|
Enumerations | |
enum | ParentToChildMessageType : std::uint8_t { kStop = 1 , kHostResume = 2 , kHostSuspend = 3 , kError = 4 } |
enum | ChildToParentResponseType : std::uint8_t { kSuccess = 0 , kFailure = 1 } |
Functions | |
Result< void > | SendEmptyRequest (Channel &channel, uint32_t type) |
Result< void > | SendEmptyResponse (Channel &channel, uint32_t type) |
void | LogSubprocessExit (const std::string &name, pid_t pid, int wstatus) |
void | LogSubprocessExit (const std::string &name, const siginfo_t &infop) |
Result< void > | MonitorLoop (std::atomic_bool &running, std::mutex &properties_mutex, const bool restart_subprocesses, std::vector< MonitorEntry > &monitored) |
Result< void > | StopSubprocesses (std::vector< MonitorEntry > &monitored) |
Result< void > | SuspendResumeImpl (std::vector< MonitorEntry > &monitor_entries, std::mutex &properties_mutex, const SharedFD &channel_to_secure_env, const bool is_suspend, transport::SharedFdChannel &socket) |
enum cuttlefish::anonymous_namespace{process_monitor.cc}::ChildToParentResponseType : std::uint8_t |
enum cuttlefish::anonymous_namespace{process_monitor.cc}::ParentToChildMessageType : std::uint8_t |
void cuttlefish::anonymous_namespace{process_monitor.cc}::LogSubprocessExit | ( | const std::string & | name, |
const siginfo_t & | infop | ||
) |
void cuttlefish::anonymous_namespace{process_monitor.cc}::LogSubprocessExit | ( | const std::string & | name, |
pid_t | pid, | ||
int | wstatus | ||
) |
Result< void > cuttlefish::anonymous_namespace{process_monitor.cc}::MonitorLoop | ( | std::atomic_bool & | running, |
std::mutex & | properties_mutex, | ||
const bool | restart_subprocesses, | ||
std::vector< MonitorEntry > & | monitored | ||
) |
Result< void > cuttlefish::anonymous_namespace{process_monitor.cc}::SendEmptyRequest | ( | Channel & | channel, |
uint32_t | type | ||
) |
Result< void > cuttlefish::anonymous_namespace{process_monitor.cc}::SendEmptyResponse | ( | Channel & | channel, |
uint32_t | type | ||
) |
Result< void > cuttlefish::anonymous_namespace{process_monitor.cc}::StopSubprocesses | ( | std::vector< MonitorEntry > & | monitored | ) |
Result< void > cuttlefish::anonymous_namespace{process_monitor.cc}::SuspendResumeImpl | ( | std::vector< MonitorEntry > & | monitor_entries, |
std::mutex & | properties_mutex, | ||
const SharedFD & | channel_to_secure_env, | ||
const bool | is_suspend, | ||
transport::SharedFdChannel & | socket | ||
) |