Home
last modified time | relevance | path

Searched refs:CuttlefishConfig (Results 1 – 25 of 47) sorted by relevance

12

/device/google/cuttlefish/host/libs/config/
Dcuttlefish_config.cpp182 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 …]
Dcuttlefish_config_instance.cpp63 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 …]
Dcuttlefish_config.h57 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 …]
Dkernel_args.h24 std::vector<std::string> KernelCommandLineFromConfig(const cuttlefish::CuttlefishConfig& config);
Ddata_image.h15 DataImageResult ApplyDataImagePolicy(const cuttlefish::CuttlefishConfig& config,
/device/google/cuttlefish/host/commands/run_cvd/
Dlaunch.h13 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 …]
Dlaunch.cc22 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 …]
Dpre_launch_initializers.h27 void InitializeScreenRegion(const cuttlefish::CuttlefishConfig& config);
31 static void Initialize(const cuttlefish::CuttlefishConfig& config) { in Initialize()
Dmain.cc69 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/
Dcf_device_config.cpp26 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/
Dvm_manager.h38 const cuttlefish::CuttlefishConfig* config);
71 const cuttlefish::CuttlefishConfig* config_;
72 VmManager(const cuttlefish::CuttlefishConfig* config);
80 std::function<VmManager*(const cuttlefish::CuttlefishConfig*)> builder;
Dvm_manager.cpp32 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/
Dmain.cc83 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/
Dflags.h6 const cuttlefish::CuttlefishConfig* InitFilesystemAndCreateConfig(
8 std::string GetConfigFilePath(const cuttlefish::CuttlefishConfig& config);
Dsuper_image_mixer.h20 const cuttlefish::CuttlefishConfig& config);
22 const cuttlefish::CuttlefishConfig& config,
Ddisk_flags.h30 bool ShouldCreateCompositeDisk(const cuttlefish::CuttlefishConfig& config);
32 const cuttlefish::CuttlefishConfig* config,
Dboot_config.cc35 size_t WriteEnvironment(const cuttlefish::CuttlefishConfig& config, in WriteEnvironment()
61 bool InitBootloaderEnvPartition(const cuttlefish::CuttlefishConfig& config, in InitBootloaderEnvPartition()
Dflags.cc270 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()
Dboot_config.h21 bool InitBootloaderEnvPartition(const cuttlefish::CuttlefishConfig& config,
/device/google/cuttlefish/host/libs/screen_connector/
Dscreen_connector.h46 return cuttlefish::CuttlefishConfig::Get()->y_res(); in ScreenHeight()
50 return cuttlefish::CuttlefishConfig::Get()->x_res(); in ScreenWidth()
Dscreen_connector.cpp28 auto config = cuttlefish::CuttlefishConfig::Get(); in Get()
/device/google/cuttlefish/host/commands/metrics/
Dmetrics.cc30 auto config = cuttlefish::CuttlefishConfig::Get(); in main()
46 if (config->enable_metrics() != cuttlefish::CuttlefishConfig::kYes) { in main()
/device/google/cuttlefish/common/libs/device_config/
Ddevice_config.h79 bool InitializeNetworkConfiguration(const CuttlefishConfig& config);
80 void InitializeScreenConfiguration(const CuttlefishConfig& config);
Dhost_device_config.cpp142 auto config = CuttlefishConfig::Get(); in Get()
153 const CuttlefishConfig& config) { in InitializeNetworkConfiguration()
187 const CuttlefishConfig& config) { in InitializeScreenConfiguration()
/device/google/cuttlefish/host/commands/launch/
Dlaunch_cvd.cc98 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()

12