Home
last modified time | relevance | path

Searched refs:DnsResolver (Results 1 – 9 of 9) sorted by relevance

/packages/modules/DnsResolver/
DDnsResolver.h29 class DnsResolver {
31 static DnsResolver* getInstance();
35 DnsResolver(DnsResolver const&) = delete;
36 void operator=(DnsResolver const&) = delete;
43 DnsResolver() {} in DnsResolver() function
48 extern DnsResolver* gDnsResolv;
DDnsResolver.cpp48 android::net::gDnsResolv = android::net::DnsResolver::getInstance(); in resolv_init()
70 DnsResolver* gDnsResolv = nullptr;
75 DnsResolver* DnsResolver::getInstance() { in getInstance()
77 static DnsResolver instance; in getInstance()
81 bool DnsResolver::start() { in start()
98 int DnsResolver::setLogSeverity(int32_t logSeverity) { in setLogSeverity()
DAndroid.bp112 "DnsResolver.cpp",
/packages/modules/NetworkStack/src/com/android/networkstack/util/
DDnsUtils.java19 import static android.net.DnsResolver.FLAG_NO_CACHE_LOOKUP;
20 import static android.net.DnsResolver.TYPE_A;
21 import static android.net.DnsResolver.TYPE_AAAA;
23 import android.net.DnsResolver;
62 public static InetAddress[] getAllByName(@NonNull final DnsResolver dnsResolver, in getAllByName()
98 public static InetAddress[] getAllByName(@NonNull final DnsResolver dnsResolver, in getAllByName()
105 final DnsResolver.Callback<List<InetAddress>> callback = in getAllByName()
106 new DnsResolver.Callback<List<InetAddress>>() { in getAllByName()
117 public void onError(@NonNull DnsResolver.DnsException e) { in getAllByName()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/util/
DDnsUtilsTest.kt19 import android.net.DnsResolver
20 import android.net.DnsResolver.FLAG_EMPTY
21 import android.net.DnsResolver.TYPE_A
22 import android.net.DnsResolver.TYPE_AAAA
50 lateinit var mockResolver: DnsResolver
/packages/modules/DnsResolver/tests/
DAndroid.bp181 // This test talks to the DnsResolver module over a binary protocol on a socket, so keep it as
Dgolddata.proto200 // packages/modules/DnsResolver/tests/dns_responder/dns_responder.cpp.
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java20 import static android.net.DnsResolver.TYPE_A;
21 import static android.net.DnsResolver.TYPE_AAAA;
104 import android.net.DnsResolver;
212 private @Mock DnsResolver mDnsResolver;
422 DnsResolver.Callback<List<InetAddress>> callback = invocation.getArgument(posCallback); in mockQuery()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java26 import static android.net.DnsResolver.FLAG_EMPTY;
101 import android.net.DnsResolver;
3122 public DnsResolver getDnsResolver() { in getDnsResolver()
3123 return DnsResolver.getInstance(); in getDnsResolver()