Searched refs:DnsUtils (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/android/net/util/ |
D | DnsUtilsTest.java | 19 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; 51 private DnsUtils.SortableAddress makeSortableAddress(@NonNull String addr) { in makeSortableAddress() 55 private DnsUtils.SortableAddress makeSortableAddress(@NonNull String addr, in makeSortableAddress() 57 return new DnsUtils.SortableAddress(stringToAddress(addr), in makeSortableAddress() 63 final List<DnsUtils.SortableAddress> test = Arrays.asList( in testRfc6724Comparator() 97 Collections.sort(test, new DnsUtils.Rfc6724Comparator()); in testRfc6724Comparator() 109 DnsUtils.SortableAddress test = makeSortableAddress("216.58.200.36"); in testV4SortableAddress() 134 DnsUtils.SortableAddress test = makeSortableAddress("2404:6800:4008:801::2004"); in testV6SortableAddress()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/util/ |
D | DnsUtilsTest.kt | 27 import com.android.networkstack.util.DnsUtils 28 import com.android.networkstack.util.DnsUtils.TYPE_ADDRCONFIG 75 DnsUtils.getAllByName(mockResolver, fakeNetwork, name, type, FLAG_EMPTY, DEFAULT_TIMEOUT_MS, in verifyGetAllByName() 88 DnsUtils.getAllByName(mockResolver, fakeNetwork, name, type, in verifyGetAllByNameFails()
|
/packages/modules/NetworkStack/src/com/android/networkstack/util/ |
D | DnsUtils.java | 48 public class DnsUtils { class 54 private static final String TAG = DnsUtils.class.getSimpleName();
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | DnsResolver.java | 24 import static android.net.util.DnsUtils.haveIpv4; 25 import static android.net.util.DnsUtils.haveIpv6; 26 import static android.net.util.DnsUtils.rfc6724Sort;
|
/packages/modules/Connectivity/framework/src/android/net/util/ |
D | DnsUtils.java | 49 public class DnsUtils { class
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 85 import static com.android.networkstack.util.DnsUtils.PRIVATE_DNS_PROBE_HOST_SUFFIX; 86 import static com.android.networkstack.util.DnsUtils.TYPE_ADDRCONFIG; 173 import com.android.networkstack.util.DnsUtils; 1482 final InetAddress[] ips = DnsUtils.getAllByName(mDependencies.getDnsResolver(), in resolveStrictModeHostname() 2409 return DnsUtils.getAllByName(mDependencies.getDnsResolver(), mCleartextDnsNetwork, host, in sendDnsProbeWithTimeout()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 56 import static com.android.networkstack.util.DnsUtils.PRIVATE_DNS_PROBE_HOST_SUFFIX;
|