Home
last modified time | relevance | path

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

123456

/device/google/cuttlefish/host/libs/config/
Dcuttlefish_config_instance.cpp34 using APBootFlow = CuttlefishConfig::InstanceSpecific::APBootFlow;
97 CuttlefishConfig::MutableInstanceSpecific::MutableInstanceSpecific( in MutableInstanceSpecific()
98 CuttlefishConfig* config, const std::string& id) in MutableInstanceSpecific()
104 Json::Value* CuttlefishConfig::MutableInstanceSpecific::Dictionary() { in Dictionary()
108 const Json::Value* CuttlefishConfig::InstanceSpecific::Dictionary() const { in Dictionary()
112 std::string CuttlefishConfig::InstanceSpecific::instance_dir() const { in instance_dir()
116 std::string CuttlefishConfig::InstanceSpecific::instance_internal_dir() const { in instance_internal_dir()
120 std::string CuttlefishConfig::InstanceSpecific::instance_uds_dir() const { in instance_uds_dir()
124 std::string CuttlefishConfig::InstanceSpecific::instance_internal_uds_dir() in instance_internal_uds_dir()
133 bool CuttlefishConfig::InstanceSpecific::use_bootloader() const { in use_bootloader()
[all …]
Dcuttlefish_config.cpp77 bool IsRestoring(const CuttlefishConfig& config) { in IsRestoring()
83 bool CuttlefishConfig::LoadFragment(ConfigFragment& fragment) const { in LoadFragment()
95 bool CuttlefishConfig::SaveFragment(const ConfigFragment& fragment) { in SaveFragment()
106 std::string CuttlefishConfig::root_dir() const { in root_dir()
109 void CuttlefishConfig::set_root_dir(const std::string& root_dir) { in set_root_dir()
114 VmmMode CuttlefishConfig::vm_manager() const { in vm_manager()
118 void CuttlefishConfig::set_vm_manager(VmmMode vmm) { in set_vm_manager()
123 std::string CuttlefishConfig::ap_vm_manager() const { in ap_vm_manager()
126 void CuttlefishConfig::set_ap_vm_manager(const std::string& name) { in set_ap_vm_manager()
154 std::set<SecureHal> CuttlefishConfig::secure_hals() const { in secure_hals()
[all …]
Dcuttlefish_config_environment.cpp25 Json::Value* CuttlefishConfig::EnvironmentSpecific::Dictionary() { in Dictionary()
29 const Json::Value* CuttlefishConfig::EnvironmentSpecific::Dictionary() const { in Dictionary()
33 Json::Value* CuttlefishConfig::MutableEnvironmentSpecific::Dictionary() { in Dictionary()
37 std::string CuttlefishConfig::EnvironmentSpecific::environment_name() const { in environment_name()
41 std::string CuttlefishConfig::EnvironmentSpecific::environment_uds_dir() const { in environment_uds_dir()
45 std::string CuttlefishConfig::EnvironmentSpecific::PerEnvironmentUdsPath( in PerEnvironmentUdsPath()
50 std::string CuttlefishConfig::EnvironmentSpecific::environment_dir() const { in environment_dir()
54 std::string CuttlefishConfig::EnvironmentSpecific::PerEnvironmentPath( in PerEnvironmentPath()
59 std::string CuttlefishConfig::EnvironmentSpecific::PerEnvironmentLogPath( in PerEnvironmentLogPath()
69 std::string CuttlefishConfig::EnvironmentSpecific::PerEnvironmentGrpcSocketPath( in PerEnvironmentGrpcSocketPath()
[all …]
Dcuttlefish_config.h76 class CuttlefishConfig {
78 static const CuttlefishConfig* Get();
79 static std::unique_ptr<const CuttlefishConfig> GetFromFile(
83 CuttlefishConfig();
84 CuttlefishConfig(CuttlefishConfig&&);
85 ~CuttlefishConfig();
86 CuttlefishConfig& operator=(CuttlefishConfig&&);
132 const CuttlefishConfig::TouchpadConfig& config);
209 CuttlefishConfig::Answer enable_metrics() const;
307 const CuttlefishConfig* config_;
[all …]
Ddata_image.cpp46 const CuttlefishConfig::InstanceSpecific& instance) { in ForceFsckImage()
62 const CuttlefishConfig::InstanceSpecific& instance) { in ResizeImage()
120 const CuttlefishConfig::InstanceSpecific& instance) { in ChooseDataImageAction()
202 const CuttlefishConfig::InstanceSpecific& instance) { in InitializeDataImage()
240 const CuttlefishConfig::InstanceSpecific& instance) { in InitializeMiscImage()
256 const CuttlefishConfig& config, in INJECT()
257 const CuttlefishConfig::InstanceSpecific& instance)) in INJECT()
287 using BootFlow = CuttlefishConfig::InstanceSpecific::BootFlow; in EspRequiredForBootFlow()
293 return instance_.ap_boot_flow() == CuttlefishConfig::InstanceSpecific::APBootFlow::Grub; in EspRequiredForAPBootFlow()
314 case CuttlefishConfig::InstanceSpecific::BootFlow::AndroidEfiLoader: { in BuildOSImage()
[all …]
/device/google/cuttlefish/host/commands/run_cvd/launch/
Dlaunch.h42 const CuttlefishConfig&, const CuttlefishConfig::InstanceSpecific&);
44 std::optional<MonitorCommand> AutomotiveProxyService(const CuttlefishConfig&);
46 fruit::Component<fruit::Required<const CuttlefishConfig, LogTeeCreator,
47 const CuttlefishConfig::InstanceSpecific>>
51 const CuttlefishConfig&, const CuttlefishConfig::InstanceSpecific&);
53 Result<MonitorCommand> NfcConnector(const CuttlefishConfig&,
54 const CuttlefishConfig::InstanceSpecific&);
56 fruit::Component<fruit::Required<const CuttlefishConfig::InstanceSpecific>,
61 const CuttlefishConfig::InstanceSpecific&);
62 std::string LogcatInfo(const CuttlefishConfig::InstanceSpecific&);
[all …]
Dwmediumd_server.cpp45 const CuttlefishConfig& config, in INJECT()
46 const CuttlefishConfig::EnvironmentSpecific& environment, in INJECT()
47 const CuttlefishConfig::InstanceSpecific& instance)) in INJECT()
68 const CuttlefishConfig& config_;
69 const CuttlefishConfig::EnvironmentSpecific& environment_;
70 const CuttlefishConfig::InstanceSpecific& instance_;
76 const CuttlefishConfig::EnvironmentSpecific& environment, in WmediumdServer()
77 const CuttlefishConfig::InstanceSpecific& instance, LogTeeCreator& log_tee, in WmediumdServer()
142 const CuttlefishConfig, const CuttlefishConfig::EnvironmentSpecific,
143 const CuttlefishConfig::InstanceSpecific, LogTeeCreator, GrpcSocketCreator>>
Dopen_wrt.cpp39 using APBootFlow = CuttlefishConfig::InstanceSpecific::APBootFlow;
45 INJECT(OpenWrt(const CuttlefishConfig& config, in INJECT()
46 const CuttlefishConfig::EnvironmentSpecific& environment, in INJECT()
47 const CuttlefishConfig::InstanceSpecific& instance, in INJECT()
167 const CuttlefishConfig& config_;
168 const CuttlefishConfig::EnvironmentSpecific& environment_;
169 const CuttlefishConfig::InstanceSpecific& instance_;
179 const CuttlefishConfig, const CuttlefishConfig::EnvironmentSpecific,
180 const CuttlefishConfig::InstanceSpecific, LogTeeCreator, WmediumdServer>>
Dstreamer.cpp92 INJECT(StreamerSockets(const CuttlefishConfig& config, in INJECT()
93 const CuttlefishConfig::InstanceSpecific& instance)) in INJECT()
103 CuttlefishConfig::InstanceSpecific::BootFlow::ChromeOs || in AppendCommandArguments()
105 CuttlefishConfig::InstanceSpecific::BootFlow::ChromeOsDisk; in AppendCommandArguments()
187 const CuttlefishConfig& config_;
188 const CuttlefishConfig::InstanceSpecific& instance_;
204 INJECT(WebRtcServer(const CuttlefishConfig& config, in INJECT()
205 const CuttlefishConfig::InstanceSpecific& instance, in INJECT()
314 const CuttlefishConfig& config_;
315 const CuttlefishConfig::InstanceSpecific& instance_;
[all …]
Dnetsim_server.cpp85 INJECT(NetsimServer(const CuttlefishConfig& config, in INJECT()
86 const CuttlefishConfig::InstanceSpecific& instance)) in INJECT()
179 CuttlefishConfig::NetsimRadio::Bluetooth)) { in ResultSetup()
186 if (config_.netsim_radio_enabled(CuttlefishConfig::NetsimRadio::Uwb)) { in ResultSetup()
198 Result<SharedFD> MakeFifo(const CuttlefishConfig::InstanceSpecific& instance, in MakeFifo()
206 const CuttlefishConfig& config_;
207 const CuttlefishConfig::InstanceSpecific& instance_;
212 fruit::Component<fruit::Required<const CuttlefishConfig,
213 const CuttlefishConfig::InstanceSpecific>>
Dopenwrt_control_server.cpp37 const CuttlefishConfig& config, in INJECT()
38 const CuttlefishConfig::EnvironmentSpecific& environment, in INJECT()
75 const CuttlefishConfig& config_;
76 const CuttlefishConfig::EnvironmentSpecific& environment_;
82 fruit::Component<fruit::Required<const CuttlefishConfig,
83 const CuttlefishConfig::EnvironmentSpecific,
Droot_canal.cpp36 INJECT(RootCanal(const CuttlefishConfig& config, in INJECT()
37 const CuttlefishConfig::InstanceSpecific& instance, in INJECT()
107 const CuttlefishConfig& config_;
108 const CuttlefishConfig::InstanceSpecific& instance_;
115 fruit::Required<const CuttlefishConfig,
116 const CuttlefishConfig::InstanceSpecific, LogTeeCreator>>
/device/google/cuttlefish/host/commands/assemble_cvd/
Dboot_config.cc53 const CuttlefishConfig::InstanceSpecific& instance, in WritePausedEntrypoint()
66 const CuttlefishConfig::InstanceSpecific& instance) { in WriteAndroidEnvironment()
75 void WriteEFIEnvironment(const CuttlefishConfig::InstanceSpecific& instance, in WriteEFIEnvironment()
91 size_t WriteEnvironment(const CuttlefishConfig::InstanceSpecific& instance, in WriteEnvironment()
92 const CuttlefishConfig::InstanceSpecific::BootFlow& flow, in WriteEnvironment()
105 case CuttlefishConfig::InstanceSpecific::BootFlow::Android: in WriteEnvironment()
108 case CuttlefishConfig::InstanceSpecific::BootFlow::AndroidEfiLoader: in WriteEnvironment()
111 case CuttlefishConfig::InstanceSpecific::BootFlow::ChromeOs: in WriteEnvironment()
114 case CuttlefishConfig::InstanceSpecific::BootFlow::ChromeOsDisk: in WriteEnvironment()
117 case CuttlefishConfig::InstanceSpecific::BootFlow::Fuchsia: in WriteEnvironment()
[all …]
Ddisk_flags.cc142 using APBootFlow = CuttlefishConfig::InstanceSpecific::APBootFlow;
263 const CuttlefishConfig::InstanceSpecific& instance) { in chromeos_composite_disk_config()
289 const CuttlefishConfig::InstanceSpecific& instance) { in linux_composite_disk_config()
308 const CuttlefishConfig::InstanceSpecific& instance) { in fuchsia_composite_disk_config()
322 const CuttlefishConfig::InstanceSpecific& instance) { in android_composite_disk_config()
455 const CuttlefishConfig::InstanceSpecific& instance) { in AndroidEfiLoaderCompositeDiskConfig()
472 std::vector<ImagePartition> GetApCompositeDiskConfig(const CuttlefishConfig& config, in GetApCompositeDiskConfig()
473 const CuttlefishConfig::InstanceSpecific& instance) { in GetApCompositeDiskConfig()
494 const CuttlefishConfig::InstanceSpecific& instance) { in GetOsCompositeDiskConfig()
496 case CuttlefishConfig::InstanceSpecific::BootFlow::Android: in GetOsCompositeDiskConfig()
[all …]
Ddisk_flags.h34 const CuttlefishConfig& config);
35 Result<void> DiskImageFlagsVectorization(CuttlefishConfig& config, const FetcherConfig& fetcher_con…
37 const CuttlefishConfig::InstanceSpecific& instance);
38 DiskBuilder OsCompositeDiskBuilder(const CuttlefishConfig& config,
39 const CuttlefishConfig::InstanceSpecific& instance);
40 DiskBuilder ApCompositeDiskBuilder(const CuttlefishConfig& config,
41 const CuttlefishConfig::InstanceSpecific& instance);
/device/google/cuttlefish/host/commands/assemble_cvd/disk/
Ddisk.h30 fruit::Component<fruit::Required<const CuttlefishConfig,
31 const CuttlefishConfig::InstanceSpecific,
37 const CuttlefishConfig&, const CuttlefishConfig::InstanceSpecific&);
39 Result<void> Gem5ImageUnpacker(const CuttlefishConfig&, KernelRamdiskRepacker&);
42 const CuttlefishConfig::InstanceSpecific&,
47 const CuttlefishConfig::InstanceSpecific&);
50 const CuttlefishConfig&, const CuttlefishConfig::InstanceSpecific&,
Dinitialize_instance_composite_disk.cc35 const CuttlefishConfig::InstanceSpecific& instance) { in PersistentCompositeDiskConfig()
66 const CuttlefishConfig::InstanceSpecific& instance) { in PersistentAPCompositeDiskConfig()
86 bool IsVmManagerQemu(const CuttlefishConfig& config) { in IsVmManagerQemu()
90 const CuttlefishConfig& config, in InitializeInstanceCompositeDisk()
91 const CuttlefishConfig::InstanceSpecific& instance, in InitializeInstanceCompositeDisk()
114 using APBootFlow = CuttlefishConfig::InstanceSpecific::APBootFlow; in InitializeInstanceCompositeDisk()
Dkernel_ramdisk_repacker.cpp39 const CuttlefishConfig& config, in INJECT()
40 const CuttlefishConfig::InstanceSpecific& instance, in INJECT()
185 const CuttlefishConfig& config_;
186 const CuttlefishConfig::InstanceSpecific& instance_;
190 fruit::Component<fruit::Required<const CuttlefishConfig,
191 const CuttlefishConfig::InstanceSpecific,
/device/google/cuttlefish/host/commands/run_cvd/
Dmain.cc61 CuttlefishEnvironment(const CuttlefishConfig::InstanceSpecific& instance)) in INJECT()
78 const CuttlefishConfig::InstanceSpecific& instance_;
83 INJECT(InstanceLifecycle(const CuttlefishConfig& config, in INJECT()
110 const CuttlefishConfig& config_;
118 const CuttlefishConfig* config, in runCvdComponent()
119 const CuttlefishConfig::EnvironmentSpecific* environment, in runCvdComponent()
120 const CuttlefishConfig::InstanceSpecific* instance) { in runCvdComponent()
187 Result<const CuttlefishConfig*> FindConfigFromStdin() { in FindConfigFromStdin()
202 return CF_EXPECT(CuttlefishConfig::Get()); // Null check in FindConfigFromStdin()
205 void ConfigureLogs(const CuttlefishConfig& config, in ConfigureLogs()
[all …]
Dboot_state_machine.cc49 Result<SharedFD> DaemonizeLauncher(const CuttlefishConfig& config) { in DaemonizeLauncher()
130 const CuttlefishConfig& config, in ProcessLeader()
131 const CuttlefishConfig::InstanceSpecific& instance, in ProcessLeader()
158 CvdBootStateMachine(const CuttlefishConfig& config, in INJECT()
162 const CuttlefishConfig::InstanceSpecific& instance)) in INJECT()
414 const CuttlefishConfig& config_;
418 const CuttlefishConfig::InstanceSpecific& instance_;
435 fruit::Component<fruit::Required<const CuttlefishConfig, KernelLogPipeProvider,
436 const CuttlefishConfig::InstanceSpecific,
/device/google/cuttlefish/host/commands/modem_simulator/
Dcf_device_config.cpp25 if (!cuttlefish::CuttlefishConfig::Get()) { in host_id()
28 auto config = cuttlefish::CuttlefishConfig::Get(); in host_id()
34 if (!cuttlefish::CuttlefishConfig::Get()) { in PerInstancePath()
37 auto config = cuttlefish::CuttlefishConfig::Get(); in PerInstancePath()
47 auto config = cuttlefish::CuttlefishConfig::Get(); in ril_address_and_prefix()
53 auto config = cuttlefish::CuttlefishConfig::Get(); in ril_gateway()
59 auto config = cuttlefish::CuttlefishConfig::Get(); in ril_dns()
/device/google/cuttlefish/host/libs/config/adb/
Dlaunch.cpp37 INJECT(AdbHelper(const CuttlefishConfig::InstanceSpecific& instance, in INJECT()
73 const CuttlefishConfig::InstanceSpecific& instance_;
124 const CuttlefishConfig& cuttlefish_config, in INJECT()
125 const CuttlefishConfig::InstanceSpecific& instance, in INJECT()
214 const CuttlefishConfig& cuttlefish_config_;
215 const CuttlefishConfig::InstanceSpecific& instance_;
223 const CuttlefishConfig,
224 const CuttlefishConfig::InstanceSpecific>>
/device/google/cuttlefish/host/commands/stop/
Dmain.cc63 const CuttlefishConfig& config, in DirsForInstance()
64 const CuttlefishConfig::InstanceSpecific instance) { in DirsForInstance()
119 const CuttlefishConfig::InstanceSpecific& instance_config, in CleanStopInstance()
133 int StopInstance(const CuttlefishConfig& config, in StopInstance()
134 const CuttlefishConfig::InstanceSpecific& instance, in StopInstance()
200 auto config = CuttlefishConfig::Get(); in StopCvdMain()
267 if (cuttlefish::CuttlefishConfig::Get()->enable_metrics() == in main()
268 cuttlefish::CuttlefishConfig::Answer::kYes) { in main()
/device/google/cuttlefish/host/libs/vm_manager/
Dvm_manager.cpp79 INJECT(VmmCommands(const CuttlefishConfig& config, VmManager& vmm)) in INJECT()
102 const CuttlefishConfig& config_;
107 fruit::Component<fruit::Required<const CuttlefishConfig,
108 const CuttlefishConfig::InstanceSpecific>,
112 .registerProvider([](const CuttlefishConfig& config, in VmManagerComponent()
113 const CuttlefishConfig::InstanceSpecific& instance) { in VmManagerComponent()
Dvm_manager.h94 ConfigureGraphics(const CuttlefishConfig::InstanceSpecific& instance) = 0;
97 ConfigureBootDevices(const CuttlefishConfig::InstanceSpecific& instance) = 0;
104 const CuttlefishConfig& config,
118 fruit::Component<fruit::Required<const CuttlefishConfig,
119 const CuttlefishConfig::InstanceSpecific>,

123456