Android-cuttlefish cvd tool
Classes | Functions | Variables
cuttlefish::anonymous_namespace{cvdalloc.cpp} Namespace Reference

Classes

class  Cvdalloc
 

Functions

void Usage ()
 
Result< void > Allocate (int id, const std::string &bridge_name)
 
Result< void > Teardown (int id, const std::string &bridge_name)
 

Variables

constexpr std::chrono::seconds kCvdAllocateTimeout = std::chrono::seconds(30)
 
constexpr std::chrono::seconds kCvdTeardownTimeout = std::chrono::seconds(2)
 

Function Documentation

◆ Allocate()

Result< void > cuttlefish::anonymous_namespace{cvdalloc.cpp}::Allocate ( int  id,
const std::string &  bridge_name 
)

◆ Teardown()

Result< void > cuttlefish::anonymous_namespace{cvdalloc.cpp}::Teardown ( int  id,
const std::string &  bridge_name 
)

◆ Usage()

void cuttlefish::anonymous_namespace{cvdalloc.cpp}::Usage ( )

Variable Documentation

◆ kCvdAllocateTimeout

constexpr std::chrono::seconds cuttlefish::anonymous_namespace{cvdalloc.cpp}::kCvdAllocateTimeout = std::chrono::seconds(30)
constexpr

◆ kCvdTeardownTimeout

constexpr std::chrono::seconds cuttlefish::anonymous_namespace{cvdalloc.cpp}::kCvdTeardownTimeout = std::chrono::seconds(2)
constexpr