Home
last modified time | relevance | path

Searched refs:concurrent (Results 1 – 25 of 1585) sorted by relevance

12345678910>>...64

/external/guava/guava-gwt/test/com/google/common/util/concurrent/
DAtomicLongMapTest_gwt.java16 package com.google.common.util.concurrent;
22 …com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurre… in testAddAndGet()
27 …com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurre… in testAddAndGet_zero()
32 …com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurre… in testClear()
37 …com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurre… in testCreate_map()
42 …com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurre… in testDecrementAndGet()
47 …com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurre… in testDecrementAndGet_zero()
52 …com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurre… in testEmpty()
57 …com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurre… in testGetAndAdd()
62 …com.google.common.util.concurrent.AtomicLongMapTest testCase = new com.google.common.util.concurre… in testGetAndAdd_zero()
[all …]
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
DSameThreadScheduledExecutorService.java17 package com.google.common.util.concurrent.testing;
19 import static com.google.common.util.concurrent.MoreExecutors.newDirectExecutorService;
22 import com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFutur…
23 import com.google.common.util.concurrent.ListenableFuture;
24 import com.google.common.util.concurrent.ListenableScheduledFuture;
25 import com.google.common.util.concurrent.ListeningExecutorService;
26 import com.google.common.util.concurrent.ListeningScheduledExecutorService;
30 import java.util.concurrent.AbstractExecutorService;
31 import java.util.concurrent.Callable;
32 import java.util.concurrent.Delayed;
[all …]
DTestingExecutors.java17 package com.google.common.util.concurrent.testing;
22 import com.google.common.util.concurrent.AbstractFuture;
23 import com.google.common.util.concurrent.AbstractListeningExecutorService;
24 import com.google.common.util.concurrent.ListenableScheduledFuture;
25 import com.google.common.util.concurrent.ListeningScheduledExecutorService;
26 import com.google.common.util.concurrent.MoreExecutors;
29 import java.util.concurrent.Callable;
30 import java.util.concurrent.Delayed;
31 import java.util.concurrent.ScheduledFuture;
32 import java.util.concurrent.TimeUnit;
DAbstractListenableFutureTest.java17 package com.google.common.util.concurrent.testing;
20 import com.google.common.util.concurrent.ListenableFuture;
24 import java.util.concurrent.CancellationException;
25 import java.util.concurrent.CountDownLatch;
26 import java.util.concurrent.ExecutionException;
27 import java.util.concurrent.ExecutorService;
28 import java.util.concurrent.Executors;
29 import java.util.concurrent.Future;
30 import java.util.concurrent.TimeUnit;
31 import java.util.concurrent.TimeoutException;
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DJdkFutureAdaptersTest.java17 package com.google.common.util.concurrent;
20 import static com.google.common.util.concurrent.Futures.immediateFuture;
21 import static com.google.common.util.concurrent.JdkFutureAdapters.listenInPoolThread;
22 import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
23 import static java.util.concurrent.Executors.newCachedThreadPool;
24 import static java.util.concurrent.TimeUnit.SECONDS;
27 import com.google.common.util.concurrent.FuturesTest.ExecutorSpy;
28 import com.google.common.util.concurrent.FuturesTest.SingleCallListener;
33 import java.util.concurrent.CountDownLatch;
34 import java.util.concurrent.ExecutorService;
[all …]
DServiceTest.java17 package com.google.common.util.concurrent;
19 import static com.google.common.util.concurrent.Service.State.FAILED;
20 import static com.google.common.util.concurrent.Service.State.NEW;
21 import static com.google.common.util.concurrent.Service.State.RUNNING;
22 import static com.google.common.util.concurrent.Service.State.STARTING;
23 import static com.google.common.util.concurrent.Service.State.STOPPING;
24 import static com.google.common.util.concurrent.Service.State.TERMINATED;
DMoreExecutorsTest.java29 package com.google.common.util.concurrent;
33 import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
34 import static com.google.common.util.concurrent.MoreExecutors.invokeAnyImpl;
35 import static com.google.common.util.concurrent.MoreExecutors.listeningDecorator;
36 import static com.google.common.util.concurrent.MoreExecutors.newDirectExecutorService;
37 import static com.google.common.util.concurrent.MoreExecutors.renamingDecorator;
38 import static com.google.common.util.concurrent.MoreExecutors.shutdownAndAwaitTermination;
39 import static java.util.concurrent.TimeUnit.NANOSECONDS;
40 import static java.util.concurrent.TimeUnit.SECONDS;
51 import com.google.common.util.concurrent.MoreExecutors.Application;
[all …]
DListenableFutureTaskTest.java17 package com.google.common.util.concurrent;
19 import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
23 import java.util.concurrent.Callable;
24 import java.util.concurrent.CountDownLatch;
25 import java.util.concurrent.ExecutionException;
26 import java.util.concurrent.ExecutorService;
27 import java.util.concurrent.Executors;
28 import java.util.concurrent.TimeUnit;
DSerializingExecutorTest.java17 package com.google.common.util.concurrent;
27 import java.util.concurrent.CyclicBarrier;
28 import java.util.concurrent.Executor;
29 import java.util.concurrent.ExecutorService;
30 import java.util.concurrent.Executors;
31 import java.util.concurrent.RejectedExecutionException;
32 import java.util.concurrent.TimeUnit;
33 import java.util.concurrent.atomic.AtomicBoolean;
34 import java.util.concurrent.atomic.AtomicInteger;
/external/guava/guava/src/com/google/common/util/concurrent/
DListenableFuture.java17 package com.google.common.util.concurrent;
19 import java.util.concurrent.Executor;
20 import java.util.concurrent.ExecutorService;
21 import java.util.concurrent.Future;
22 import java.util.concurrent.FutureTask;
23 import java.util.concurrent.RejectedExecutionException;
DCheckedFuture.java17 package com.google.common.util.concurrent;
21 import java.util.concurrent.CancellationException;
22 import java.util.concurrent.ExecutionException;
23 import java.util.concurrent.Future;
24 import java.util.concurrent.TimeUnit;
25 import java.util.concurrent.TimeoutException;
DUninterruptibles.java17 package com.google.common.util.concurrent;
19 import static java.util.concurrent.TimeUnit.NANOSECONDS;
24 import java.util.concurrent.BlockingQueue;
25 import java.util.concurrent.CancellationException;
26 import java.util.concurrent.CountDownLatch;
27 import java.util.concurrent.ExecutionException;
28 import java.util.concurrent.Future;
29 import java.util.concurrent.Semaphore;
30 import java.util.concurrent.TimeUnit;
31 import java.util.concurrent.TimeoutException;
DMoreExecutors.java17 package com.google.common.util.concurrent;
28 import com.google.common.util.concurrent.ForwardingListenableFuture.SimpleForwardingListenableFutur…
35 import java.util.concurrent.BlockingQueue;
36 import java.util.concurrent.Callable;
37 import java.util.concurrent.Delayed;
38 import java.util.concurrent.ExecutionException;
39 import java.util.concurrent.Executor;
40 import java.util.concurrent.ExecutorService;
41 import java.util.concurrent.Executors;
42 import java.util.concurrent.Future;
[all …]
DAbstractService.java17 package com.google.common.util.concurrent;
22 import static com.google.common.util.concurrent.Service.State.FAILED;
23 import static com.google.common.util.concurrent.Service.State.NEW;
24 import static com.google.common.util.concurrent.Service.State.RUNNING;
25 import static com.google.common.util.concurrent.Service.State.STARTING;
26 import static com.google.common.util.concurrent.Service.State.STOPPING;
27 import static com.google.common.util.concurrent.Service.State.TERMINATED;
30 import com.google.common.util.concurrent.ListenerCallQueue.Callback;
31 import com.google.common.util.concurrent.Monitor.Guard;
32 import com.google.common.util.concurrent.Service.State; // javadoc needs this
[all …]
DListeningExecutorService.java17 package com.google.common.util.concurrent;
21 import java.util.concurrent.Callable;
22 import java.util.concurrent.ExecutorService;
23 import java.util.concurrent.Future;
24 import java.util.concurrent.RejectedExecutionException;
25 import java.util.concurrent.TimeUnit;
DJdkFutureAdapters.java17 package com.google.common.util.concurrent;
20 import static com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly;
24 import java.util.concurrent.Executor;
25 import java.util.concurrent.Executors;
26 import java.util.concurrent.Future;
27 import java.util.concurrent.ThreadFactory;
28 import java.util.concurrent.atomic.AtomicBoolean;
DAbstractScheduledService.java17 package com.google.common.util.concurrent;
19 import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
26 import java.util.concurrent.Callable;
27 import java.util.concurrent.Executor;
28 import java.util.concurrent.Executors;
29 import java.util.concurrent.Future;
30 import java.util.concurrent.ScheduledExecutorService;
31 import java.util.concurrent.ThreadFactory;
32 import java.util.concurrent.TimeUnit;
33 import java.util.concurrent.TimeoutException;
[all …]
/external/guice/extensions/service/test/com/google/inject/service/
DSingleServiceIntegrationTest.java3 import java.util.concurrent.CountDownLatch;
4 import java.util.concurrent.ExecutionException;
5 import java.util.concurrent.ExecutorService;
6 import java.util.concurrent.Executors;
7 import java.util.concurrent.Future;
8 import java.util.concurrent.TimeUnit;
9 import java.util.concurrent.TimeoutException;
10 import java.util.concurrent.atomic.AtomicInteger;
/external/vogar/src/vogar/target/junit/
DTimeoutAndAbortRunRule.java19 import java.util.concurrent.Callable;
20 import java.util.concurrent.ExecutionException;
21 import java.util.concurrent.ExecutorService;
22 import java.util.concurrent.Executors;
23 import java.util.concurrent.Future;
24 import java.util.concurrent.TimeUnit;
25 import java.util.concurrent.TimeoutException;
26 import java.util.concurrent.atomic.AtomicReference;
/external/testng/src/main/java/org/testng/internal/
DPoolService.java7 import java.util.concurrent.Callable;
8 import java.util.concurrent.ExecutionException;
9 import java.util.concurrent.ExecutorCompletionService;
10 import java.util.concurrent.ExecutorService;
11 import java.util.concurrent.Executors;
12 import java.util.concurrent.Future;
13 import java.util.concurrent.ThreadFactory;
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
DExecutorTestBase.java16 import java.util.concurrent.Executor;
17 import java.util.concurrent.ExecutorService;
18 import java.util.concurrent.Executors;
19 import java.util.concurrent.Future;
20 import java.util.concurrent.TimeUnit;
21 import java.util.concurrent.TimeoutException;
/external/guava/guava-testlib/test/com/google/common/util/concurrent/testing/
DTestingExecutorsTest.java17 package com.google.common.util.concurrent.testing;
20 import com.google.common.util.concurrent.ListeningScheduledExecutorService;
26 import java.util.concurrent.Callable;
27 import java.util.concurrent.CancellationException;
28 import java.util.concurrent.ExecutionException;
29 import java.util.concurrent.Future;
30 import java.util.concurrent.ScheduledFuture;
31 import java.util.concurrent.TimeUnit;
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DStopwatch.java21 import static java.util.concurrent.TimeUnit.DAYS;
22 import static java.util.concurrent.TimeUnit.HOURS;
23 import static java.util.concurrent.TimeUnit.MICROSECONDS;
24 import static java.util.concurrent.TimeUnit.MILLISECONDS;
25 import static java.util.concurrent.TimeUnit.MINUTES;
26 import static java.util.concurrent.TimeUnit.NANOSECONDS;
27 import static java.util.concurrent.TimeUnit.SECONDS;
32 import java.util.concurrent.TimeUnit;
/external/guava/guava/src/com/google/common/base/
DStopwatch.java21 import static java.util.concurrent.TimeUnit.DAYS;
22 import static java.util.concurrent.TimeUnit.HOURS;
23 import static java.util.concurrent.TimeUnit.MICROSECONDS;
24 import static java.util.concurrent.TimeUnit.MILLISECONDS;
25 import static java.util.concurrent.TimeUnit.MINUTES;
26 import static java.util.concurrent.TimeUnit.NANOSECONDS;
27 import static java.util.concurrent.TimeUnit.SECONDS;
33 import java.util.concurrent.TimeUnit;
/external/guava/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetBasherTest.java26 import java.util.concurrent.Callable;
27 import java.util.concurrent.ConcurrentHashMap;
28 import java.util.concurrent.ConcurrentMap;
29 import java.util.concurrent.ConcurrentSkipListMap;
30 import java.util.concurrent.ExecutionException;
31 import java.util.concurrent.ExecutorService;
32 import java.util.concurrent.Executors;
33 import java.util.concurrent.Future;
34 import java.util.concurrent.atomic.AtomicInteger;

12345678910>>...64