|
Android-cuttlefish cvd tool
|
#include "cuttlefish/host/libs/config/cuttlefish_config.h"#include <cstdint>#include <cstdlib>#include <cstring>#include <fstream>#include <map>#include <memory>#include <set>#include <string>#include <string_view>#include <vector>#include "absl/log/log.h"#include "absl/strings/str_cat.h"#include "absl/strings/str_split.h"#include "fmt/core.h"#include "fmt/format.h"#include "json/reader.h"#include "json/value.h"#include "cuttlefish/common/libs/utils/environment.h"#include "cuttlefish/common/libs/utils/files.h"#include "cuttlefish/files/file_exists.h"#include "cuttlefish/host/libs/config/config_constants.h"#include "cuttlefish/host/libs/config/config_fragment.h"#include "cuttlefish/host/libs/config/config_utils.h"#include "cuttlefish/host/libs/config/secure_hals.h"#include "cuttlefish/host/libs/config/vmm_mode.h"#include "cuttlefish/result/result.h"
Namespaces | |
| namespace | cuttlefish |
| namespace | cuttlefish::anonymous_namespace{cuttlefish_config.cpp} |
Functions | |
| bool | cuttlefish::IsRestoring (const CuttlefishConfig &config) |
| bool | cuttlefish::EnableNetsimNfc (const CuttlefishConfig &config) |
| bool | cuttlefish::VmManagerIsCrosvm (const CuttlefishConfig &config) |
| bool | cuttlefish::VmManagerIsQemu (const CuttlefishConfig &config) |
| bool | cuttlefish::VmManagerIsGem5 (const CuttlefishConfig &config) |
Variables | |
| const char * | cuttlefish::anonymous_namespace{cuttlefish_config.cpp}::kInstances = "instances" |
| static constexpr char | cuttlefish::kFragments [] = "fragments" |
| static constexpr char | cuttlefish::kRootDir [] = "root_dir" |
| static constexpr char | cuttlefish::kVmManager [] = "vm_manager" |
| static constexpr char | cuttlefish::kApVmManager [] = "ap_vm_manager" |
| static constexpr char | cuttlefish::kSecureHals [] = "secure_hals" |
| static constexpr char | cuttlefish::kCrosvmBinary [] = "crosvm_binary" |
| static constexpr char | cuttlefish::kGem5DebugFlags [] = "gem5_debug_flags" |
| static constexpr char | cuttlefish::kSigServerPort [] = "webrtc_sig_server_port" |
| static constexpr char | cuttlefish::kSigServerAddress [] = "webrtc_sig_server_addr" |
| static constexpr char | cuttlefish::kHostToolsVersion [] = "host_tools_version" |
| static constexpr char | cuttlefish::kEnableHostUwb [] = "enable_host_uwb" |
| static constexpr char | cuttlefish::kPicaUciPort [] = "pica_uci_port" |
| static constexpr char | cuttlefish::kEnableAutomotiveProxy [] = "enable_automotive_proxy" |
| static constexpr char | cuttlefish::kEnableHostNfc [] = "enable_host_nfc" |
| static constexpr char | cuttlefish::kEnableHostNfcConnector [] = "enable_host_nfc_connector" |
| static constexpr char | cuttlefish::kCasimirInstanceNum [] = "casimir_instance_num" |
| static constexpr char | cuttlefish::kCasimirArgs [] = "casimir_args" |
| static constexpr char | cuttlefish::kCasimirNciPort [] = "casimir_nci_port" |
| static constexpr char | cuttlefish::kCasimirRfPort [] = "casimir_rf_port" |
| static constexpr char | cuttlefish::kNetsimInstanceNum [] = "netsim_instance_num" |
| static constexpr char | cuttlefish::kNetsimConnectorInstanceNum [] |
| static constexpr char | cuttlefish::kNetsimArgs [] = "netsim_args" |
| static constexpr char | cuttlefish::kExtraKernelCmdline [] = "extra_kernel_cmdline" |
| static constexpr char | cuttlefish::kVirtioMac80211Hwsim [] = "virtio_mac80211_hwsim" |
| static constexpr char | cuttlefish::kApRootfsImage [] = "ap_rootfs_image" |
| static constexpr char | cuttlefish::kApKernelImage [] = "ap_kernel_image" |
| static constexpr char | cuttlefish::kRootcanalArgs [] = "rootcanal_args" |
| static constexpr char | cuttlefish::kRootcanalHciPort [] = "rootcanal_hci_port" |
| static constexpr char | cuttlefish::kRootcanalLinkPort [] = "rootcanal_link_port" |
| static constexpr char | cuttlefish::kRootcanalLinkBlePort [] = "rootcanal_link_ble_port" |
| static constexpr char | cuttlefish::kRootcanalTestPort [] = "rootcanal_test_port" |
| static constexpr char | cuttlefish::kSnapshotPath [] = "snapshot_path" |
| static constexpr char | cuttlefish::kKvmPath [] = "kvm_path" |
| static constexpr char | cuttlefish::kVhostVsockPath [] = "vhost_vsock_path" |
| static constexpr char | cuttlefish::kStracedExecutables [] = "straced_host_executables" |
| static constexpr char | cuttlefish::kInstancesUdsDir [] = "instances_uds_dir" |
| static constexpr char | cuttlefish::kEnvironmentsUdsDir [] = "environments_uds_dir" |
| static constexpr char | cuttlefish::kInstanceNames [] = "instance_names" |