Android-cuttlefish cvd tool
Functions
test_client.cpp File Reference
#include <android-base/logging.h>
#include "gflags/gflags.h"
#include "json/json.h"
#include <unistd.h>
#include <iostream>
#include "cuttlefish/common/libs/fs/shared_fd.h"
#include "cuttlefish/host/libs/config/logging.h"
#include "request.h"
#include "utils.h"
Include dependency graph for test_client.cpp:

Functions

 DEFINE_string (socket_path, kDefaultLocation, "Socket path")
 
 DEFINE_bool (id, false, "Request new UUID")
 
 DEFINE_bool (ifcreate, false, "Request a new Interface")
 
 DEFINE_bool (shutdown, false, "Shutdown Resource Allocation Server")
 
 DEFINE_bool (stop_session, false, "Remove all resources from session")
 
 DEFINE_string (ifdestroy, "", "Request an interface be destroyed")
 
 DEFINE_uint64 (ifid, -1, "Global Resource ID")
 
 DEFINE_uint64 (session, -1, "Session ID")
 
int main (int argc, char *argv[])
 

Function Documentation

◆ DEFINE_bool() [1/4]

DEFINE_bool ( id  ,
false  ,
"Request new UUID"   
)

◆ DEFINE_bool() [2/4]

DEFINE_bool ( ifcreate  ,
false  ,
"Request a new Interface"   
)

◆ DEFINE_bool() [3/4]

DEFINE_bool ( shutdown  ,
false  ,
"Shutdown Resource Allocation Server"   
)

◆ DEFINE_bool() [4/4]

DEFINE_bool ( stop_session  ,
false  ,
"Remove all resources from session"   
)

◆ DEFINE_string() [1/2]

DEFINE_string ( ifdestroy  ,
""  ,
"Request an interface be destroyed"   
)

◆ DEFINE_string() [2/2]

DEFINE_string ( socket_path  ,
kDefaultLocation  ,
"Socket path"   
)

◆ DEFINE_uint64() [1/2]

DEFINE_uint64 ( ifid  ,
1,
"Global Resource ID"   
)

◆ DEFINE_uint64() [2/2]

DEFINE_uint64 ( session  ,
1,
"Session ID"   
)

◆ main()

int main ( int  argc,
char *  argv[] 
)