Home
last modified time | relevance | path

Searched refs:dns_servers (Results 1 – 18 of 18) sorted by relevance

/external/cronet/net/android/
Dnetwork_library.cc156 std::vector<IPEndPoint>* dns_servers, in GetDnsServersInternal() argument
167 dns_servers->push_back(dns_server); in GetDnsServersInternal()
180 return !dns_servers->empty(); in GetDnsServersInternal()
185 bool GetCurrentDnsServers(std::vector<IPEndPoint>* dns_servers, in GetCurrentDnsServers() argument
198 return GetDnsServersInternal(env, result, dns_servers, dns_over_tls_active, in GetCurrentDnsServers()
202 bool GetDnsServersForNetwork(std::vector<IPEndPoint>* dns_servers, in GetDnsServersForNetwork() argument
215 return GetDnsServersInternal(env, result, dns_servers, dns_over_tls_active, in GetDnsServersForNetwork()
Dnetwork_library_unittest.cc40 std::vector<IPEndPoint> dns_servers; in TEST() local
45 if (!GetCurrentDnsServers(&dns_servers, &dns_over_tls_active, in TEST()
72 std::vector<IPEndPoint> dns_servers; in TEST() local
77 if (!GetDnsServersForNetwork(&dns_servers, &dns_over_tls_active, in TEST()
Dnetwork_library.h103 std::vector<IPEndPoint>* dns_servers,
108 base::RepeatingCallback<bool(std::vector<IPEndPoint>* dns_servers,
118 std::vector<IPEndPoint>* dns_servers,
/external/cronet/net/dns/
Ddns_util.cc48 const std::vector<IPEndPoint>& dns_servers) { in GetDohProviderEntriesFromNameservers() argument
52 for (const auto& server : dns_servers) { in GetDohProviderEntriesFromNameservers()
178 const std::vector<IPEndPoint>& dns_servers) { in GetDohUpgradeServersFromNameservers() argument
179 const auto entries = GetDohProviderEntriesFromNameservers(dns_servers); in GetDohUpgradeServersFromNameservers()
Ddns_config_service_android_unittest.cc50 void set_dns_servers(std::vector<IPEndPoint> dns_servers) { in set_dns_servers() argument
51 dns_servers_ = std::move(dns_servers); in set_dns_servers()
74 bool GetDnsServers(std::vector<IPEndPoint>* dns_servers, in GetDnsServers() argument
79 *dns_servers = dns_servers_; in GetDnsServers()
Ddns_util.h57 GetDohUpgradeServersFromNameservers(const std::vector<IPEndPoint>& dns_servers);
Dhost_resolver.cc428 std::vector<IPEndPoint> dns_servers; in CreateStandaloneNetworkBoundResolver() local
432 if (android::GetDnsServersForNetwork(&dns_servers, &dns_over_tls_active, in CreateStandaloneNetworkBoundResolver()
437 dns_config_overrides.nameservers = dns_servers; in CreateStandaloneNetworkBoundResolver()
/external/autotest/client/site_tests/network_DhcpNegotiationSuccess/
Dnetwork_DhcpNegotiationSuccess.py21 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/
Dnetwork_DhcpNonAsciiParameter.py21 dns_servers = ["8.8.8.8", "8.8.4.4", "192.168.87.88"]
37 dhcp_packet.OPTION_DNS_SERVERS : dns_servers,
/external/autotest/client/site_tests/network_DhcpClasslessStaticRoute/
Dnetwork_DhcpClasslessStaticRoute.py27 dns_servers = ["8.8.8.8", "8.8.4.4", "192.168.87.88"]
42 dhcp_packet.OPTION_DNS_SERVERS : dns_servers,
/external/autotest/client/site_tests/network_DhcpWpadNegotiation/
Dnetwork_DhcpWpadNegotiation.py55 dns_servers = ["8.8.8.8", "8.8.4.4", "192.168.87.88"]
64 dhcp_packet.OPTION_DNS_SERVERS : dns_servers,
/external/autotest/client/site_tests/network_DhcpRenew/
Dnetwork_DhcpRenew.py37 dns_servers = ["8.8.8.8", "8.8.4.4", "192.168.87.88"]
51 dhcp_packet.OPTION_DNS_SERVERS : dns_servers,
/external/autotest/client/site_tests/network_DhcpStaticIP/
Dnetwork_DhcpStaticIP.py189 dns_servers = ['8.8.8.8', '8.8.4.4', '192.168.87.88']
203 dhcp_packet.OPTION_DNS_SERVERS : dns_servers,
/external/curl/src/
Dtool_cfgable.h88 char *dns_servers; /* dot notation: 1.1.1.1;2.2.2.2 */ member
Dtool_cfgable.c83 Curl_safefree(config->dns_servers); in free_config_fields()
Dtool_operate.c1872 if(config->dns_servers) in single_transfer()
1873 my_setopt_str(curl, CURLOPT_DNS_SERVERS, config->dns_servers); in single_transfer()
Dtool_getparam.c859 GetStr(&config->dns_servers, nextarg); in getparameter()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_init.c1548 char **dns_servers; in init_by_resolv_conf() local
1558 dns_servers = ares_get_android_server_list(MAX_DNS_PROPERTIES, &num_servers); in init_by_resolv_conf()
1559 if (dns_servers != NULL) in init_by_resolv_conf()
1563 status = config_nameserver(&servers, &nservers, dns_servers[i]); in init_by_resolv_conf()
1570 ares_free(dns_servers[i]); in init_by_resolv_conf()
1572 ares_free(dns_servers); in init_by_resolv_conf()