Searched refs:DnsResolver (Results 1 – 9 of 9) sorted by relevance
29 class DnsResolver {31 static DnsResolver* getInstance();35 DnsResolver(DnsResolver const&) = delete;36 void operator=(DnsResolver const&) = delete;43 DnsResolver() {} in DnsResolver() function48 extern DnsResolver* gDnsResolv;
48 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()
112 "DnsResolver.cpp",
19 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()
19 import android.net.DnsResolver20 import android.net.DnsResolver.FLAG_EMPTY21 import android.net.DnsResolver.TYPE_A22 import android.net.DnsResolver.TYPE_AAAA50 lateinit var mockResolver: DnsResolver
181 // This test talks to the DnsResolver module over a binary protocol on a socket, so keep it as
200 // packages/modules/DnsResolver/tests/dns_responder/dns_responder.cpp.
20 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()
26 import static android.net.DnsResolver.FLAG_EMPTY;101 import android.net.DnsResolver;3122 public DnsResolver getDnsResolver() { in getDnsResolver()3123 return DnsResolver.getInstance(); in getDnsResolver()