Home
last modified time | relevance | path

Searched refs:GetString (Results 1 – 25 of 86) sorted by relevance

1234

/system/weaved/buffet/
Dbuffet_config.cc121 store.GetString(config_keys::kClientId, &settings->client_id); in LoadDefaults()
122 store.GetString(config_keys::kClientSecret, &settings->client_secret); in LoadDefaults()
123 store.GetString(config_keys::kApiKey, &settings->api_key); in LoadDefaults()
124 store.GetString(config_keys::kOAuthURL, &settings->oauth_url); in LoadDefaults()
125 store.GetString(config_keys::kServiceURL, &settings->service_url); in LoadDefaults()
126 store.GetString(config_keys::kOemName, &settings->oem_name); in LoadDefaults()
127 store.GetString(config_keys::kModelName, &settings->model_name); in LoadDefaults()
128 store.GetString(config_keys::kModelId, &settings->model_id); in LoadDefaults()
132 if (!reader.GetString(kProductVersionKey, &settings->firmware_version)) { in LoadDefaults()
138 store.GetString(config_keys::kEmbeddedCode, &settings->embedded_code); in LoadDefaults()
[all …]
/system/connectivity/shill/
Ddhcp_properties_unittest.cc93 EXPECT_EQ(kOverrideValue, dhcp_properties_.properties_.GetString("Hostname")); in TEST_F()
102 EXPECT_EQ(kHostname, dhcp_properties_.properties_.GetString("Hostname")); in TEST_F()
112 EXPECT_EQ(kHostname, dhcp_properties_.properties_.GetString("Hostname")); in TEST_F()
159 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.VendorClass", _)) in TEST_F()
161 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.Hostname", _)) in TEST_F()
169 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.VendorClass", _)) in TEST_F()
172 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.Hostname", _)) in TEST_F()
177 dhcp_properties_.properties_.GetString("VendorClass")); in TEST_F()
178 EXPECT_EQ(kHostname, dhcp_properties_.properties_.GetString("Hostname")); in TEST_F()
185 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.VendorClass", _)) in TEST_F()
[all …]
Ddefault_profile.cc122 storage()->GetString(kStorageId, kStorageHostName, &manager_props->host_name); in LoadManagerProperties()
125 if (!storage()->GetString(kStorageId, in LoadManagerProperties()
135 if (!storage()->GetString(kStorageId, in LoadManagerProperties()
141 if (!storage()->GetString(kStorageId, in LoadManagerProperties()
147 if (!storage()->GetString(kStorageId, in LoadManagerProperties()
152 if (!storage()->GetString(kStorageId, kStoragePortalURL, in LoadManagerProperties()
157 if (!storage()->GetString(kStorageId, kStoragePortalCheckInterval, in LoadManagerProperties()
164 if (!storage()->GetString(kStorageId, in LoadManagerProperties()
Ddefault_profile_unittest.cc204 EXPECT_CALL(*storage.get(), GetString(DefaultProfile::kStorageId, in TEST_F()
212 EXPECT_CALL(*storage.get(), GetString(DefaultProfile::kStorageId, in TEST_F()
217 GetString(DefaultProfile::kStorageId, in TEST_F()
222 GetString(DefaultProfile::kStorageId, in TEST_F()
227 GetString(DefaultProfile::kStorageId, in TEST_F()
232 GetString(DefaultProfile::kStorageId, in TEST_F()
236 EXPECT_CALL(*storage.get(), GetString(DefaultProfile::kStorageId, in TEST_F()
241 GetString(DefaultProfile::kStorageId, in TEST_F()
275 EXPECT_CALL(*storage.get(), GetString(DefaultProfile::kStorageId, in TEST_F()
284 EXPECT_CALL(*storage.get(), GetString(DefaultProfile::kStorageId, in TEST_F()
[all …]
Ddhcp_properties.cc86 if (storage->GetString(id, GetFullPropertyName(name), &property_value)) { in Load()
100 property_value = properties_.GetString(name); in Save()
127 *value = properties_.GetString(name); in GetValueForProperty()
147 return properties_.GetString(kPropertyNames[index]); in GetMappedStringProperty()
157 properties_.GetString(kPropertyNames[index]) == value) { in SetMappedStringProperty()
Deap_credentials.cc291 storage->GetString(id, kStorageEapCertID, &cert_id_); in Load()
292 storage->GetString(id, kStorageEapClientCert, &client_cert_); in Load()
294 storage->GetString(id, kStorageEapKeyID, &key_id_); in Load()
296 storage->GetString(id, kStorageEapKeyManagement, &key_management); in Load()
299 storage->GetString(id, kStorageEapPIN, &pin_); in Load()
300 storage->GetString(id, kStorageEapPrivateKey, &private_key_); in Load()
306 storage->GetString(id, kStorageEapCACert, &ca_cert_); in Load()
307 storage->GetString(id, kStorageEapCACertID, &ca_cert_id_); in Load()
308 storage->GetString(id, kStorageEapCACertNSS, &ca_cert_nss_); in Load()
310 storage->GetString(id, kStorageEapEap, &eap_); in Load()
[all …]
Djson_store_unittest.cc101 EXPECT_TRUE(store_->GetString("group_a", "knob_1", &value_from_store)); in TEST_F()
177 EXPECT_TRUE(store_->GetString("group_a", "knob_1", &raw_value_from_store)); in TEST_F()
187 EXPECT_TRUE(store_->GetString("group_a", "knob_1", &value_from_store)); in TEST_F()
189 EXPECT_TRUE(store_->GetString("group_b", "knob_1", &value_from_store)); in TEST_F()
198 EXPECT_FALSE(store_->GetString("group_a", "string_knob", nullptr)); in TEST_F()
208 EXPECT_FALSE(store_->GetString("group_a", "string_knob", nullptr)); in TEST_F()
225 EXPECT_TRUE(store_->GetString("group_a", "string_knob", nullptr)); in TEST_F()
271 EXPECT_FALSE(store_->GetString("group_a", "value_1", &value_from_store)); in TEST_F()
295 EXPECT_FALSE(store_->GetString("group_a", "knob_1", nullptr)); in TEST_F()
308 EXPECT_FALSE(store_->GetString("group_a", "knob_1", nullptr)); in TEST_F()
[all …]
Dkey_file_store_unittest.cc325 TEST_F(KeyFileStoreTest, GetString) { in TEST_F() argument
334 EXPECT_TRUE(store_->GetString(kGroup, kKey, &value)); in TEST_F()
336 EXPECT_FALSE(store_->GetString("something-else", kKey, &value)); in TEST_F()
337 EXPECT_FALSE(store_->GetString(kGroup, "bar", &value)); in TEST_F()
338 EXPECT_TRUE(store_->GetString(kGroup, kKey, nullptr)); in TEST_F()
661 ASSERT_TRUE(store_->GetString(kGroup, kKey1, &value)); in TEST_F()
663 ASSERT_TRUE(store_->GetString(kGroup, kKey2, &value)); in TEST_F()
683 bool could_get = store.GetString(group, key, &value); in OpenCheckClose()
779 EXPECT_TRUE(store_->GetString(kGroupB, kKeyString, &value)); in TEST_F()
781 EXPECT_TRUE(store_->GetString(kGroupA, kKeyString, &value)); in TEST_F()
[all …]
Dstatic_ip_parameters.cc169 if (storage->GetString(storage_id, name, &value)) { in Load()
181 if (storage->GetString(storage_id, name, &value)) { in Load()
213 storage->SetString(storage_id, name, args_.GetString(property.name)); in Save()
248 *value_out = args_.GetString(property); in ApplyString()
374 return args_.GetString(key); in GetMappedStringProperty()
386 return saved_args_.GetString(key); in GetMappedSavedStringProperty()
434 args_.GetString(kProperties[index].name) == value) { in SetMappedStringProperty()
/system/connectivity/shill/cellular/
Dcellular_bearer.cc129 (*ipconfig_properties)->address = properties.GetString(kPropertyAddress); in GetIPConfigMethodAndProperties()
130 (*ipconfig_properties)->gateway = properties.GetString(kPropertyGateway); in GetIPConfigMethodAndProperties()
142 properties.GetString(kPropertyDNS1)); in GetIPConfigMethodAndProperties()
146 properties.GetString(kPropertyDNS2)); in GetIPConfigMethodAndProperties()
150 properties.GetString(kPropertyDNS3)); in GetIPConfigMethodAndProperties()
199 changed_properties.GetString(MM_BEARER_PROPERTY_INTERFACE); in OnPropertiesChanged()
Dcellular_capability_classic.cc307 string carrier = props.GetString("carrier"); in OnGetModemStatusReply()
312 cellular()->set_meid(props.GetString("meid")); in OnGetModemStatusReply()
315 cellular()->set_imei(props.GetString("imei")); in OnGetModemStatusReply()
318 string imsi = props.GetString(kModemPropertyIMSI); in OnGetModemStatusReply()
326 cellular()->set_esn(props.GetString("esn")); in OnGetModemStatusReply()
329 cellular()->set_mdn(props.GetString("mdn")); in OnGetModemStatusReply()
332 cellular()->set_min(props.GetString("min")); in OnGetModemStatusReply()
335 cellular()->set_firmware_revision(props.GetString("firmware_revision")); in OnGetModemStatusReply()
Dcellular_capability_cdma.cc383 cellular()->set_mdn(status_changes.GetString("mdn")); in OnActivationStateChangedSignal()
385 cellular()->set_min(status_changes.GetString("min")); in OnActivationStateChangedSignal()
412 properties.GetString("payment_url"), in UpdateOnlinePortal()
413 properties.GetString("payment_url_method"), in UpdateOnlinePortal()
414 properties.GetString("payment_url_postdata")); in UpdateOnlinePortal()
Dcellular_capability_universal.cc1056 parsed[kLongNameProperty] = result.GetString(kOperatorLongProperty); in ParseScanResult()
1058 parsed[kShortNameProperty] = result.GetString(kOperatorShortProperty); in ParseScanResult()
1060 parsed[kNetworkIdProperty] = result.GetString(kOperatorCodeProperty); in ParseScanResult()
1166 properties.GetString(MM_MODEM_PROPERTY_MANUFACTURER)); in OnModemPropertiesChanged()
1169 cellular()->set_model_id(properties.GetString(MM_MODEM_PROPERTY_MODEL)); in OnModemPropertiesChanged()
1172 cellular()->set_mm_plugin(properties.GetString(MM_MODEM_PROPERTY_PLUGIN)); in OnModemPropertiesChanged()
1175 OnModemRevisionChanged(properties.GetString(MM_MODEM_PROPERTY_REVISION)); in OnModemPropertiesChanged()
1468 properties.GetString(MM_MODEM_MODEM3GPP_PROPERTY_IMEI)); in OnModem3GPPPropertiesChanged()
1490 properties.GetString(MM_MODEM_MODEM3GPP_PROPERTY_OPERATORCODE); in OnModem3GPPPropertiesChanged()
1495 properties.GetString(MM_MODEM_MODEM3GPP_PROPERTY_OPERATORNAME); in OnModem3GPPPropertiesChanged()
[all …]
/system/update_engine/
Dimage_properties_android.cc46 if (osrelease.GetString(key, &result)) in GetStringWithDefault()
80 !system_state->prefs()->GetString(current_channel_key, &current_channel)) in LoadImageProperties()
93 if (!prefs->GetString(kPrefsImgPropChannelName, &result.target_channel)) in LoadMutableImageProperties()
Dcertificate_checker_unittest.cc85 EXPECT_CALL(prefs_, GetString(cert_key_, _)).WillOnce(Return(false)); in TEST_F()
102 EXPECT_CALL(prefs_, GetString(cert_key_, _)) in TEST_F()
120 EXPECT_CALL(prefs_, GetString(cert_key_, _)) in TEST_F()
134 EXPECT_CALL(prefs_, GetString(_, _)).Times(0); in TEST_F()
/system/webservd/webservd/
Dconfig.cc87 if (handler_value->GetString(kInterfaceKey, &interface_name)) in LoadHandlerConfig()
141 dict_value->GetString(kLogDirectoryKey, &config->log_directory); in LoadConfigFromString()
158 if (!handler_dict->GetString(kNameKey, &name)) { in LoadConfigFromString()
/system/core/metricsd/uploader/
Dsystem_profile_cache.cc93 if (!reader.GetString(metrics::kProductId, &profile_.product_id) in Initialize()
99 if (!reader.GetString(metrics::kProductVersion, &profile_.version)) { in Initialize()
120 } else if (!weave_config.GetString(metrics::kModelManifestId, in Initialize()
/system/connectivity/shill/vpn/
Dvpn_driver_unittest.cc171 *value = provider_properties.GetString(key); in GetProviderPropertyString()
198 EXPECT_CALL(storage, GetString(kStorageID, _, _)) in TEST_F()
202 EXPECT_CALL(storage, GetString(_, kEapCaCertPemProperty, _)).Times(0); in TEST_F()
203 EXPECT_CALL(storage, GetString(_, kOTPProperty, _)).Times(0); in TEST_F()
209 EXPECT_CALL(storage, GetString(kStorageID, kPortProperty, _)) in TEST_F()
211 EXPECT_CALL(storage, GetString(kStorageID, kPINProperty, _)) in TEST_F()
405 EXPECT_EQ(kValue, GetArgs()->GetString(kPINProperty)); in TEST_F()
Dvpn_driver.cc83 storage->GetString(storage_id, property, &value); in Load()
119 string value = args_.GetString(property); in Save()
217 args_.GetString(properties_[index].property) == value) { in SetMappedStringProperty()
265 string value = args_.GetString(prop); in GetProvider()
Dvpn_provider.cc102 if (!storage->GetString(entry_name, kTypeProperty, &service_type) || in GetServiceParametersFromStorage()
108 if (!storage->GetString(entry_name, kProviderTypeProperty, vpn_type_ptr) || in GetServiceParametersFromStorage()
114 if (!storage->GetString(entry_name, kNameProperty, name_ptr) || in GetServiceParametersFromStorage()
120 if (!storage->GetString(entry_name, kProviderHostProperty, host_ptr) || in GetServiceParametersFromStorage()
/system/update_engine/common/
Dprefs.cc32 bool PrefsBase::GetString(const string& key, string* value) const { in GetString() function in chromeos_update_engine::PrefsBase
49 if (!GetString(key, &str_value)) in GetInt64()
62 if (!GetString(key, &str_value)) in GetBoolean()
Dhwid_override.cc41 if (lsb_release.GetString(kHwidOverrideKey, &result)) in Read()
/system/connectivity/shill/dhcp/
Ddhcpv4_config_unittest.cc140 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.Hostname", _)) in CreateMockMinijailConfig()
144 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.Hostname", _)) in CreateMockMinijailConfig()
148 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.VendorClass", _)) in CreateMockMinijailConfig()
152 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.VendorClass", _)) in CreateMockMinijailConfig()
175 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.Hostname", _)) in CreateRunningConfig()
179 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.Hostname", _)) in CreateRunningConfig()
183 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.VendorClass", _)) in CreateRunningConfig()
187 EXPECT_CALL(storage, GetString(kStorageID, "DHCPProperty.VendorClass", _)) in CreateRunningConfig()
/system/connectivity/shill/wimax/
Dwimax_provider.cc191 if (!storage->GetString(entry_name, Service::kStorageType, &type) || in GetServiceParametersFromStorage()
197 if (!storage->GetString(entry_name, WiMaxService::kStorageNetworkId, id_ptr) in GetServiceParametersFromStorage()
203 if (!storage->GetString(entry_name, Service::kStorageName, name_ptr) || in GetServiceParametersFromStorage()
215 CHECK_EQ(kTypeWimax, args.GetString(kTypeProperty)); in GetService()
231 CHECK_EQ(kTypeWimax, args.GetString(kTypeProperty)); in FindSimilarService()
248 CHECK_EQ(kTypeWimax, args.GetString(kTypeProperty)); in CreateTemporaryService()
/system/core/crash_reporter/
Dcrash_reporter_logs_test.cc39 EXPECT_TRUE(store.GetString(kUserCollectorSignature, &command)); in TEST()

1234