Searched refs:requestException (Results 1 – 6 of 6) sorted by relevance
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
D | CombinedExceptionEventsTest.java | 89 int request1 = requestException(superExceptionClassID, true, false); in runCombinedExceptionEventsTest() 90 int request2 = requestException(subExceptionClassID, true, false); in runCombinedExceptionEventsTest() 93 int request3 = requestException(superExceptionClassID, false, true); in runCombinedExceptionEventsTest() 94 int request4 = requestException(subExceptionClassID, false, true); in runCombinedExceptionEventsTest() 97 int request5 = requestException(superExceptionClassID, true, true); in runCombinedExceptionEventsTest() 98 int request6 = requestException(subExceptionClassID, true, true); in runCombinedExceptionEventsTest() 173 private int requestException(long exceptionClassID, boolean caught, in requestException() method in CombinedExceptionEventsTest
|
/external/downloader/src/main/java/com/google/android/downloader/ |
D | ErrorDetails.java | 112 RequestException requestException = (RequestException) throwable; in fromThrowable() local 113 return requestException.getErrorDetails(); in fromThrowable()
|
D | Downloader.java | 705 (closer, requestException) -> { in completeRequest() 706 if (checkNotNull(requestException).getErrorDetails().getHttpStatusCode() in completeRequest() 723 throw new DownloadException(requestException); in completeRequest() 742 RequestException requestException = getRequestException(exception); in completeRequest() argument 743 if (requestException != null in completeRequest() 744 && requestException.getErrorDetails().isRetryableAsIs()) { in completeRequest()
|
D | CronetUrlEngine.java | 294 RequestException requestException = in onFailed() local 298 responseFuture.setException(requestException); in onFailed() 302 completionFuture.setException(requestException); in onFailed()
|
/external/downloader/src/test/java/com/google/android/downloader/ |
D | MockWebServerUrlEngineTestHelper.java | 239 RequestException requestException = (RequestException) exception.getCause(); in executeRequest_serverError_failsInternalError() local 240 assertThat(requestException.getErrorDetails().getHttpStatusCode()) in executeRequest_serverError_failsInternalError() 282 RequestException requestException = (RequestException) exception.getCause(); in executeRequest_writeError_failsInternalError() local 283 assertThat(requestException).hasCauseThat().isInstanceOf(IOException.class); in executeRequest_writeError_failsInternalError() 284 assertThat(requestException).hasCauseThat().hasMessageThat().isEqualTo(errorMessage); in executeRequest_writeError_failsInternalError()
|
D | DownloaderTest.java | 440 RequestException requestException = Downloader.getRequestException(exception); in downloadOneFile_notFound() local 441 assertThat(requestException).isNotNull(); in downloadOneFile_notFound()
|