Home
last modified time | relevance | path

Searched refs:DeviceConfig (Results 1 – 15 of 15) sorted by relevance

/device/google/cuttlefish/host/commands/modem_simulator/
Dcf_device_config.cpp25 int DeviceConfig::host_port() { in host_port()
35 std::string DeviceConfig::PerInstancePath(const char* file_name) { in PerInstancePath()
44 std::string DeviceConfig::DefaultHostArtifactsPath(const std::string& file) { in DefaultHostArtifactsPath()
48 const char* DeviceConfig::ril_address_and_prefix() { in ril_address_and_prefix()
49 if (!cuttlefish::DeviceConfig::Get()) { in ril_address_and_prefix()
52 return cuttlefish::DeviceConfig::Get()->ril_address_and_prefix(); in ril_address_and_prefix()
55 const char* DeviceConfig::ril_gateway() { in ril_gateway()
56 if (!cuttlefish::DeviceConfig::Get()) { in ril_gateway()
59 return cuttlefish::DeviceConfig::Get()->ril_gateway(); in ril_gateway()
61 const char* DeviceConfig::ril_dns() { in ril_dns()
[all …]
Ddevice_config.h27 class DeviceConfig {
Ddata_service.cpp158 auto address = cuttlefish::modem::DeviceConfig::ril_address_and_prefix(); in HandlePDPContext()
159 auto dnses = cuttlefish::modem::DeviceConfig::ril_dns(); in HandlePDPContext()
160 auto gateways = cuttlefish::modem::DeviceConfig::ril_gateway(); in HandlePDPContext()
Dnvram_config.cpp51 cuttlefish::modem::DeviceConfig::PerInstancePath("modem_nvram.json"); in BuildConfigImpl()
104 cuttlefish::modem::DeviceConfig::PerInstancePath("modem_nvram.json")); in ConfigFileLocation()
Dmodem_service.cpp139 auto host_port = cuttlefish::modem::DeviceConfig::host_port(); in GetHostPort()
Dsim_service.cpp362 auto icc_profile_path = cuttlefish::modem::DeviceConfig::PerInstancePath( in InitializeSimFileSystemAndSimState()
373 cuttlefish::modem::DeviceConfig::DefaultHostArtifactsPath(ss.str()); in InitializeSimFileSystemAndSimState()
Dnetwork_service.cpp189 auto file = cuttlefish::modem::DeviceConfig::DefaultHostArtifactsPath( in InitializeSimOperator()
/device/google/cuttlefish/common/libs/device_config/
Dguest_device_config.cpp29 static constexpr auto kDataSize = sizeof(DeviceConfig::RawData);
33 bool GetRawFromServer(DeviceConfig::RawData* data) { in GetRawFromServer()
70 std::unique_ptr<DeviceConfig> DeviceConfig::Get() { in Get()
71 DeviceConfig::RawData data; in Get()
76 return std::unique_ptr<DeviceConfig>(new DeviceConfig(data)); in Get()
86 DeviceConfig::DeviceConfig(const DeviceConfig::RawData& data) : data_(data) { in DeviceConfig() function in cuttlefish::DeviceConfig
Ddevice_config.cpp30 static_assert(sizeof(DeviceConfig::RawData) == kRawDataSize &&
31 std::is_trivial<DeviceConfig::RawData>().value,
37 static constexpr auto kDataSize = sizeof(DeviceConfig::RawData);
41 bool DeviceConfig::SendRawData(SharedFD fd) { in SendRawData()
55 void DeviceConfig::generate_address_and_prefix() { in generate_address_and_prefix()
Ddevice_config.h32 class DeviceConfig {
58 static std::unique_ptr<DeviceConfig> Get();
78 DeviceConfig() = default;
82 explicit DeviceConfig(const RawData& data);
Dhost_device_config.cpp141 std::unique_ptr<DeviceConfig> DeviceConfig::Get() { in Get()
144 std::unique_ptr<DeviceConfig> dev_config(new DeviceConfig()); in Get()
152 bool DeviceConfig::InitializeNetworkConfiguration( in InitializeNetworkConfiguration()
186 void DeviceConfig::InitializeScreenConfiguration( in InitializeScreenConfiguration()
/device/google/cuttlefish/host/commands/config_server/
Dmain.cpp33 auto device_config = cuttlefish::DeviceConfig::Get(); in main()
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
Dvsocket_screen_view.cpp42 auto device_config = cuttlefish::DeviceConfig::Get(); in GetScreenParameters()
/device/google/cuttlefish/guest/commands/vsoc_input_service/
Dvsoc_input_service.cpp64 auto config = cuttlefish::DeviceConfig::Get(); in SetUpDevices()
/device/google/cuttlefish/guest/hals/ril/
Dcuttlefish_ril.cpp59 static std::unique_ptr<cuttlefish::DeviceConfig> global_ril_config = nullptr;
2613 global_ril_config = cuttlefish::DeviceConfig::Get(); in RIL_Init()