Android-cuttlefish cvd tool
Classes | Namespaces | Functions
util.h File Reference
#include <optional>
#include "cuttlefish/common/libs/fs/shared_fd.h"
#include "cuttlefish/common/libs/utils/result.h"
#include "cuttlefish/host/libs/command_util/runner/defs.h"
#include "cuttlefish/host/libs/command_util/runner/run_cvd.pb.h"
#include "cuttlefish/host/libs/config/cuttlefish_config.h"
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cuttlefish::LauncherActionInfo
 

Namespaces

namespace  cuttlefish
 

Functions

Result< RunnerExitCodes > cuttlefish::ReadExitCode (SharedFD monitor_socket)
 
Result< SharedFD > cuttlefish::GetLauncherMonitorFromInstance (const CuttlefishConfig::InstanceSpecific &instance_config, const int timeout_seconds)
 
Result< SharedFD > cuttlefish::GetLauncherMonitor (const CuttlefishConfig &config, const int instance_num, const int timeout_seconds)
 
Result< std::optional< LauncherActionInfo > > cuttlefish::ReadLauncherActionFromFd (SharedFD monitor_socket)
 
Result< void > cuttlefish::WaitForRead (SharedFD monitor_socket, const int timeout_seconds)
 
Result< void > cuttlefish::RunLauncherAction (SharedFD monitor_socket, LauncherAction action, std::optional< int > timeout_seconds)
 
Result< void > cuttlefish::RunLauncherAction (SharedFD monitor_socket, const run_cvd::ExtendedLauncherAction &extended_action, std::optional< int > timeout_seconds)