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_update_security_algorithm/update_security_algorithm_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 (connection_event, 0, "The type if connection event. See " "android.hardware.radio.network.ConnectionEvent") | |
DEFINE_int32 (encryption, 0, "The encryption algorithm being used. See " "android.hardware.radio.network.SecurityAlgorithm") | |
DEFINE_int32 (integrity, 0, "The integrity algorithm being used. See " "android.hardware.radio.network.SecurityAlgorithm") | |
DEFINE_bool (is_unprotected_emergency, false, "Whether the connection event is associated with an unprotected" "emergency session") | |
void | cuttlefish::anonymous_namespace{main.cc}::UpdateSecurityAlgorithm (SharedFD fd) |
int | cuttlefish::anonymous_namespace{main.cc}::UpdateSecurityAlgorithmMain (int argc, char **argv) |
int | main (int argc, char **argv) |
DEFINE_bool | ( | is_unprotected_emergency | , |
false | , | ||
"Whether the connection event is associated with an unprotected" "emergency session" | |||
) |
DEFINE_int32 | ( | connection_event | , |
0 | , | ||
"The type if connection event. See " "android.hardware.radio.network.ConnectionEvent" | |||
) |
DEFINE_int32 | ( | encryption | , |
0 | , | ||
"The encryption algorithm being used. See " "android.hardware.radio.network.SecurityAlgorithm" | |||
) |
DEFINE_int32 | ( | instance_num | , |
cuttlefish::GetInstance() | , | ||
"Which instance to read the configs from" | |||
) |
DEFINE_int32 | ( | integrity | , |
0 | , | ||
"The integrity algorithm being used. See " "android.hardware.radio.network.SecurityAlgorithm" | |||
) |
DEFINE_int32 | ( | modem_num | , |
0 | , | ||
"Which modem to send command to" | |||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |