Android-cuttlefish cvd tool
Namespaces | Classes | Functions
cuttlefish::run_cvd_impl Namespace Reference

Namespaces

namespace  anonymous_namespace{server_loop_impl.cpp}
 

Classes

class  ServerLoopImpl
 

Functions

std::string_view format_as (ServerLoopImpl::DeviceStatus status)
 
std::ostream & operator<< (std::ostream &out, ServerLoopImpl::DeviceStatus status)
 
template<typename Sink >
void AbslStringify (Sink &sink, ServerLoopImpl::DeviceStatus status)
 
static std::string SubtoolPath (const std::string &subtool_name)
 
static std::string GetSocketPath (const std::string name, std::unordered_map< std::string, std::string > &vm_name_to_control_sock_)
 
static Result< void > SuspendCrosvm (const std::string &vm_sock_path)
 
static Result< void > ResumeCrosvm (const std::string &vm_sock_path)
 
static Result< void > RunAdbShellCommand (const CuttlefishConfig::InstanceSpecific &ins, const std::vector< std::string > &command_args)
 

Function Documentation

◆ AbslStringify()

template<typename Sink >
void cuttlefish::run_cvd_impl::AbslStringify ( Sink &  sink,
ServerLoopImpl::DeviceStatus  status 
)

◆ format_as()

std::string_view cuttlefish::run_cvd_impl::format_as ( ServerLoopImpl::DeviceStatus  status)

◆ GetSocketPath()

static std::string cuttlefish::run_cvd_impl::GetSocketPath ( const std::string  name,
std::unordered_map< std::string, std::string > &  vm_name_to_control_sock_ 
)
static

◆ operator<<()

std::ostream & cuttlefish::run_cvd_impl::operator<< ( std::ostream &  out,
ServerLoopImpl::DeviceStatus  status 
)

◆ ResumeCrosvm()

static Result< void > cuttlefish::run_cvd_impl::ResumeCrosvm ( const std::string &  vm_sock_path)
static

◆ RunAdbShellCommand()

static Result< void > cuttlefish::run_cvd_impl::RunAdbShellCommand ( const CuttlefishConfig::InstanceSpecific &  ins,
const std::vector< std::string > &  command_args 
)
static

◆ SubtoolPath()

static std::string cuttlefish::run_cvd_impl::SubtoolPath ( const std::string &  subtool_name)
static

◆ SuspendCrosvm()

static Result< void > cuttlefish::run_cvd_impl::SuspendCrosvm ( const std::string &  vm_sock_path)
static