/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | AbstractFutureBenchmarks.java | 39 boolean setException(Throwable t); in setException() method 51 public boolean setException(Throwable t) { in setException() method in AbstractFutureBenchmarks.NewAbstractFutureFacade 52 return super.setException(t); in setException() 66 public boolean setException(Throwable t) { in setException() method in AbstractFutureBenchmarks.OldAbstractFutureFacade 67 return super.setException(t); in setException() 238 protected boolean setException(Throwable throwable) { in setException() method in AbstractFutureBenchmarks.OldAbstractFuture 239 boolean result = sync.setException(checkNotNull(throwable)); in setException() 368 boolean setException(Throwable t) { in setException() method in AbstractFutureBenchmarks.OldAbstractFuture.Sync
|
D | SettableFutureTest.java | 60 assertTrue(future.setException(new Exception("failure"))); in testSetFailure() 66 future.setException(null); in testSetFailureNull() 71 assertTrue(future.setException(new Exception("failure"))); in testSetFailureNull() 92 assertFalse(future.setException(new Exception("bar"))); in testSetValue_simpleThreaded() 103 assertTrue(future.setException(e)); in testSetException() 106 assertFalse(future.setException(new Exception("quux"))); in testSetException() 125 assertFalse(future.setException(new Exception("bar"))); in testSetFuture() 152 assertFalse(future.setException(new Exception("bar"))); in testSetFuture_genericsHierarchy()
|
D | AbstractChainedListenableFutureTest.java | 60 inputFuture.setException(EXCEPTION); in testFutureGetThrowsWrappedException() 66 inputFuture.setException(error); in testFutureGetThrowsWrappedError()
|
D | UncheckedThrowingFuture.java | 56 if (!super.setException(new WrapperException(checkNotNull(e)))) { in complete() 62 if (!super.setException(new WrapperException(checkNotNull(e)))) { in complete()
|
D | AbstractAbstractFutureTest.java | 66 assertThat(future.setException(cause)).isTrue(); in testFailed() 163 future.setException(new Exception()); in testListenLaterFailed() 221 delegate.setException(new Exception()); in testListenLaterSetAsynchronouslyLaterDelegateFailed() 383 future.setException(null); in testSetExceptionNull() 506 assertThat(future.setException(new IndexOutOfBoundsException())).isFalse(); in assertCannotSet()
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | AbstractFutureBenchmarks.java | 39 boolean setException(Throwable t); in setException() method 51 public boolean setException(Throwable t) { in setException() method in AbstractFutureBenchmarks.NewAbstractFutureFacade 52 return super.setException(t); in setException() 66 public boolean setException(Throwable t) { in setException() method in AbstractFutureBenchmarks.OldAbstractFutureFacade 67 return super.setException(t); in setException() 238 protected boolean setException(Throwable throwable) { in setException() method in AbstractFutureBenchmarks.OldAbstractFuture 239 boolean result = sync.setException(checkNotNull(throwable)); in setException() 368 boolean setException(Throwable t) { in setException() method in AbstractFutureBenchmarks.OldAbstractFuture.Sync
|
D | SettableFutureTest.java | 60 assertTrue(future.setException(new Exception("failure"))); in testSetFailure() 66 future.setException(null); in testSetFailureNull() 71 assertTrue(future.setException(new Exception("failure"))); in testSetFailureNull() 92 assertFalse(future.setException(new Exception("bar"))); in testSetValue_simpleThreaded() 103 assertTrue(future.setException(e)); in testSetException() 106 assertFalse(future.setException(new Exception("quux"))); in testSetException() 125 assertFalse(future.setException(new Exception("bar"))); in testSetFuture() 152 assertFalse(future.setException(new Exception("bar"))); in testSetFuture_genericsHierarchy()
|
D | AbstractChainedListenableFutureTest.java | 60 inputFuture.setException(EXCEPTION); in testFutureGetThrowsWrappedException() 66 inputFuture.setException(error); in testFutureGetThrowsWrappedError()
|
D | UncheckedThrowingFuture.java | 56 if (!super.setException(new WrapperException(checkNotNull(e)))) { in complete() 62 if (!super.setException(new WrapperException(checkNotNull(e)))) { in complete()
|
D | AbstractAbstractFutureTest.java | 66 assertThat(future.setException(cause)).isTrue(); in testFailed() 163 future.setException(new Exception()); in testListenLaterFailed() 221 delegate.setException(new Exception()); in testListenLaterSetAsynchronouslyLaterDelegateFailed() 383 future.setException(null); in testSetExceptionNull() 506 assertThat(future.setException(new IndexOutOfBoundsException())).isFalse(); in assertCannotSet()
|
/external/pigweed/pw_rpc/java/main/dev/pigweed/pw_rpc/ |
D | FutureCall.java | 94 future.setException(e); in handleExceptionOnInitialPacket() 103 future.setException(new RpcError(rpc(), error())); in doHandleError() 121 future().setException(new IllegalStateException("Unary RPC received multiple responses.")); in doHandleNext() 128 future().setException( in doHandleCompleted()
|
/external/libtextclassifier/java/src/com/android/textclassifier/downloader/ |
D | ModelDownloaderImpl.java | 185 completer.setException( 214 completer.setException( 246 completer.setException( 254 completer.setException( 261 completer.setException(
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
D | EventWithExceptionTest.java | 78 int exceptionRequestId = setException(); in testBreakpoint_BeforeException() 137 int exceptionRequestId = setException(); in testBreakpoint_UponException() 227 int exceptionRequestId = setException(); in runSingleStepTest() 298 int exceptionRequestId = setException(); in runFieldWatchpointTest() 358 int exceptionRequestId = setException(); in runMethodExitTest() 409 private int setException() { in setException() method in EventWithExceptionTest 412 debuggeeWrapper.vmMirror.setException(getClassSignature(EXCEPTION_CLASS), true, in setException()
|
/external/guava/android/guava/src/com/google/common/util/concurrent/ |
D | AbstractTransformFuture.java | 104 setException(e.getCause()); in run() 108 setException(e); in run() 116 setException(e); in run() 125 setException(t); in run()
|
D | SettableFuture.java | 54 public boolean setException(Throwable throwable) { in setException() method in SettableFuture 55 return super.setException(throwable); in setException()
|
D | CombinedFuture.java | 110 CombinedFuture.this.setException(e); in execute() 142 CombinedFuture.this.setException(((ExecutionException) error).getCause()); in afterRanInterruptiblyFailure() 146 CombinedFuture.this.setException(error); in afterRanInterruptiblyFailure()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | AbstractTransformFuture.java | 104 setException(e.getCause()); in run() 108 setException(e); in run() 116 setException(e); in run() 125 setException(t); in run()
|
D | SettableFuture.java | 54 public boolean setException(Throwable throwable) { in setException() method in SettableFuture 55 return super.setException(throwable); in setException()
|
D | CombinedFuture.java | 110 CombinedFuture.this.setException(e); in execute() 142 CombinedFuture.this.setException(((ExecutionException) error).getCause()); in afterRanInterruptiblyFailure() 146 CombinedFuture.this.setException(error); in afterRanInterruptiblyFailure()
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowNativeFont.java | 133 reflector(FontBuilderReflector.class, realFontBuilder).setException(e); in __constructor__() 148 .setException(new FileNotFoundException(resId + " not found")); in __constructor__() 154 .setException(new FileNotFoundException(resId + " must be font file.")); in __constructor__() 161 reflector(FontBuilderReflector.class, realFontBuilder).setException(e); in __constructor__() 232 void setException(IOException e); in setException() method
|
/external/downloader/src/main/java/com/google/android/downloader/ |
D | CronetUrlEngine.java | 211 responseFuture.setException( in onResponseStarted() 298 responseFuture.setException(requestException); in onFailed() 302 completionFuture.setException(requestException); in onFailed() 313 completionFuture.setException(new RequestException("UrlRequest cancelled")); in onCanceled()
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/ |
D | StreamRecorder.java | 64 firstValue.setException(t); in onError() 73 firstValue.setException(new IllegalStateException("No first value provided")); in onCompleted()
|
/external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/test/ |
D | ListenableFutureExceptionsTest.kt | 64 future.setException(exception) in <lambda>() 81 future.setException(exception) in <lambda>()
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/ |
D | StreamRecorder.java | 69 firstValue.setException(t); in onError() 78 firstValue.setException(new IllegalStateException("No first value provided")); in onCompleted()
|
/external/connectedappssdk/tests/shared/src/main/java/com/google/android/enterprise/connectedapps/testapp/wrappers/ |
D | SimpleFutureWrapper.java | 40 future.setException(t); in immediateFailedFuture() 59 future.setException(throwable); in onException()
|