OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:threadPool
(Results
1 - 12
of
12
) sorted by null
/external/guava/guava-tests/test/com/google/common/collect/
QueuesTest.java
55
private ExecutorService
threadPool
;
59
threadPool
= Executors.newCachedThreadPool();
66
threadPool
.shutdown();
68
threadPool
.awaitTermination(1, TimeUnit.SECONDS));
87
threadPool
.submit(new Producer(q, 20));
88
threadPool
.submit(new Producer(q, 20));
89
threadPool
.submit(new Producer(q, 20));
90
threadPool
.submit(new Producer(q, 20));
91
threadPool
.submit(new Producer(q, 20));
112
Future<?> submitter =
threadPool
.submit(new Producer(q, 1))
[
all
...]
MapMakerTest.java
129
ExecutorService
threadPool
= Executors.newFixedThreadPool(nThreads);
133
threadPool
.submit(new Runnable() {
/external/guava/guava-tests/test/com/google/common/util/concurrent/
AtomicLongMapTest.java
549
ExecutorService
threadPool
= Executors.newFixedThreadPool(nThreads);
551
threadPool
.submit(new Runnable() {
611
threadPool
.shutdown();
612
assertTrue(
threadPool
.awaitTermination(300, TimeUnit.SECONDS));
/libcore/luni/src/test/java/tests/java/sql/
MultiThreadAccessTest.java
33
import tests.support.
ThreadPool
;
45
private
ThreadPool
threadPool
;
57
threadPool
= new
ThreadPool
(numThreads);
61
threadPool
.join();
122
threadPool
.runTask(createTask1(i));
134
threadPool
.runTask(createTask1(1));
135
threadPool
.runTask(createTask2(2));
136
threadPool
.runTask(createTask3(3))
[
all
...]
StressTest.java
32
import tests.support.
ThreadPool
;
126
ThreadPool
threadPool
= new
ThreadPool
(numTasks);
130
threadPool
.runTask(createTask(i));
133
threadPool
.join();
199
ThreadPool
threadPool
= new
ThreadPool
(numConnections);
203
threadPool
.runTask(insertTask(numConnections, i))
[
all
...]
/external/guava/guava-tests/test/com/google/common/cache/
CacheBuilderTest.java
483
ExecutorService
threadPool
= Executors.newFixedThreadPool(nThreads);
487
threadPool
.submit(new Runnable() {
571
ExecutorService
threadPool
= Executors.newFixedThreadPool(nThreads);
573
threadPool
.submit(new Runnable() {
585
threadPool
.shutdown();
586
threadPool
.awaitTermination(300, TimeUnit.SECONDS);
/dalvik/dx/src/com/android/dx/command/dexer/
Main.java
170
private static ExecutorService
threadPool
;
463
threadPool
= Executors.newFixedThreadPool(args.numThreads);
512
threadPool
.shutdown();
513
threadPool
.awaitTermination(600L, TimeUnit.SECONDS);
569
threadPool
.execute(new ParallelProcessor(name, lastModified, bytes));
[
all
...]
/libcore/luni/src/test/java/libcore/sqlite/
OldDatabaseTest.java
47
import tests.support.
ThreadPool
;
238
ThreadPool
threadPool
= new
ThreadPool
(numThreads);
253
threadPool
.runTask(createTask1(id1, dbFile.getPath(), tracker));
256
threadPool
259
threadPool
.join();
307
ThreadPool
threadPool
= new
ThreadPool
(numThreads)
[
all
...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.util_1.0.200.v20100503.jar
org.eclipse.equinox.ds_1.2.1.R36x_v20100803.jar
org.mortbay.jetty.server_6.1.23.v201004211559.jar
/prebuilts/sdk/tools/lib/
dx.jar
Completed in 789 milliseconds