Searched refs:DeviceConfig (Results 1 – 15 of 15) sorted by relevance
25 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 …]
27 class DeviceConfig {
158 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()
51 cuttlefish::modem::DeviceConfig::PerInstancePath("modem_nvram.json"); in BuildConfigImpl()104 cuttlefish::modem::DeviceConfig::PerInstancePath("modem_nvram.json")); in ConfigFileLocation()
139 auto host_port = cuttlefish::modem::DeviceConfig::host_port(); in GetHostPort()
362 auto icc_profile_path = cuttlefish::modem::DeviceConfig::PerInstancePath( in InitializeSimFileSystemAndSimState()373 cuttlefish::modem::DeviceConfig::DefaultHostArtifactsPath(ss.str()); in InitializeSimFileSystemAndSimState()
189 auto file = cuttlefish::modem::DeviceConfig::DefaultHostArtifactsPath( in InitializeSimOperator()
29 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
30 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()
32 class DeviceConfig {58 static std::unique_ptr<DeviceConfig> Get();78 DeviceConfig() = default;82 explicit DeviceConfig(const RawData& data);
141 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()
33 auto device_config = cuttlefish::DeviceConfig::Get(); in main()
42 auto device_config = cuttlefish::DeviceConfig::Get(); in GetScreenParameters()
64 auto config = cuttlefish::DeviceConfig::Get(); in SetUpDevices()
59 static std::unique_ptr<cuttlefish::DeviceConfig> global_ril_config = nullptr;2613 global_ril_config = cuttlefish::DeviceConfig::Get(); in RIL_Init()