Searched refs:TYPE_AAAA (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | DnsResolverTest.java | 23 import static android.net.DnsResolver.TYPE_AAAA; 332 mDns.rawQuery(network, TEST_DOMAIN, CLASS_IN, TYPE_AAAA, FLAG_NO_CACHE_LOOKUP, in doTestRawQuery() 372 mDns.rawQuery(network, dname, CLASS_IN, TYPE_AAAA, FLAG_NO_CACHE_LOOKUP, in doTestRawQueryRoot() 395 mDns.rawQuery(network, TEST_NX_DOMAIN, CLASS_IN, TYPE_AAAA, FLAG_NO_CACHE_LOOKUP, in doTestRawQueryNXDomain() 417 mDns.rawQuery(network, TEST_NX_DOMAIN, CLASS_IN, TYPE_AAAA, FLAG_NO_CACHE_LOOKUP, in doTestRawQueryNXDomainWithPrivateDns() 441 mDns.rawQuery(network, TEST_DOMAIN, CLASS_IN, TYPE_AAAA, FLAG_EMPTY, in testRawQueryCancel() 489 mDns.rawQuery(network, TEST_DOMAIN, CLASS_IN, TYPE_AAAA, FLAG_EMPTY, in testCancelBeforeQuery() 665 mDns.query(network, TEST_DOMAIN, TYPE_AAAA, FLAG_NO_CACHE_LOOKUP, in doTestQueryForInetAddressIpv6() 751 mDns.query(network, TEST_DOMAIN, queryV6 ? TYPE_AAAA : TYPE_A, in doTestContinuousQueries()
|
/packages/modules/NetworkStack/src/com/android/networkstack/util/ |
D | DnsUtils.java | 21 import static android.net.DnsResolver.TYPE_AAAA; 70 getAllByName(dnsResolver, network, host, TYPE_AAAA, FLAG_NO_CACHE_LOOKUP, in getAllByName() 74 errorMsg.append(String.format(" (%s)%s", dnsTypeToStr(TYPE_AAAA), e.getMessage())); in getAllByName() 181 case TYPE_AAAA: in dnsTypeToStr()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/util/ |
D | DnsUtilsTest.kt | 22 import android.net.DnsResolver.TYPE_AAAA 67 verifyGetAllByName("www.google.com", arrayOf("2001:db8::1"), TYPE_AAAA) in testGetAllByNameWithTypeSuccess() 82 verifyGetAllByNameFails("www.android.com", TYPE_AAAA) in testGetAllByNameWithTypeNoResult()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | DnsResolver.java | 74 TYPE_AAAA 79 public static final int TYPE_AAAA = 28; field in DnsResolver 370 TYPE_AAAA, flags); in query() 562 if (nsType != mQueryType || (nsType != TYPE_A && nsType != TYPE_AAAA)) { in getAddresses()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 21 import static android.net.DnsResolver.TYPE_AAAA; 408 addAllIfNotNull(answer, getAnswer(mock, hostname, TYPE_AAAA)); in queryAllTypes() 548 mFakeDns.setAnswer(PRIVATE_DNS_PROBE_HOST_SUFFIX, new String[]{"2001:db8::1"}, TYPE_AAAA); in setUp() 1117 mFakeDns.setAnswer(httpHost, new String[] { "2001:db8::123" }, TYPE_AAAA); in setupPrivateIpResponse() 1120 (parsedPrivateAddr instanceof Inet6Address) ? TYPE_AAAA : TYPE_A); in setupPrivateIpResponse() 1895 mFakeDns.setAnswer("dns6.google", new String[]{"2001:db8::53"}, TYPE_AAAA); 1917 mFakeDns.setAnswer("dns.google", new String[]{"2001:db8::54"}, TYPE_AAAA); 1941 mFakeDns.setAnswer("dns.google", new String[]{"2001:db8::1"}, TYPE_AAAA); 1969 mFakeDns.setAnswer("dns.google", new String[]{"2001:db8::1"}, TYPE_AAAA); 1981 mFakeDns.setAnswer("dns.bad", new String[0], TYPE_AAAA); [all …]
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 190 field public static final int TYPE_AAAA = 28; // 0x1c
|