Android-cuttlefish cvd tool
Namespaces | Functions
powerwash_cvd.cc File Reference
#include <cstdint>
#include <cstdlib>
#include <gflags/gflags.h>
#include <android-base/logging.h>
#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/util.h"
#include "cuttlefish/host/libs/config/cuttlefish_config.h"
Include dependency graph for powerwash_cvd.cc:

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::anonymous_namespace{powerwash_cvd.cc}
 

Functions

 DEFINE_int32 (instance_num, cuttlefish::GetInstance(), "Which instance to powerwash.")
 
 DEFINE_int32 (wait_for_launcher, 30, "How many seconds to wait for the launcher to respond to the status " "command. A value of zero means wait indefinitely.")
 
 DEFINE_int32 (boot_timeout, 500, "How many seconds to wait for the device to " "reboot.")
 
Result< void > cuttlefish::anonymous_namespace{powerwash_cvd.cc}::PowerwashCvdMain ()
 
int main (int argc, char **argv)
 

Function Documentation

◆ DEFINE_int32() [1/3]

DEFINE_int32 ( boot_timeout  ,
500  ,
"How many seconds to wait for the device to " "reboot."   
)

◆ DEFINE_int32() [2/3]

DEFINE_int32 ( instance_num  ,
cuttlefish::GetInstance()  ,
"Which instance to powerwash."   
)

◆ DEFINE_int32() [3/3]

DEFINE_int32 ( wait_for_launcher  ,
30  ,
"How many seconds to wait for the launcher to respond to the status " "command. A value of zero means wait indefinitely."   
)

◆ main()

int main ( int  argc,
char **  argv 
)