Searched refs:TYPE_A (Results 1 – 6 of 6) sorted by relevance
/packages/modules/NetworkStack/src/com/android/networkstack/util/ |
D | DnsUtils.java | 20 import static android.net.DnsResolver.TYPE_A; 78 getAllByName(dnsResolver, network, host, TYPE_A, FLAG_NO_CACHE_LOOKUP, in getAllByName() 82 errorMsg.append(String.format(" (%s)%s", dnsTypeToStr(TYPE_A), e.getMessage())); in getAllByName() 179 case TYPE_A: in dnsTypeToStr()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/util/ |
D | DnsUtilsTest.kt | 21 import android.net.DnsResolver.TYPE_A 68 verifyGetAllByName("www.google.com", arrayOf("192.168.0.1"), TYPE_A) in testGetAllByNameWithTypeSuccess() 81 verifyGetAllByNameFails("www.android.com", TYPE_A) in testGetAllByNameWithTypeNoResult()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | DnsResolver.java | 73 TYPE_A, 78 public static final int TYPE_A = 1; field in DnsResolver 387 v4fd = resNetworkQuery(queryNetwork.getNetIdForResolv(), domain, CLASS_IN, TYPE_A, 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 | 20 import static android.net.DnsResolver.TYPE_A; 407 addAllIfNotNull(answer, getAnswer(mock, hostname, TYPE_A)); in queryAllTypes() 547 mFakeDns.setAnswer(PRIVATE_DNS_PROBE_HOST_SUFFIX, new String[]{"192.0.2.2"}, TYPE_A); in setUp() 1120 (parsedPrivateAddr instanceof Inet6Address) ? TYPE_AAAA : TYPE_A); in setupPrivateIpResponse() 1906 mFakeDns.setAnswer("dns4.google", new String[]{"192.0.2.1"}, TYPE_A); 1918 mFakeDns.setAnswer("dns.google", new String[]{"192.0.2.3"}, TYPE_A); 1980 mFakeDns.setAnswer("dns.bad", new String[0], TYPE_A); 2347 mFakeDns.setAnswer("www.android.com", expected, TYPE_A); 2352 mFakeDns.setAnswer("www.googleapis.com", new String[]{"192.0.2.1"}, TYPE_A); 2357 mFakeDns.setAnswer("www.android.com", new String[0], TYPE_A); [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | DnsResolverTest.java | 22 import static android.net.DnsResolver.TYPE_A; 649 mDns.query(network, TEST_DOMAIN, TYPE_A, FLAG_NO_CACHE_LOOKUP, in doTestQueryForInetAddressIpv4() 751 mDns.query(network, TEST_DOMAIN, queryV6 ? TYPE_AAAA : TYPE_A, in doTestContinuousQueries()
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 189 field public static final int TYPE_A = 1; // 0x1
|