Home
last modified time | relevance | path

Searched refs:DnsUtils (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/net/java/android/net/util/
DDnsUtilsTest.java19 import static android.net.util.DnsUtils.IPV6_ADDR_SCOPE_GLOBAL;
20 import static android.net.util.DnsUtils.IPV6_ADDR_SCOPE_LINKLOCAL;
21 import static android.net.util.DnsUtils.IPV6_ADDR_SCOPE_SITELOCAL;
47 private DnsUtils.SortableAddress makeSortableAddress(@NonNull String addr) { in makeSortableAddress()
51 private DnsUtils.SortableAddress makeSortableAddress(@NonNull String addr, in makeSortableAddress()
53 return new DnsUtils.SortableAddress(stringToAddress(addr), in makeSortableAddress()
59 final List<DnsUtils.SortableAddress> test = Arrays.asList( in testRfc6724Comparator()
93 Collections.sort(test, new DnsUtils.Rfc6724Comparator()); in testRfc6724Comparator()
105 DnsUtils.SortableAddress test = makeSortableAddress("216.58.200.36"); in testV4SortableAddress()
130 DnsUtils.SortableAddress test = makeSortableAddress("2404:6800:4008:801::2004"); in testV6SortableAddress()
/frameworks/base/core/java/android/net/
DDnsResolver.java24 import static android.net.util.DnsUtils.haveIpv4;
25 import static android.net.util.DnsUtils.haveIpv6;
26 import static android.net.util.DnsUtils.rfc6724Sort;
/frameworks/base/core/java/android/net/util/
DDnsUtils.java51 public class DnsUtils { class