/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() 384 future.setException(null); in testSetExceptionNull() 507 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() 384 future.setException(null); in testSetExceptionNull() 507 assertThat(future.setException(new IndexOutOfBoundsException())).isFalse(); in assertCannotSet()
|
D | FuturesTest.java | 1159 input.setException(new Exception()); 1388 root.setException(new MyException()); 1397 root.setException(new MyException()); 1419 input.setException(new MyException()); 1439 input.setException(new MyException()); 1476 input.setException(new MyException()); 1523 root.setException(new MyException()); 1532 root.setException(new MyException()); 1555 input.setException(new MyException()); 1576 input.setException(new MyException()); [all …]
|
/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 | SettableFuture.java | 52 public boolean setException(Throwable throwable) { in setException() method in SettableFuture 53 return super.setException(throwable); in setException()
|
D | AbstractTransformFuture.java | 100 setException(e.getCause()); in run() 104 setException(e); in run() 112 setException(e); in run() 121 setException(t); in run()
|
D | CombinedFuture.java | 106 CombinedFuture.this.setException(e); in execute() 127 CombinedFuture.this.setException(error.getCause()); in afterRanInterruptibly() 131 CombinedFuture.this.setException(error); in afterRanInterruptibly()
|
D | TrustedListenableFutureTask.java | 133 setException(error); in afterRanInterruptibly() 171 setException(error); in afterRanInterruptibly()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | SettableFuture.java | 52 public boolean setException(Throwable throwable) { in setException() method in SettableFuture 53 return super.setException(throwable); in setException()
|
D | AbstractTransformFuture.java | 100 setException(e.getCause()); in run() 104 setException(e); in run() 112 setException(e); in run() 121 setException(t); in run()
|
D | CombinedFuture.java | 106 CombinedFuture.this.setException(e); in execute() 127 CombinedFuture.this.setException(error.getCause()); in afterRanInterruptibly() 131 CombinedFuture.this.setException(error); in afterRanInterruptibly()
|
D | TrustedListenableFutureTask.java | 133 setException(error); in afterRanInterruptibly() 171 setException(error); in afterRanInterruptibly()
|
/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/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/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()
|