|
Android-cuttlefish cvd tool
|
#include <fstream>#include <iostream>#include <memory>#include <regex>#include <string>#include "absl/strings/match.h"#include "fmt/format.h"#include "gflags/gflags.h"#include "google/protobuf/empty.pb.h"#include "grpcpp/ext/proto_server_reflection_plugin.h"#include "grpcpp/grpcpp.h"#include "grpcpp/health_check_service_interface.h"#include "cuttlefish/files/file_exists.h"#include "cuttlefish/host/commands/openwrt_control_server/openwrt_control.grpc.pb.h"#include "cuttlefish/host/libs/web/http_client/curl_http_client.h"#include "cuttlefish/host/libs/web/http_client/http_client.h"#include "cuttlefish/host/libs/web/http_client/http_json.h"#include "cuttlefish/result/result.h"
Classes | |
| class | cuttlefish::anonymous_namespace{main.cpp}::OpenwrtControlServiceImpl |
Namespaces | |
| namespace | cuttlefish |
| namespace | cuttlefish::anonymous_namespace{main.cpp} |
Functions | |
| DEFINE_string (grpc_uds_path, "", "grpc_uds_path") | |
| DEFINE_bool (bridged_wifi_tap, false, "True for using cvd-wtap-XX, false for using cvd-wifiap-XX") | |
| DEFINE_string (webrtc_device_id, "", "The device ID in WebRTC like cvd-1") | |
| DEFINE_string (launcher_log_path, "", "File path for launcher.log") | |
| DEFINE_string (openwrt_log_path, "", "File path for crosvm_openwrt.log") | |
| static Status | cuttlefish::anonymous_namespace{main.cpp}::ErrorResultToStatus (const std::string_view prefix, const StackTraceError &error) |
| void | cuttlefish::anonymous_namespace{main.cpp}::RunServer () |
| int | main (int argc, char **argv) |
Variables | |
| constexpr char | cuttlefish::anonymous_namespace{main.cpp}::kErrorMessageRpc [] = "Luci RPC request failed" |
| constexpr char | cuttlefish::anonymous_namespace{main.cpp}::kErrorMessageRpcAuth [] = "Luci authentication request failed" |
| DEFINE_bool | ( | bridged_wifi_tap | , |
| false | , | ||
| "True for using cvd-wtap- | XX, | ||
| false for using cvd-wifiap-XX" | |||
| ) |
| DEFINE_string | ( | grpc_uds_path | , |
| "" | , | ||
| "grpc_uds_path" | |||
| ) |
| DEFINE_string | ( | launcher_log_path | , |
| "" | , | ||
| "File path for launcher.log" | |||
| ) |
| DEFINE_string | ( | openwrt_log_path | , |
| "" | , | ||
| "File path for crosvm_openwrt.log" | |||
| ) |
| DEFINE_string | ( | webrtc_device_id | , |
| "" | , | ||
| "The device ID in WebRTC like cvd-1" | |||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |