|
Android-cuttlefish cvd tool
|
#include <cstdint>#include <cstdlib>#include "absl/log/log.h"#include "gflags/gflags.h"#include "cuttlefish/common/libs/fs/shared_fd.h"#include "cuttlefish/common/libs/utils/tee_logging.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 "cuttlefish/result/result.h"
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) |
| DEFINE_int32 | ( | boot_timeout | , |
| 500 | , | ||
| "How many seconds to wait for the device to " "reboot." | |||
| ) |
| 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." | |||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |