/external/dagger2/producers/src/test/java/dagger/producers/internal/ |
D | ProducersTest.java | 40 ListenableFuture<String> future = Futures.immediateFuture("monkey"); in createFutureProduced_success() local 47 ListenableFuture<String> future = Futures.immediateFailedFuture(new RuntimeException("monkey")); in createFutureProduced_failure() local 54 ListenableFuture<String> future = SettableFuture.create(); in createFutureProduced_cancelPropagatesBackwards() local 62 ListenableFuture<String> future = SettableFuture.create(); in createFutureProduced_cancelDoesNotPropagateForwards() local 81 ListenableFuture<String> future = Futures.immediateFuture("monkey"); in createFutureSingletonSet_success() local 88 ListenableFuture<String> future = Futures.immediateFailedFuture(new RuntimeException("monkey")); in createFutureSingletonSet_failure() local
|
D | SetProducerTest.java | 49 ListenableFuture<Set<Integer>> future = producer.get(); in delegateSetNpe() local 63 ListenableFuture<Set<Integer>> future = producer.get(); in delegateElementNpe() local
|
D | AbstractProducerTest.java | 95 ListenableFuture<Integer> future = producer.get(); in monitor_success() local 109 ListenableFuture<Integer> future = producer.get(); in monitor_failure() local
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | AbstractFutureTest.java | 48 AbstractFuture<String> future = new AbstractFuture<String>() { in testException() local 68 InterruptibleFuture future = new InterruptibleFuture(); in testCancel_notDoneNoInterrupt() local 83 InterruptibleFuture future = new InterruptibleFuture(); in testCancel_notDoneInterrupt() local 98 AbstractFuture<String> future = new AbstractFuture<String>() { in testCancel_done() local 111 final AbstractFuture<String> future = new AbstractFuture<String>() {}; in testCompletionFinishesWithDone() local 181 AbstractFuture<String> future) throws InterruptedException { in getExpectingExecutionException()
|
D | AsyncSettableFutureTest.java | 38 AsyncSettableFuture<Integer> future = AsyncSettableFuture.create(); in testCreate() local 45 AsyncSettableFuture<Integer> future = AsyncSettableFuture.create(); in testSetValue() local 59 AsyncSettableFuture<Object> future = AsyncSettableFuture.create(); in testSetException() local 79 AsyncSettableFuture<String> future = AsyncSettableFuture.create(); in testSetFuture() local 101 AsyncSettableFuture<Foo> future = AsyncSettableFuture.create(); in testSetFuture_genericsHierarchy() local
|
D | FuturesTest.java | 110 ListenableFuture<String> future = Futures.immediateFuture(DATA1); in testImmediateFuture() local 127 ListenableFuture<String> future = in testImmediateFailedFuture() local 141 ListenableFuture<String> future = in testImmediateFailedFuture_cancellationException() local 155 ListenableFuture<String> future = in testImmediateCancelledFuture() local 163 CheckedFuture<String, MyException> future = Futures.immediateCheckedFuture( in testImmediateCheckedFuture() local 186 CheckedFuture<String, MyException> future = in testImmediateFailedCheckedFuture() local 220 ListenableFuture<FooChild> future = Futures.immediateFuture(null); in testTransform_genericsHierarchy() local
|
D | MoreExecutorsTest.java | 124 ListenableFuture<?> future = executor.submit(incrementTask); in testDirectExecutorServiceServiceInThreadExecution() local 158 Future<Integer> future = futures.get(i); in testDirectExecutorServiceInvokeAll() local 309 ListenableFuture<?> future = in testListeningDecorator_scheduleSuccess() local 327 ListenableFuture<?> future = in testListeningDecorator_scheduleFailure() local 338 ListenableFuture<?> future; in testListeningDecorator_schedulePeriodic() local 357 ListenableFuture<?> future; in testListeningDecorator_cancelled() local 405 private static void assertExecutionException(Future<?> future, Exception expectedCause) in assertExecutionException() 497 private static void assertListenerRunImmediately(ListenableFuture<?> future) { in assertListenerRunImmediately()
|
D | ListenableFutureTester.java | 42 private final ListenableFuture<?> future; field in ListenableFutureTester 45 public ListenableFutureTester(ListenableFuture<?> future) { in ListenableFutureTester()
|
D | SettableFutureTest.java | 31 private SettableFuture<String> future; field in SettableFutureTest
|
/external/guava/guava-testlib/test/com/google/common/util/concurrent/testing/ |
D | TestingExecutorsTest.java | 48 ScheduledFuture<?> future = TestingExecutors.noOpScheduledExecutor().schedule( in testNoOpScheduledExecutor() local 75 Future<Boolean> future = futureList.get(0); in testNoOpScheduledExecutorInvokeAll() local 94 Future<Integer> future = TestingExecutors.sameThreadScheduledExecutor().schedule( in testSameThreadScheduledExecutor() local 107 Future<?> future = TestingExecutors.sameThreadScheduledExecutor().submit(runnable); in testSameThreadScheduledExecutorWithException() local
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | AccountManagerTest.java | 45 AccountManagerFuture<Bundle> future = in testGetAuthTokenByFeatures_isCancelled() local 55 AccountManagerFuture<Bundle> future = in testGetAuthTokenByFeatures_isDoneWithCancel() local 65 AccountManagerFuture<Bundle> future = in testGetAuthTokenByFeatures_isDoneWithGetResult() local 81 AccountManagerFuture<Bundle> future = in testGetAuthTokenByFeatures_getResult() local 92 AccountManagerFuture<Bundle> future = in testGetAuthToken_getResult() local
|
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/ |
D | AbstractCheckedFutureTest.java | 70 final CheckedFuture<Boolean, ?> future = in testCheckedGetThrowsApplicationExceptionOnCancellation() local 97 final CheckedFuture<Boolean, ?> future = in testCheckedGetThrowsApplicationExceptionOnInterruption() local 134 final CheckedFuture<Boolean, ?> future = in testCheckedGetThrowsApplicationExceptionOnError() local
|
D | MockFutureListener.java | 40 private final ListenableFuture<?> future; field in MockFutureListener 42 public MockFutureListener(ListenableFuture<?> future) { in MockFutureListener()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/ |
D | RobolectricBackgroundExecutorServiceTest.java | 47 Future<String> future = executorService.submit(runnable, "foo"); in submitRunnable_shouldRunStuffOnBackgroundThread() local 61 Future<String> future = executorService.submit(new Callable<String>() { in submitCallable_shouldRunStuffOnBackgroundThread() local
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
D | GcFinalizationTest.java | 53 final SettableFuture<Void> future = SettableFuture.create(); in testAwaitDone_Future() local 64 final SettableFuture<Void> future = SettableFuture.create(); in testAwaitDone_Future_Cancel() local 144 final SettableFuture<Void> future = SettableFuture.create(); in testAwaitDone_Future_Interrupted_Interrupted() local
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | JdkFutureAdapters.java | 59 Future<V> future) { in listenInPoolThread() 91 Future<V> future, Executor executor) { in listenInPoolThread()
|
D | Uninterruptibles.java | 131 public static <V> V getUninterruptibly(Future<V> future) in getUninterruptibly() 163 Future<V> future, long timeout, TimeUnit unit) in getUninterruptibly()
|
D | AsyncSettableFuture.java | 57 public boolean setFuture(ListenableFuture<? extends V> future) { in setFuture()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
D | Period.java | 150 public Period inFuture(boolean future) { in inFuture() 297 private Period(int limit, boolean future, float count, TimeUnit unit) { in Period() 349 private Period setFuture(boolean future) { in setFuture()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
D | Period.java | 148 public Period inFuture(boolean future) { in inFuture() 295 private Period(int limit, boolean future, float count, TimeUnit unit) { in Period() 347 private Period setFuture(boolean future) { in setFuture()
|
/external/dagger2/producers/src/main/java/dagger/producers/internal/ |
D | Producers.java | 50 public static <T> ListenableFuture<Produced<T>> createFutureProduced(ListenableFuture<T> future) { in createFutureProduced()
|
/external/testng/src/main/java/org/testng/internal/thread/ |
D | FutureResultAdapter.java | 15 public FutureResultAdapter(Future<?> future) { in FutureResultAdapter()
|
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/ |
D | ExecutorTestBase.java | 51 protected void assertBlocks(final Future<?> future) throws Exception { in assertBlocks()
|
/external/dagger2/producers/src/main/java/dagger/producers/monitoring/ |
D | ProducerMonitor.java | 91 public <T> void addCallbackTo(ListenableFuture<T> future) { in addCallbackTo()
|
/external/guice/extensions/service/test/com/google/inject/service/ |
D | SingleServiceIntegrationTest.java | 42 Future<?> future = service.start(); in testAsyncServiceLifecycle() local
|