Android-cuttlefish cvd tool
Namespaces | Functions
main.cc File Reference
#include <string>
#include <android-base/logging.h>
#include <gflags/gflags.h>
#include "cuttlefish/common/libs/fs/shared_buf.h"
#include "cuttlefish/common/libs/fs/shared_fd.h"
#include "cuttlefish/host/commands/cvd_send_id_disclosure/cellular_identifier_disclosure_command_builder.h"
#include "cuttlefish/host/libs/config/cuttlefish_config.h"
Include dependency graph for main.cc:

Namespaces

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

Functions

 DEFINE_int32 (instance_num, cuttlefish::GetInstance(), "Which instance to read the configs from")
 
 DEFINE_int32 (modem_num, 0, "Which modem to send command to")
 
 DEFINE_int32 (identifier, 1, "The identifier type that was disclosed. See " "android.hardware.radio.network.CellularIdentifier")
 
 DEFINE_int32 (protocol_message, 1, "The protocol message of the disclosure. See " "android.hardware.radio.network.NasProtocolMessage")
 
 DEFINE_bool (is_emergency, false, "Whether or not this disclosure occurred during an emergency call")
 
 DEFINE_string (plmn, "001001", "The PLMN of the network on which the identifier was disclosed")
 
void cuttlefish::anonymous_namespace{main.cc}::SendDisclosure (SharedFD fd)
 
int cuttlefish::anonymous_namespace{main.cc}::SendIdDisclosureMain (int argc, char **argv)
 
int main (int argc, char **argv)
 

Function Documentation

◆ DEFINE_bool()

DEFINE_bool ( is_emergency  ,
false  ,
"Whether or not this disclosure occurred during an emergency call"   
)

◆ DEFINE_int32() [1/4]

DEFINE_int32 ( identifier  ,
,
"The identifier type that was disclosed. See " "android.hardware.radio.network.CellularIdentifier"   
)

◆ DEFINE_int32() [2/4]

DEFINE_int32 ( instance_num  ,
cuttlefish::GetInstance()  ,
"Which instance to read the configs from"   
)

◆ DEFINE_int32() [3/4]

DEFINE_int32 ( modem_num  ,
,
"Which modem to send command to"   
)

◆ DEFINE_int32() [4/4]

DEFINE_int32 ( protocol_message  ,
,
"The protocol message of the disclosure. See " "android.hardware.radio.network.NasProtocolMessage"   
)

◆ DEFINE_string()

DEFINE_string ( plmn  ,
"001001"  ,
"The PLMN of the network on which the identifier was disclosed"   
)

◆ main()

int main ( int  argc,
char **  argv 
)