Android-cuttlefish cvd tool
|
#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"
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) |
DEFINE_bool | ( | is_emergency | , |
false | , | ||
"Whether or not this disclosure occurred during an emergency call" | |||
) |
DEFINE_int32 | ( | identifier | , |
1 | , | ||
"The identifier type that was disclosed. See " "android.hardware.radio.network.CellularIdentifier" | |||
) |
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 | ( | protocol_message | , |
1 | , | ||
"The protocol message of the disclosure. See " "android.hardware.radio.network.NasProtocolMessage" | |||
) |
DEFINE_string | ( | plmn | , |
"001001" | , | ||
"The PLMN of the network on which the identifier was disclosed" | |||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |