/device/google/cuttlefish/host/libs/config/ |
D | cuttlefish_config.cpp | 182 std::string CuttlefishConfig::assembly_dir() const { in assembly_dir() 185 void CuttlefishConfig::set_assembly_dir(const std::string& assembly_dir) { in set_assembly_dir() 189 std::string CuttlefishConfig::vm_manager() const { in vm_manager() 192 void CuttlefishConfig::set_vm_manager(const std::string& name) { in set_vm_manager() 196 std::string CuttlefishConfig::gpu_mode() const { in gpu_mode() 199 void CuttlefishConfig::set_gpu_mode(const std::string& name) { in set_gpu_mode() 203 int CuttlefishConfig::cpus() const { return (*dictionary_)[kCpus].asInt(); } in cpus() 204 void CuttlefishConfig::set_cpus(int cpus) { (*dictionary_)[kCpus] = cpus; } in set_cpus() 206 int CuttlefishConfig::memory_mb() const { in memory_mb() 209 void CuttlefishConfig::set_memory_mb(int memory_mb) { in set_memory_mb() [all …]
|
D | cuttlefish_config_instance.cpp | 63 Json::Value* CuttlefishConfig::MutableInstanceSpecific::Dictionary() { in Dictionary() 67 const Json::Value* CuttlefishConfig::InstanceSpecific::Dictionary() const { in Dictionary() 71 std::string CuttlefishConfig::InstanceSpecific::instance_dir() const { in instance_dir() 74 void CuttlefishConfig::MutableInstanceSpecific::set_instance_dir( in set_instance_dir() 79 std::string CuttlefishConfig::InstanceSpecific::instance_internal_dir() const { in instance_internal_dir() 83 std::string CuttlefishConfig::InstanceSpecific::serial_number() const { in serial_number() 86 void CuttlefishConfig::MutableInstanceSpecific::set_serial_number( in set_serial_number() 91 std::vector<std::string> CuttlefishConfig::InstanceSpecific::virtual_disk_paths() const { in virtual_disk_paths() 99 void CuttlefishConfig::MutableInstanceSpecific::set_virtual_disk_paths( in set_virtual_disk_paths() 108 std::string CuttlefishConfig::InstanceSpecific::kernel_log_pipe_name() const { in kernel_log_pipe_name() [all …]
|
D | cuttlefish_config.h | 57 class CuttlefishConfig { 59 static const CuttlefishConfig* Get(); 62 CuttlefishConfig(); 63 CuttlefishConfig(CuttlefishConfig&&); 64 ~CuttlefishConfig(); 65 CuttlefishConfig& operator=(CuttlefishConfig&&); 261 CuttlefishConfig::Answer enable_metrics() const; 338 const CuttlefishConfig* config_; 340 friend InstanceSpecific CuttlefishConfig::ForInstance(int num) const; 341 friend InstanceSpecific CuttlefishConfig::ForDefaultInstance() const; [all …]
|
D | kernel_args.h | 24 std::vector<std::string> KernelCommandLineFromConfig(const cuttlefish::CuttlefishConfig& config);
|
D | data_image.h | 15 DataImageResult ApplyDataImagePolicy(const cuttlefish::CuttlefishConfig& config,
|
/device/google/cuttlefish/host/commands/run_cvd/ |
D | launch.h | 13 const cuttlefish::CuttlefishConfig& config, 17 const cuttlefish::CuttlefishConfig& config, 20 const cuttlefish::CuttlefishConfig& config); 21 void LaunchModemSimulatorIfEnabled(const cuttlefish::CuttlefishConfig& config, 28 const cuttlefish::CuttlefishConfig& config, 32 void LaunchTombstoneReceiverIfEnabled(const cuttlefish::CuttlefishConfig& config, 34 void LaunchLogcatReceiver(const cuttlefish::CuttlefishConfig& config, 36 void LaunchConfigServer(const cuttlefish::CuttlefishConfig& config, 40 const cuttlefish::CuttlefishConfig& config); 43 const cuttlefish::CuttlefishConfig& config); [all …]
|
D | launch.cc | 22 std::string GetAdbConnectorTcpArg(const cuttlefish::CuttlefishConfig& config) { in GetAdbConnectorTcpArg() 27 std::string GetAdbConnectorVsockArg(const cuttlefish::CuttlefishConfig& config) { in GetAdbConnectorVsockArg() 33 bool AdbModeEnabled(const cuttlefish::CuttlefishConfig& config, cuttlefish::AdbMode mode) { in AdbModeEnabled() 37 bool AdbVsockTunnelEnabled(const cuttlefish::CuttlefishConfig& config) { in AdbVsockTunnelEnabled() 43 bool AdbVsockHalfTunnelEnabled(const cuttlefish::CuttlefishConfig& config) { in AdbVsockHalfTunnelEnabled() 49 bool AdbTcpConnectorEnabled(const cuttlefish::CuttlefishConfig& config) { in AdbTcpConnectorEnabled() 55 bool AdbVsockConnectorEnabled(const cuttlefish::CuttlefishConfig& config) { in AdbVsockConnectorEnabled() 61 const cuttlefish::CuttlefishConfig& config) { in GetOnSubprocessExitCallback() 82 cuttlefish::Command* cmd, const cuttlefish::CuttlefishConfig& config) { in CreateStreamerServers() 132 const cuttlefish::CuttlefishConfig& config, cuttlefish::ProcessMonitor* process_monitor, in LaunchKernelLogMonitor() [all …]
|
D | pre_launch_initializers.h | 27 void InitializeScreenRegion(const cuttlefish::CuttlefishConfig& config); 31 static void Initialize(const cuttlefish::CuttlefishConfig& config) { in Initialize()
|
D | main.cc | 69 const cuttlefish::CuttlefishConfig& config) { in GetOnSubprocessExitCallback() 157 bool WriteCuttlefishEnvironment(const cuttlefish::CuttlefishConfig& config) { in WriteCuttlefishEnvironment() 174 cuttlefish::SharedFD DaemonizeLauncher(const cuttlefish::CuttlefishConfig& config) { in DaemonizeLauncher() 262 auto config = cuttlefish::CuttlefishConfig::Get(); in PowerwashFiles() 351 auto config = cuttlefish::CuttlefishConfig::Get(); in ServerLoop() 383 std::string GetConfigFilePath(const cuttlefish::CuttlefishConfig& config) { in GetConfigFilePath() 428 auto config = cuttlefish::CuttlefishConfig::Get(); in main() 522 if (config->enable_metrics() == cuttlefish::CuttlefishConfig::kYes) { in main()
|
/device/google/cuttlefish/host/commands/modem_simulator/ |
D | cf_device_config.cpp | 26 if (!cuttlefish::CuttlefishConfig::Get()) { in host_port() 29 auto config = cuttlefish::CuttlefishConfig::Get(); in host_port() 36 if (!cuttlefish::CuttlefishConfig::Get()) { in PerInstancePath() 39 auto config = cuttlefish::CuttlefishConfig::Get(); in PerInstancePath()
|
/device/google/cuttlefish/host/libs/vm_manager/ |
D | vm_manager.h | 38 const cuttlefish::CuttlefishConfig* config); 71 const cuttlefish::CuttlefishConfig* config_; 72 VmManager(const cuttlefish::CuttlefishConfig* config); 80 std::function<VmManager*(const cuttlefish::CuttlefishConfig*)> builder;
|
D | vm_manager.cpp | 32 VmManager::VmManager(const cuttlefish::CuttlefishConfig* config) in VmManager() 37 VmManager* GetManagerSingleton(const cuttlefish::CuttlefishConfig* config) { in GetManagerSingleton() 67 const cuttlefish::CuttlefishConfig* config) { in Get()
|
/device/google/cuttlefish/host/commands/stop_cvd/ |
D | main.cc | 83 std::set<std::string> PathsForInstance(const cuttlefish::CuttlefishConfig& config, in PathsForInstance() 84 … const cuttlefish::CuttlefishConfig::InstanceSpecific instance) { in PathsForInstance() 145 bool CleanStopInstance(const cuttlefish::CuttlefishConfig::InstanceSpecific& instance) { in CleanStopInstance() 196 int StopInstance(const cuttlefish::CuttlefishConfig& config, in StopInstance() 197 const cuttlefish::CuttlefishConfig::InstanceSpecific& instance) { in StopInstance() 211 auto config = cuttlefish::CuttlefishConfig::Get(); in main()
|
/device/google/cuttlefish/host/commands/assemble_cvd/ |
D | flags.h | 6 const cuttlefish::CuttlefishConfig* InitFilesystemAndCreateConfig( 8 std::string GetConfigFilePath(const cuttlefish::CuttlefishConfig& config);
|
D | super_image_mixer.h | 20 const cuttlefish::CuttlefishConfig& config); 22 const cuttlefish::CuttlefishConfig& config,
|
D | disk_flags.h | 30 bool ShouldCreateCompositeDisk(const cuttlefish::CuttlefishConfig& config); 32 const cuttlefish::CuttlefishConfig* config,
|
D | boot_config.cc | 35 size_t WriteEnvironment(const cuttlefish::CuttlefishConfig& config, in WriteEnvironment() 61 bool InitBootloaderEnvPartition(const cuttlefish::CuttlefishConfig& config, in InitBootloaderEnvPartition()
|
D | flags.cc | 270 std::string GetLegacyConfigFilePath(const cuttlefish::CuttlefishConfig& config) { in GetLegacyConfigFilePath() 287 cuttlefish::CuttlefishConfig InitializeCuttlefishConfiguration( in InitializeCuttlefishConfiguration() 293 cuttlefish::CuttlefishConfig tmp_config_obj; in InitializeCuttlefishConfiguration() 514 auto const_instance = const_cast<const cuttlefish::CuttlefishConfig&>(tmp_config_obj) in InitializeCuttlefishConfiguration() 603 bool SaveConfig(const cuttlefish::CuttlefishConfig& tmp_config_obj) { in SaveConfig() 796 bool CleanPriorFiles(const cuttlefish::CuttlefishConfig& config, const std::set<std::string>& prese… in CleanPriorFiles() 812 void ValidateAdbModeFlag(const cuttlefish::CuttlefishConfig& config) { in ValidateAdbModeFlag() 826 const cuttlefish::CuttlefishConfig* InitFilesystemAndCreateConfig( in InitFilesystemAndCreateConfig() 957 auto config = cuttlefish::CuttlefishConfig::Get(); in InitFilesystemAndCreateConfig() 970 std::string GetConfigFilePath(const cuttlefish::CuttlefishConfig& config) { in GetConfigFilePath()
|
D | boot_config.h | 21 bool InitBootloaderEnvPartition(const cuttlefish::CuttlefishConfig& config,
|
/device/google/cuttlefish/host/libs/screen_connector/ |
D | screen_connector.h | 46 return cuttlefish::CuttlefishConfig::Get()->y_res(); in ScreenHeight() 50 return cuttlefish::CuttlefishConfig::Get()->x_res(); in ScreenWidth()
|
D | screen_connector.cpp | 28 auto config = cuttlefish::CuttlefishConfig::Get(); in Get()
|
/device/google/cuttlefish/host/commands/metrics/ |
D | metrics.cc | 30 auto config = cuttlefish::CuttlefishConfig::Get(); in main() 46 if (config->enable_metrics() != cuttlefish::CuttlefishConfig::kYes) { in main()
|
/device/google/cuttlefish/common/libs/device_config/ |
D | device_config.h | 79 bool InitializeNetworkConfiguration(const CuttlefishConfig& config); 80 void InitializeScreenConfiguration(const CuttlefishConfig& config);
|
D | host_device_config.cpp | 142 auto config = CuttlefishConfig::Get(); in Get() 153 const CuttlefishConfig& config) { in InitializeNetworkConfiguration() 187 const CuttlefishConfig& config) { in InitializeScreenConfiguration()
|
/device/google/cuttlefish/host/commands/launch/ |
D | launch_cvd.cc | 98 if (cuttlefish::CuttlefishConfig::ConfigExists()) { in ValidateMetricsConfirmation() 99 auto config = cuttlefish::CuttlefishConfig::Get(); in ValidateMetricsConfirmation() 101 if (config->enable_metrics() == cuttlefish::CuttlefishConfig::kYes) { in ValidateMetricsConfirmation() 103 } else if (config->enable_metrics() == cuttlefish::CuttlefishConfig::kNo) { in ValidateMetricsConfirmation()
|