Searched refs:dnsServer (Results 1 – 5 of 5) sorted by relevance
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpOfferPacket.java | 45 for (Inet4Address dnsServer: mDnsServers) { in toString() 46 dnsServers += dnsServer + " "; in toString()
|
D | DhcpAckPacket.java | 45 for (Inet4Address dnsServer: mDnsServers) { in toString() 46 dnsServers += dnsServer.toString() + " "; in toString()
|
D | DhcpClient.java | 821 for (final String dnsServer : dnsServersList) { in acceptDhcpResults() 823 mDhcpLease.dnsServers.add(InetAddresses.parseNumericAddress(dnsServer)); in acceptDhcpResults() 825 Log.e(TAG, "Invalid default DNS server: " + dnsServer, e); in acceptDhcpResults()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTest.java | 1256 final String dnsServer = "2001:4860:4860::64"; 1258 ByteBuffer rdnss = buildRdnssOption(3600, dnsServer); 1465 final String dnsServer = "2001:4860:4860::64"; 1470 ByteBuffer rdnss2 = buildRdnssOption(600, dnsServer); 1478 assertTrue(lp.getDnsServers().contains(InetAddress.getByName(dnsServer))); 1488 assertTrue(lp.getDnsServers().contains(InetAddress.getByName(dnsServer))); 1492 rdnss1 = buildRdnssOption(0, dnsServer); 1527 final String dnsServer = "2001:4860:4860::64"; 1532 ByteBuffer rdnss = buildRdnssOption(600, dnsServer); 2210 final String dnsServer = "2001:4860:4860::64"; [all …]
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 5212 test::DNSResponder& dnsServer; member 5364 .dnsServer = *dnsPtr, in addDns() 5388 StartDns(dnsPair->dnsServer, {{host_name, ns_type::ns_t_a, "1.1.1.31"}, in TEST_F() 5421 EXPECT_EQ(GetNumQueries(dnsPair->dnsServer, host_name), expectedQueries); in TEST_F() 5437 dnsPair->dnsServer.setResponseProbability(0.0); in TEST_F() 5438 dnsPair->dnsServer.setErrorRcode(static_cast<ns_rcode>(-1)); in TEST_F() 5439 StartDns(dnsPair->dnsServer, {}); in TEST_F() 5460 const auto condition = [&]() { return GetNumQueries(dnsPair->dnsServer, host_name) == 1U; }; in TEST_F() 5480 StartDns(dnsPair1->dnsServer, {{host_name, ns_type::ns_t_a, "1.1.1.31"}}); in TEST_F() 5481 StartDns(dnsPair2->dnsServer, {{host_name, ns_type::ns_t_a, "1.1.1.32"}}); in TEST_F() [all …]
|