Android-cuttlefish cvd tool
|
#include <android-base/logging.h>
#include "json/json.h"
#include <optional>
#include <string>
#include "cuttlefish/common/libs/fs/shared_fd.h"
#include "cuttlefish/host/libs/config/logging.h"
#include "request.h"
Go to the source code of this file.
Namespaces | |
namespace | cuttlefish |
Functions | |
bool | cuttlefish::SendJsonMsg (SharedFD client_socket, const Json::Value &resp) |
std::optional< Json::Value > | cuttlefish::RecvJsonMsg (SharedFD client_socket) |
RequestType | cuttlefish::StrToReqTy (const std::string &req) |
std::string | cuttlefish::ReqTyToStr (RequestType req_ty) |
IfaceType | cuttlefish::StrToIfaceTy (const std::string &iface) |
std::string | cuttlefish::IfaceTyToStr (IfaceType iface) |
RequestStatus | cuttlefish::StrToStatus (const std::string &st) |
std::string | cuttlefish::StatusToStr (RequestStatus st) |
Variables | |
constexpr char | cuttlefish::kDefaultLocation [] |
static constexpr int | cuttlefish::kSendFlags = 0 |
static constexpr int | cuttlefish::kRecvFlags = 0 |