Home
last modified time | relevance | path

Searched refs:DnsException (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/net/
DDnsResolver.java155 void onError(@NonNull DnsException error); in onError()
161 public static class DnsException extends Exception { class in DnsResolver
167 DnsException(@DnsError int code, @Nullable Throwable cause) { in DnsException() method in DnsResolver.DnsException
200 executor.execute(() -> callback.onError(new DnsException(ERROR_SYSTEM, e))); in rawQuery()
241 executor.execute(() -> callback.onError(new DnsException(ERROR_SYSTEM, e))); in rawQuery()
255 private DnsException mDnsException;
303 mDnsException = new DnsException(ERROR_PARSE, pe); in onAnswer()
309 public void onError(@NonNull DnsException error) { in onError()
348 executor.execute(() -> callback.onError(new DnsException(ERROR_SYSTEM, e))); in query()
358 new DnsException(ERROR_SYSTEM, new ErrnoException("resNetworkQuery", ENONET)))); in query()
[all …]
/frameworks/base/api/
Dcurrent.txt29992 method public void onError(@NonNull android.net.DnsResolver.DnsException);
29995 public static class DnsResolver.DnsException extends java.lang.Exception {