Home
last modified time | relevance | path

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

12

/device/google/cuttlefish_common/host/libs/config/
Dcuttlefish_config.cpp166 std::string CuttlefishConfig::instance_dir() const { in instance_dir()
169 void CuttlefishConfig::set_instance_dir(const std::string& instance_dir) { in set_instance_dir()
173 std::string CuttlefishConfig::vm_manager() const { in vm_manager()
176 void CuttlefishConfig::set_vm_manager(const std::string& name) { in set_vm_manager()
180 std::string CuttlefishConfig::hardware_name() const { in hardware_name()
183 void CuttlefishConfig::set_hardware_name(const std::string& name) { in set_hardware_name()
187 std::string CuttlefishConfig::serial_number() const { in serial_number()
190 void CuttlefishConfig::set_serial_number(const std::string& serial_number) { in set_serial_number()
194 int CuttlefishConfig::cpus() const { return (*dictionary_)[kCpus].asInt(); } in cpus()
195 void CuttlefishConfig::set_cpus(int cpus) { (*dictionary_)[kCpus] = cpus; } in set_cpus()
[all …]
Dcuttlefish_config.h33 class CuttlefishConfig {
35 static CuttlefishConfig* Get();
37 CuttlefishConfig();
38 ~CuttlefishConfig();
324 static CuttlefishConfig* BuildConfigImpl();
326 CuttlefishConfig(const CuttlefishConfig&) = delete;
327 CuttlefishConfig& operator=(const CuttlefishConfig&) = delete;
/device/google/cuttlefish_common/host/commands/launch/
Dlaunch.h10 bool AdbUsbEnabled(const vsoc::CuttlefishConfig& config);
11 void ValidateAdbModeFlag(const vsoc::CuttlefishConfig& config);
13 cvd::Command GetIvServerCommand(const vsoc::CuttlefishConfig& config);
14 cvd::Command GetKernelLogMonitorCommand(const vsoc::CuttlefishConfig& config,
17 void LaunchLogcatReceiverIfEnabled(const vsoc::CuttlefishConfig& config,
19 void LaunchUsbServerIfEnabled(const vsoc::CuttlefishConfig& config,
21 void LaunchVNCServerIfEnabled(const vsoc::CuttlefishConfig& config,
24 void LaunchStreamAudioIfEnabled(const vsoc::CuttlefishConfig& config,
28 const vsoc::CuttlefishConfig& config,
31 const vsoc::CuttlefishConfig& config);
[all …]
Dlaunch.cc41 std::string GetAdbConnectorVsockArg(const vsoc::CuttlefishConfig& config) { in GetAdbConnectorVsockArg()
47 bool AdbModeEnabled(const vsoc::CuttlefishConfig& config, const char* mode) { in AdbModeEnabled()
51 bool AdbTunnelEnabled(const vsoc::CuttlefishConfig& config) { in AdbTunnelEnabled()
55 bool AdbVsockTunnelEnabled(const vsoc::CuttlefishConfig& config) { in AdbVsockTunnelEnabled()
60 bool AdbVsockHalfTunnelEnabled(const vsoc::CuttlefishConfig& config) { in AdbVsockHalfTunnelEnabled()
65 bool AdbTcpConnectorEnabled(const vsoc::CuttlefishConfig& config) { in AdbTcpConnectorEnabled()
73 bool AdbVsockConnectorEnabled(const vsoc::CuttlefishConfig& config) { in AdbVsockConnectorEnabled()
79 const vsoc::CuttlefishConfig& config) { in GetOnSubprocessExitCallback()
93 bool LogcatReceiverEnabled(const vsoc::CuttlefishConfig& config) { in LogcatReceiverEnabled()
97 bool AdbUsbEnabled(const vsoc::CuttlefishConfig& config) { in AdbUsbEnabled()
[all …]
Dflags.h5 vsoc::CuttlefishConfig* InitFilesystemAndCreateConfig(int* argc, char*** argv);
6 std::string GetConfigFilePath(const vsoc::CuttlefishConfig& config);
Dpre_launch_initializers.h27 void InitializeScreenRegion(const vsoc::CuttlefishConfig& config);
31 static void Initialize(const vsoc::CuttlefishConfig& config) { in Initialize()
Dril_config.h21 void ConfigureRil(vsoc::CuttlefishConfig* config);
Ddata_image.h7 bool ApplyDataImagePolicy(const vsoc::CuttlefishConfig& config);
Dscreen_region_handler.cc23 void InitializeScreenRegion(const vsoc::CuttlefishConfig& config) { in InitializeScreenRegion()
Dmain.cc69 const vsoc::CuttlefishConfig& config) { in GetOnSubprocessExitCallback()
185 const vsoc::CuttlefishConfig& config) { in LaunchE2eTestIfEnabled()
199 bool WriteCuttlefishEnvironment(const vsoc::CuttlefishConfig& config) { in WriteCuttlefishEnvironment()
221 cvd::SharedFD DaemonizeLauncher(const vsoc::CuttlefishConfig& config) { in DaemonizeLauncher()
Dflags.cc246 vsoc::CuttlefishConfig tmp_config_obj; in InitializeCuttlefishConfiguration()
607 vsoc::CuttlefishConfig* InitFilesystemAndCreateConfig(int* argc, char*** argv) { in InitFilesystemAndCreateConfig()
641 auto config = vsoc::CuttlefishConfig::Get(); in InitFilesystemAndCreateConfig()
687 std::string GetConfigFilePath(const vsoc::CuttlefishConfig& config) { in GetConfigFilePath()
Ddata_image.cc77 bool ApplyDataImagePolicy(const vsoc::CuttlefishConfig& config) { in ApplyDataImagePolicy()
/device/google/cuttlefish_common/host/libs/vm_manager/
Dvm_manager.h36 const vsoc::CuttlefishConfig* config);
38 static void ConfigureBootDevices(vsoc::CuttlefishConfig* config);
53 const vsoc::CuttlefishConfig* config_;
54 VmManager(const vsoc::CuttlefishConfig* config);
59 std::function<VmManager*(const vsoc::CuttlefishConfig*)> builder;
62 std::function<void(vsoc::CuttlefishConfig*)> configure_boot_devices;
Dvm_manager.cpp30 VmManager::VmManager(const vsoc::CuttlefishConfig* config) in VmManager()
35 VmManager* GetManagerSingleton(const vsoc::CuttlefishConfig* config) { in GetManagerSingleton()
46 [](const vsoc::CuttlefishConfig* config) { in __anone8b419450202()
50 [](vsoc::CuttlefishConfig* c) { in __anone8b419450402()
58 [](const vsoc::CuttlefishConfig* config) { in __anone8b419450502()
63 [](vsoc::CuttlefishConfig* c) { in __anone8b419450702()
71 const vsoc::CuttlefishConfig* config) { in Get()
88 void VmManager::ConfigureBootDevices(vsoc::CuttlefishConfig* config) { in ConfigureBootDevices()
Dqemu_manager.h29 static void ConfigureBootDevices(vsoc::CuttlefishConfig* config);
31 QemuManager(const vsoc::CuttlefishConfig* config);
Dcrosvm_manager.h31 static void ConfigureBootDevices(vsoc::CuttlefishConfig* config);
33 CrosvmManager(const vsoc::CuttlefishConfig* config);
Dqemu_manager.cpp45 std::string GetMonitorPath(const vsoc::CuttlefishConfig* config) { in GetMonitorPath()
58 void QemuManager::ConfigureBootDevices(vsoc::CuttlefishConfig* config) { in ConfigureBootDevices()
65 QemuManager::QemuManager(const vsoc::CuttlefishConfig* config) in QemuManager()
Dcrosvm_manager.cpp33 std::string GetControlSocketPath(const vsoc::CuttlefishConfig* config) { in GetControlSocketPath()
56 void CrosvmManager::ConfigureBootDevices(vsoc::CuttlefishConfig* config) { in ConfigureBootDevices()
63 CrosvmManager::CrosvmManager(const vsoc::CuttlefishConfig* config) in CrosvmManager()
/device/google/cuttlefish_common/host/frontend/vnc_server/
Dscreen_connector.cpp55 SocketBasedScreenConnector(vsoc::CuttlefishConfig* config) : config_(config) { in SocketBasedScreenConnector()
139 vsoc::CuttlefishConfig* config_;
151 auto config = vsoc::CuttlefishConfig::Get(); in Get()
Dvnc_utils.h73 return vsoc::CuttlefishConfig::Get()->x_res(); in ActualScreenWidth()
83 return vsoc::CuttlefishConfig::Get()->y_res(); in ActualScreenHeight()
/device/google/cuttlefish_common/host/commands/ivserver/
Dmain.cpp41 auto config = vsoc::CuttlefishConfig::Get(); in main()
/device/google/cuttlefish_common/host/commands/adbshell/
Dmain.cpp76 auto instance = vsoc::CuttlefishConfig::Get()->adb_device_name(); in main()
/device/google/cuttlefish_common/host/commands/virtual_usb_manager/
Dmain.cc37 auto config = vsoc::CuttlefishConfig::Get(); in main()
/device/google/cuttlefish_common/host/commands/logcat_receiver/
Dmain.cpp32 auto config = vsoc::CuttlefishConfig::Get(); in main()
/device/google/cuttlefish_common/host/commands/kernel_log_monitor/
Dmain.cc74 auto config = vsoc::CuttlefishConfig::Get(); in main()

12