Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DExecutionSequencerTest.java79 ListenableFuture<Void> secondFuture = serializer.submitAsync(secondCallable, directExecutor()); in testCancellationDoesNotViolateSerialization() local
83 secondFuture.cancel(true); in testCancellationDoesNotViolateSerialization()
DFuturesTest.java2450 final SettableFuture<Object> secondFuture = SettableFuture.create();
2451 ListenableFuture<List<Object>> bulkFuture = allAsList(firstFuture, secondFuture);
2462 secondFuture.setException(sameInstance);
2480 final SettableFuture<Object> secondFuture = SettableFuture.create();
2481 ListenableFuture<List<Object>> bulkFuture = allAsList(firstFuture, secondFuture);
2492 secondFuture.setException(subsequentFailure);
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DExecutionSequencerTest.java79 ListenableFuture<Void> secondFuture = serializer.submitAsync(secondCallable, directExecutor()); in testCancellationDoesNotViolateSerialization() local
83 secondFuture.cancel(true); in testCancellationDoesNotViolateSerialization()
DFuturesTest.java2450 final SettableFuture<Object> secondFuture = SettableFuture.create();
2451 ListenableFuture<List<Object>> bulkFuture = allAsList(firstFuture, secondFuture);
2462 secondFuture.setException(sameInstance);
2480 final SettableFuture<Object> secondFuture = SettableFuture.create();
2481 ListenableFuture<List<Object>> bulkFuture = allAsList(firstFuture, secondFuture);
2492 secondFuture.setException(subsequentFailure);