Android-cuttlefish cvd tool
|
#include <string.h>
#include <unistd.h>
#include <android-base/logging.h>
#include <android-base/macros.h>
#include "absl/cleanup/cleanup.h"
#include "absl/flags/flag.h"
#include "absl/flags/parse.h"
#include "absl/strings/str_format.h"
#include "allocd/alloc_utils.h"
#include "cuttlefish/common/libs/fs/shared_fd.h"
#include "cuttlefish/common/libs/fs/shared_select.h"
#include "cuttlefish/host/commands/cvdalloc/interface.h"
#include "cuttlefish/host/commands/cvdalloc/sem.h"
Namespaces | |
namespace | cuttlefish |
namespace | cuttlefish::anonymous_namespace{cvdalloc.cpp} |
Functions | |
ABSL_FLAG (int, id, 0, "Id") | |
ABSL_FLAG (int, socket, 0, "Socket") | |
void | cuttlefish::anonymous_namespace{cvdalloc.cpp}::Usage () |
Result< void > | cuttlefish::anonymous_namespace{cvdalloc.cpp}::Allocate (int id, const std::string &bridge_name) |
Result< void > | cuttlefish::anonymous_namespace{cvdalloc.cpp}::Teardown (int id, const std::string &bridge_name) |
Result< int > | cuttlefish::CvdallocMain (int argc, char *argv[]) |
int | main (int argc, char *argv[]) |
ABSL_FLAG | ( | int | , |
id | , | ||
0 | , | ||
"Id" | |||
) |
ABSL_FLAG | ( | int | , |
socket | , | ||
0 | , | ||
"Socket" | |||
) |
int main | ( | int | argc, |
char * | argv[] | ||
) |