Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework/src/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 …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DDnsResolverTest.java245 public void onError(@NonNull DnsResolver.DnsException error) { in onError()
562 public void onError(@NonNull DnsResolver.DnsException error) { in onError()
700 public void onError(@NonNull DnsResolver.DnsException error) { in testPrivateDnsBypass()
/packages/modules/NetworkStack/src/com/android/networkstack/util/
DDnsUtils.java117 public void onError(@NonNull DnsResolver.DnsException e) { in getAllByName()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt195 method public void onError(@NonNull android.net.DnsResolver.DnsException);
198 public static class DnsResolver.DnsException extends java.lang.Exception {