/system/connectivity/shill/ |
resolver_unittest.cc | 86 vector<string> dns_servers; local 88 dns_servers.push_back(kNameServer0); 89 dns_servers.push_back(kNameServer1); 93 EXPECT_TRUE(resolver_->SetDNSFromLists(dns_servers, domain_search)); 104 vector<string> dns_servers; local 107 EXPECT_TRUE(resolver_->SetDNSFromLists(dns_servers, domain_search)); 116 vector<string> dns_servers; local 118 dns_servers.push_back(kNameServer0); 119 dns_servers.push_back(kNameServer1); 126 EXPECT_TRUE(resolver_->SetDNSFromLists(dns_servers, domain_search)) [all...] |
dns_server_proxy_factory.cc | 38 const std::vector<std::string>& dns_servers) { 39 return new DNSServerProxy(dns_servers);
|
dns_client_factory.cc | 41 const vector<string>& dns_servers, 47 dns_servers,
|
dns_client_unittest.cc | 124 void CreateClient(const vector<string>& dns_servers, int timeout_ms) { 127 dns_servers, 152 vector<string> dns_servers; local 153 dns_servers.push_back(server); 154 CreateClient(dns_servers, kAresTimeoutMS); 252 vector<string> dns_servers; local 253 dns_servers.push_back(kGoodServer); 254 CreateClient(dns_servers, kAresTimeoutMS); 268 vector<string> dns_servers; local 269 dns_servers.push_back(kBadServer) 282 vector<string> dns_servers; local [all...] |
ipconfig_unittest.cc | 108 EXPECT_EQ(properties.dns_servers.size(), 109 ipconfig_->properties().dns_servers.size()); 110 if (properties.dns_servers.size() == 111 ipconfig_->properties().dns_servers.size()) { 112 for (size_t i = 0; i < properties.dns_servers.size(); ++i) { 113 EXPECT_EQ(properties.dns_servers[i], 114 ipconfig_->properties().dns_servers[i]); 158 properties.dns_servers.push_back("10.20.30.40"); 159 properties.dns_servers.push_back("20.30.40.50");
|
ppp_device_unittest.cc | 67 ASSERT_EQ(2, props.dns_servers.size()); 68 EXPECT_EQ("1.1.1.1", props.dns_servers[0]); 69 EXPECT_EQ("2.2.2.2", props.dns_servers[1]);
|
mock_dns_server_proxy_factory.h | 35 DNSServerProxy* (const std::vector<std::string>& dns_servers));
|
resolver.cc | 55 bool Resolver::SetDNSFromLists(const std::vector<std::string>& dns_servers, 59 if (dns_servers.empty() && domain_search.empty()) { 66 for (iter = dns_servers.begin(); 67 iter != dns_servers.end(); ++iter) {
|
mock_connection.h | 43 MOCK_CONST_METHOD0(dns_servers, const std::vector<std::string>&()); 54 void(const std::vector<std::string>& dns_servers));
|
ipconfig.cc | 91 store_.RegisterConstStrings(kNameServersProperty, &properties_.dns_servers); 192 void IPConfig::UpdateDNSServers(const std::vector<std::string>& dns_servers) { 193 properties_.dns_servers = dns_servers; 238 adaptor_->EmitStringsChanged(kNameServersProperty, properties_.dns_servers);
|
ppp_device.cc | 100 properties.dns_servers.insert(properties.dns_servers.begin(), value); 102 properties.dns_servers.push_back(value);
|
dns_server_tester.cc | 48 const vector<string>& dns_servers, 61 dns_servers,
|
resolver.h | 51 // DNS servers in |dns_servers|, and a list of DNS search suffixes in 53 virtual bool SetDNSFromLists(const std::vector<std::string>& dns_servers,
|
dns_client_factory.h | 41 const std::vector<std::string>& dns_servers,
|
dns_server_proxy.h | 34 DNSServerProxy(const std::vector<std::string>& dns_servers);
|
dns_server_proxy_factory.h | 37 const std::vector<std::string>& dns_servers);
|
mock_dns_client_factory.h | 42 const std::vector<std::string>& dns_servers,
|
mock_ipconfig.h | 43 void(const std::vector<std::string>& dns_servers));
|
/external/autotest/client/site_tests/network_DhcpNegotiationSuccess/ |
network_DhcpNegotiationSuccess.py | 21 dns_servers = ["8.8.8.8", "8.8.4.4", "192.168.87.88"] 35 dhcp_packet.OPTION_DNS_SERVERS : dns_servers,
|
/external/autotest/client/site_tests/network_DhcpNonAsciiParameter/ |
network_DhcpNonAsciiParameter.py | 21 dns_servers = ["8.8.8.8", "8.8.4.4", "192.168.87.88"] 37 dhcp_packet.OPTION_DNS_SERVERS : dns_servers,
|
/system/connectivity/shill/vpn/ |
third_party_vpn_driver_unittest.cc | 200 "dns_servers is missing;" 209 "dns_servers is missing;" 217 "subnet_prefix is missing;dns_servers is missing;" 225 "subnet_prefix not in expected range;dns_servers is missing;" 232 EXPECT_EQ(error, "dns_servers is missing;" 237 parameters["dns_servers"] = "12 123123 43902374"; 239 EXPECT_EQ(error, "dns_servers has no valid values or is empty;" 241 EXPECT_EQ(warning, "12 for dns_servers is invalid;" 242 "123123 for dns_servers is invalid;" 243 "43902374 for dns_servers is invalid;") [all...] |
/external/autotest/client/site_tests/network_DhcpClasslessStaticRoute/ |
network_DhcpClasslessStaticRoute.py | 27 dns_servers = ["8.8.8.8", "8.8.4.4", "192.168.87.88"] 42 dhcp_packet.OPTION_DNS_SERVERS : dns_servers,
|
/system/connectivity/shill/cellular/ |
cellular_bearer_unittest.cc | 125 ASSERT_EQ(3, ipv4_config_properties->dns_servers.size()); 126 EXPECT_EQ(kIPv4DNS[0], ipv4_config_properties->dns_servers[0]); 127 EXPECT_EQ(kIPv4DNS[1], ipv4_config_properties->dns_servers[1]); 128 EXPECT_EQ(kIPv4DNS[2], ipv4_config_properties->dns_servers[2]); 140 ASSERT_EQ(3, ipv6_config_properties->dns_servers.size()); 141 EXPECT_EQ(kIPv6DNS[0], ipv6_config_properties->dns_servers[0]); 142 EXPECT_EQ(kIPv6DNS[1], ipv6_config_properties->dns_servers[1]); 143 EXPECT_EQ(kIPv6DNS[2], ipv6_config_properties->dns_servers[2]);
|
/external/autotest/client/site_tests/network_DhcpRenewWithOptionSubset/ |
network_DhcpRenewWithOptionSubset.py | 24 dns_servers = ["8.8.8.8", "8.8.4.4", "192.168.87.88"] 38 dhcp_packet.OPTION_DNS_SERVERS : dns_servers,
|
/external/autotest/client/site_tests/network_DhcpWpadNegotiation/ |
network_DhcpWpadNegotiation.py | 55 dns_servers = ["8.8.8.8", "8.8.4.4", "192.168.87.88"] 64 dhcp_packet.OPTION_DNS_SERVERS : dns_servers,
|