/system/weaved/buffet/ |
D | buffet_config_unittest.cc | 27 config_store.SetString("client_id", "conf_client_id"); in TEST() 28 config_store.SetString("client_secret", "conf_client_secret"); in TEST() 29 config_store.SetString("api_key", "conf_api_key"); in TEST() 30 config_store.SetString("oauth_url", "conf_oauth_url"); in TEST() 31 config_store.SetString("service_url", "conf_service_url"); in TEST() 32 config_store.SetString("oem_name", "conf_oem_name"); in TEST() 33 config_store.SetString("model_name", "conf_model_name"); in TEST() 34 config_store.SetString("model_id", "ABCDE"); in TEST() 35 config_store.SetString("polling_period_ms", "12345"); in TEST() 36 config_store.SetString("backup_polling_period_ms", "6589"); in TEST() [all …]
|
/system/connectivity/shill/vpn/ |
D | vpn_provider_unittest.cc | 100 args.SetString(kTypeProperty, kTypeVPN); in TEST_F() 109 args.SetString(kTypeProperty, kTypeVPN); in TEST_F() 110 args.SetString(kProviderTypeProperty, "unknown-vpn-type"); in TEST_F() 111 args.SetString(kProviderHostProperty, kHost); in TEST_F() 112 args.SetString(kNameProperty, kName); in TEST_F() 120 args.SetString(kTypeProperty, kTypeVPN); in TEST_F() 121 args.SetString(kProviderTypeProperty, kProviderOpenVpn); in TEST_F() 122 args.SetString(kProviderHostProperty, kHost); in TEST_F() 123 args.SetString(kNameProperty, kName); in TEST_F() 258 storage.SetString("no_type", "Name", "No Type Entry"); in TEST_F() [all …]
|
D | openvpn_management_server_unittest.cc | 77 driver_.args()->SetString(kOpenVPNUserProperty, "jojo"); in ExpectOTPStaticChallengeResponse() 78 driver_.args()->SetString(kOpenVPNPasswordProperty, "yoyo"); in ExpectOTPStaticChallengeResponse() 79 driver_.args()->SetString(kOpenVPNOTPProperty, "123456"); in ExpectOTPStaticChallengeResponse() 86 driver_.args()->SetString(kOpenVPNUserProperty, "jojo"); in ExpectTokenStaticChallengeResponse() 87 driver_.args()->SetString(kOpenVPNTokenProperty, "toto"); in ExpectTokenStaticChallengeResponse() 94 driver_.args()->SetString(kOpenVPNUserProperty, "jojo"); in ExpectAuthenticationResponse() 95 driver_.args()->SetString(kOpenVPNPasswordProperty, "yoyo"); in ExpectAuthenticationResponse() 102 driver_.args()->SetString(kOpenVPNPinProperty, "987654"); in ExpectPINResponse() 202 driver_.args()->SetString(kOpenVPNStaticChallengeProperty, kStaticChallenge); in TEST_F() 413 driver_.args()->SetString(kOpenVPNUserProperty, "jojo"); in TEST_F() [all …]
|
D | vpn_driver_unittest.cc | 135 driver_.args()->SetString(arg, value); in SetArg() 194 GetArgs()->SetString(kVPNHostProperty, "1.2.3.4"); in TEST_F() 195 GetArgs()->SetString(kPSKProperty, "1234"); in TEST_F() 245 SetString(kStorageID, kProviderTypeProperty, "")) in TEST_F() 247 EXPECT_CALL(storage, SetString(kStorageID, kPortProperty, kPort)) in TEST_F() 249 EXPECT_CALL(storage, SetString(kStorageID, kPINProperty, kPIN)) in TEST_F() 255 EXPECT_CALL(storage, SetString(_, kOTPProperty, _)).Times(0); in TEST_F() 256 EXPECT_CALL(storage, SetString(_, kEapCaCertPemProperty, _)).Times(0); in TEST_F() 270 EXPECT_CALL(storage, SetString(_, kPasswordProperty, _)).Times(0); in TEST_F()
|
D | vpn_driver.cc | 85 args_.SetString(property, value); in Load() 123 storage->SetString(storage_id, property, value); in Save() 220 args_.SetString(properties_[index].property, value); in SetMappedStringProperty() 266 provider_properties.SetString(chopped_prop, value); in GetProvider()
|
D | vpn_service_unittest.cc | 161 args.SetString(kNameProperty, "vpn-name"); in TEST_F() 169 args.SetString(kProviderHostProperty, "10.8.0.1"); in TEST_F() 177 args.SetString(kNameProperty, "vpn-name"); in TEST_F() 178 args.SetString(kProviderHostProperty, "10.8.0.1"); in TEST_F() 328 driver_->args()->SetString(kProviderHostProperty, kHost); in TEST_F() 351 driver_->args()->SetString(kProviderHostProperty, kHost); in TEST_F()
|
/system/connectivity/shill/ |
D | dhcp_properties_unittest.cc | 89 dhcp_properties_.properties_.SetString("Hostname", kHostname); in TEST_F() 108 dhcp_properties_.properties_.SetString("Hostname", kHostname); in TEST_F() 118 dhcp_properties_.properties_.SetString("Hostname", kHostname); in TEST_F() 139 dhcp_properties_.properties_.SetString("Hostname", kHostname); in TEST_F() 183 dhcp_properties_.properties_.SetString("Hostname", kHostname); in TEST_F() 197 dhcp_properties_.properties_.SetString("VendorClass", kVendorClass); in TEST_F() 198 dhcp_properties_.properties_.SetString("Hostname", ""); in TEST_F() 201 SetString(kStorageID, "DHCPProperty.VendorClass", kVendorClass)) in TEST_F() 204 SetString(kStorageID, "DHCPProperty.Hostname", "")) in TEST_F() 211 dhcp_properties_.properties_.SetString("VendorClass", kVendorClass); in TEST_F() [all …]
|
D | default_profile.cc | 189 storage()->SetString(kStorageId, kStorageHostName, props_.host_name); in Save() 190 storage()->SetString(kStorageId, kStorageName, GetFriendlyName()); in Save() 192 storage()->SetString(kStorageId, in Save() 197 storage()->SetString(kStorageId, in Save() 200 storage()->SetString(kStorageId, in Save() 203 storage()->SetString(kStorageId, in Save() 206 storage()->SetString(kStorageId, in Save() 209 storage()->SetString(kStorageId, in Save() 212 storage()->SetString(kStorageId, in Save()
|
D | json_store_unittest.cc | 100 EXPECT_TRUE(store_->SetString("group_a", "knob_1", our_value)); in TEST_F() 183 store_->SetString("group_a", "knob_1", "value_1"); in TEST_F() 184 store_->SetString("group_b", "knob_1", "value_2"); in TEST_F() 206 ASSERT_TRUE(store_->SetString("group_a", "random_knob", "random value")); in TEST_F() 216 ASSERT_TRUE(store_->SetString("group_a", "string_knob", "stuff goes here")); in TEST_F() 269 EXPECT_TRUE(store_->SetString("group_a", "knob_1", "value_1")); in TEST_F() 280 EXPECT_TRUE(store_->SetString("group_a", "knob_1", "stuff goes here")); in TEST_F() 465 store_->SetString("group_a", "knob_1", "good-string"); in TEST_F() 895 store_->SetString("group_a", "knob_1", "watch me disappear"); in TEST_F() 909 store_->SetString("group_a", "knob_1", "watch me disappear"); in TEST_F() [all …]
|
D | default_profile_unittest.cc | 139 EXPECT_CALL(*storage.get(), SetString(DefaultProfile::kStorageId, in TEST_F() 143 EXPECT_CALL(*storage.get(), SetString(DefaultProfile::kStorageId, in TEST_F() 151 EXPECT_CALL(*storage.get(), SetString(DefaultProfile::kStorageId, in TEST_F() 156 SetString(DefaultProfile::kStorageId, in TEST_F() 161 SetString(DefaultProfile::kStorageId, in TEST_F() 166 SetString(DefaultProfile::kStorageId, in TEST_F() 171 SetString(DefaultProfile::kStorageId, in TEST_F() 175 EXPECT_CALL(*storage.get(), SetString(DefaultProfile::kStorageId, in TEST_F() 180 SetString(DefaultProfile::kStorageId, in TEST_F()
|
D | static_ip_parameters_unittest.cc | 158 args.SetString(kAddressProperty, VersionedAddress(kAddress, version)); in SetStaticDictPropertiesWithVersion() 159 args.SetString(kGatewayProperty, VersionedAddress(kGateway, version)); in SetStaticDictPropertiesWithVersion() 165 args.SetString(kPeerAddressProperty, in SetStaticDictPropertiesWithVersion() 260 EXPECT_CALL(store, SetString(kID, "StaticIP.Address", kAddress)) in TEST_F() 262 EXPECT_CALL(store, SetString(kID, "StaticIP.Gateway", kGateway)) in TEST_F() 266 EXPECT_CALL(store, SetString(kID, "StaticIP.NameServers", kNameServers)) in TEST_F() 268 EXPECT_CALL(store, SetString(kID, "StaticIP.PeerAddress", kPeerAddress)) in TEST_F()
|
D | dhcp_properties.cc | 87 properties_.SetString(name, property_value); in Load() 101 storage->SetString(id, GetFullPropertyName(name), property_value); in Save() 160 properties_.SetString(kPropertyNames[index], value); in SetMappedStringProperty()
|
D | key_file_store_unittest.cc | 244 args.SetString(kAttributeA, kValueA_0); in TEST_F() 253 args.SetString(kAttributeA, kValueA_0); in TEST_F() 269 args.SetString(kAttributeA, kValueA_0); in TEST_F() 278 args.SetString(kAttributeA, kValueA_1); in TEST_F() 342 TEST_F(KeyFileStoreTest, SetString) { in TEST_F() argument 349 ASSERT_TRUE(store_->SetString(kGroup, kKey1, kValue1)); in TEST_F() 350 ASSERT_TRUE(store_->SetString(kGroup, kKey2, kValue2)); in TEST_F() 656 ASSERT_TRUE(store_->SetString(kGroup, kKey1, kValue1)); in TEST_F() 659 ASSERT_TRUE(store_->SetString(kGroup, kKey2, kValue2)); in TEST_F() 695 ASSERT_TRUE(store_->SetString(kGroup, kKey1, kValue1)); in TEST_F() [all …]
|
/system/connectivity/shill/cellular/ |
D | cellular_bearer_unittest.cc | 74 ipconfig_properties.SetString("address", kIPv4Address); in ConstructIPv4ConfigProperties() 75 ipconfig_properties.SetString("gateway", kIPv4Gateway); in ConstructIPv4ConfigProperties() 77 ipconfig_properties.SetString("dns1", kIPv4DNS[0]); in ConstructIPv4ConfigProperties() 78 ipconfig_properties.SetString("dns2", kIPv4DNS[1]); in ConstructIPv4ConfigProperties() 79 ipconfig_properties.SetString("dns3", kIPv4DNS[2]); in ConstructIPv4ConfigProperties() 89 ipconfig_properties.SetString("address", kIPv6Address); in ConstructIPv6ConfigProperties() 90 ipconfig_properties.SetString("gateway", kIPv6Gateway); in ConstructIPv6ConfigProperties() 92 ipconfig_properties.SetString("dns1", kIPv6DNS[0]); in ConstructIPv6ConfigProperties() 93 ipconfig_properties.SetString("dns2", kIPv6DNS[1]); in ConstructIPv6ConfigProperties() 94 ipconfig_properties.SetString("dns3", kIPv6DNS[2]); in ConstructIPv6ConfigProperties() [all …]
|
/system/connectivity/shill/dhcp/ |
D | dhcpv6_config_unittest.cc | 180 conf.SetString(DHCPv6Config::kConfigurationKeyIPAddress, kConfigIPAddress); in TEST_F() 183 conf.SetString(DHCPv6Config::kConfigurationKeyDelegatedPrefix, in TEST_F() 199 conf.SetString("UnknownKey", "UnknownValue"); in TEST_F() 269 conf.SetString(DHCPv6Config::kConfigurationKeyIPAddress, kIPAddress); in TEST_F() 270 conf.SetString(DHCPv6Config::kConfigurationKeyDelegatedPrefix, in TEST_F() 286 conf.SetString(DHCPv6Config::kConfigurationKeyIPAddress, kIPAddress); in TEST_F() 287 conf.SetString(DHCPv6Config::kConfigurationKeyDelegatedPrefix, in TEST_F() 308 conf.SetString(DHCPv6Config::kConfigurationKeyIPAddress, kIPAddress); in TEST_F() 309 conf.SetString(DHCPv6Config::kConfigurationKeyDelegatedPrefix, in TEST_F() 322 conf.SetString(DHCPv6Config::kConfigurationKeyIPAddress, kIPAddress); in TEST_F() [all …]
|
/system/update_engine/common/ |
D | prefs_unittest.cc | 97 TEST_F(PrefsTest, SetString) { in TEST_F() argument 99 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F() 107 EXPECT_FALSE(prefs_.SetString(kKeyWithDots, "some value")); in TEST_F() 115 EXPECT_TRUE(prefs_.SetString(kKey, kValue)); in TEST_F() 123 EXPECT_FALSE(prefs_.SetString(kKey, "test value")); in TEST_F() 128 EXPECT_FALSE(prefs_.SetString(kKey, "test value")); in TEST_F() 291 prefs_.SetString(kKey, "value"); in TEST_F() 309 prefs_.SetString(kKey, "value"); in TEST_F() 321 EXPECT_TRUE(prefs_.SetString(kKey, "value")); in TEST_F() 323 EXPECT_TRUE(prefs_.SetString(kKey, "other value")); in TEST_F() [all …]
|
D | certificate_checker_unittest.cc | 86 EXPECT_CALL(prefs_, SetString(cert_key_, digest_hex_)).WillOnce(Return(true)); in TEST_F() 104 EXPECT_CALL(prefs_, SetString(_, _)).Times(0); in TEST_F() 125 EXPECT_CALL(prefs_, SetString(cert_key_, digest_hex_)).WillOnce(Return(true)); in TEST_F()
|
D | prefs.cc | 47 bool Prefs::SetString(const string& key, const string& value) { in SetString() function in chromeos_update_engine::Prefs 76 return SetString(key, base::Int64ToString(value)); in SetInt64() 96 return SetString(key, value ? "true" : "false"); in SetBoolean()
|
D | certificate_checker.cc | 170 if (!prefs_->SetString(storage_key, digest_string)) { in CheckCertificateChange() 181 if (!prefs_->SetString(storage_key, digest_string)) { in CheckCertificateChange()
|
/system/connectivity/shill/wimax/ |
D | wimax_provider_unittest.cc | 433 store.SetString("no_type", "Name", "No Type Entry"); in TEST_F() 434 store.SetString("no_wimax", "Type", "vpn"); in TEST_F() 435 store.SetString("wimax_network_01234567", "Name", "network"); in TEST_F() 436 store.SetString("wimax_network_01234567", "Type", "wimax"); in TEST_F() 437 store.SetString("wimax_network_01234567", "NetworkId", "01234567"); in TEST_F() 438 store.SetString("no_network_id", "Type", "wimax"); in TEST_F() 439 store.SetString("no_name", "Type", "wimax"); in TEST_F() 440 store.SetString("no_name", "NetworkId", "76543210"); in TEST_F() 461 store.SetString("no_type", "Name", "No Type Entry"); in TEST_F() 462 store.SetString("no_wimax", "Type", "vpn"); in TEST_F() [all …]
|
/system/update_engine/ |
D | weave_service.cc | 102 state.SetString("_updater.currentChannel", current_channel); in UpdateWeaveState() 103 state.SetString("_updater.trackingChannel", tracking_channel); in UpdateWeaveState() 104 state.SetString("_updater.status", UpdateStatusToWeaveStatus(update_status)); in UpdateWeaveState()
|
/system/connectivity/shill/wifi/ |
D | wifi_service.cc | 412 storage->SetString(id, kStorageMode, mode_); in Save() 414 storage->SetString(id, kStorageSecurity, security_); in Save() 415 storage->SetString(id, kStorageSecurityClass, in Save() 417 storage->SetString(id, kStorageSSID, hex_ssid_); in Save() 670 params.SetString(WPASupplicant::kPropertySecurityProtocol, psk_proto); in GetSupplicantConfigurationParameters() 671 params.SetString(WPASupplicant::kPropertyPreSharedKey, passphrase_); in GetSupplicantConfigurationParameters() 673 params.SetString(WPASupplicant::kPropertyAuthAlg, in GetSupplicantConfigurationParameters() 689 params.SetString(WPASupplicant::kNetworkPropertyEapKeyManagement, in GetSupplicantConfigurationParameters() 1104 storage->SetString(id, kStorageType, kTypeWifi); in FixupServiceEntries() 1108 storage->SetString(id, kStorageMode, network_mode); in FixupServiceEntries() [all …]
|
D | wifi_provider_unittest.cc | 272 args->SetString(kTypeProperty, kTypeWifi); in SetServiceParameters() 276 args->SetString(kSSIDProperty, ssid); in SetServiceParameters() 279 args->SetString(kModeProperty, mode); in SetServiceParameters() 282 args->SetString(kSecurityClassProperty, security_class); in SetServiceParameters() 1031 args.SetString(kTypeProperty, kTypeWifi); in TEST_F() 1032 args.SetString(kWifiHexSsid, kHexSsid); in TEST_F() 1033 args.SetString(kSecurityProperty, kSecurityPsk); in TEST_F() 1057 args.SetString(kTypeProperty, kTypeWifi); in TEST_F() 1058 args.SetString(kSSIDProperty, kSSID); in TEST_F() 1059 args.SetString(kSecurityProperty, kSecurityRsn); in TEST_F() [all …]
|
/system/connectivity/shill/supplicant/ |
D | wpa_supplicant_unittest.cc | 68 property_map_.SetString(WPASupplicant::kInterfacePropertySubject, in TEST_F() 83 property_map_.SetString(WPASupplicant::kInterfacePropertySubject, in TEST_F()
|
/system/update_engine/update_manager/ |
D | evaluation_context.cc | 232 variables->SetString(it.first->GetName(), it.second.ToString()); in DumpContext() 237 value.SetString( in DumpContext() 240 value.SetString( in DumpContext()
|