Home
last modified time | relevance | path

Searched refs:dnsServer (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpOfferPacket.java45 for (Inet4Address dnsServer: mDnsServers) { in toString()
46 dnsServers += dnsServer + " "; in toString()
DDhcpAckPacket.java45 for (Inet4Address dnsServer: mDnsServers) { in toString()
46 dnsServers += dnsServer.toString() + " "; in toString()
DDhcpClient.java821 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/
DIpClientIntegrationTest.java1256 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/
Dresolv_integration_test.cpp5212 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 …]