OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:executorService
(Results
1 - 15
of
15
) sorted by null
/external/guava/guava-tests/test/com/google/common/testing/
FakeTickerTest.java
26
import java.util.concurrent.
ExecutorService
;
53
ExecutorService
executorService
= Executors.newFixedThreadPool(numberOfThreads);
57
executorService
.submit(new Callable<Void>() {
/libcore/support/src/test/java/tests/support/
Support_Exec.java
31
import java.util.concurrent.
ExecutorService
;
85
ExecutorService
executorService
= Executors.newFixedThreadPool(2);
87
Future<String> errFuture =
executorService
.submit(
89
Future<String> outFuture =
executorService
.submit(
113
executorService
.shutdown();
125
ExecutorService
executorService
= Executors.newFixedThreadPool(2);
128
executorService
.submit(streamToStringCallable(process.getErrorStream()));
130
executorService
.submit(streamToStringCallable(process.getInputStream()))
[
all
...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
RobolectricBackgroundExecutorServiceTest.java
19
private RobolectricBackgroundExecutorService
executorService
;
24
executorService
= new RobolectricBackgroundExecutorService();
37
executorService
.execute(runnable);
47
Future<String> future =
executorService
.submit(runnable, "foo");
61
Future<String> future =
executorService
.submit(new Callable<String>() {
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
Dispatcher.java
33
private final ThreadPoolExecutor
executorService
= new ThreadPoolExecutor(
46
executorService
.execute(job);
53
executorService
.remove(job);
/external/okhttp/src/main/java/com/squareup/okhttp/
ConnectionPool.java
27
import java.util.concurrent.
ExecutorService
;
83
private final
ExecutorService
executorService
= new ThreadPoolExecutor(0, 1,
142
executorService
.submit(new Runnable() {
208
executorService
.submit(connectionsCleanupCallable);
242
executorService
.submit(connectionsCleanupCallable);
250
executorService
.submit(connectionsCleanupCallable);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
JdkFutureAdaptersTest.java
34
import java.util.concurrent.
ExecutorService
;
81
ExecutorService
executorService
= newCachedThreadPool(
85
ExecutorSpy spy = new ExecutorSpy(
executorService
);
96
listenableFuture.addListener(singleCallListener,
executorService
);
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
HttpsURLConnectionTest.java
41
import java.util.concurrent.
ExecutorService
;
759
ExecutorService
executorService
= Executors.newFixedThreadPool(2);
761
Future<Void> serverFuture =
executorService
.submit(server);
762
Future<Void> clientFuture =
executorService
.submit(client);
785
executorService
.shutdown();
[
all
...]
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/
DiskLruCache.java
45
import java.util.concurrent.
ExecutorService
;
270
private final
ExecutorService
executorService
= new ThreadPoolExecutor(0, 1,
503
executorService
.submit(cleanupCallable);
611
executorService
.submit(cleanupCallable);
653
executorService
.submit(cleanupCallable);
[
all
...]
/external/okhttp/src/main/java/com/squareup/okhttp/internal/
DiskLruCache.java
162
final ThreadPoolExecutor
executorService
=
435
executorService
.submit(cleanupCallable);
492
executorService
.submit(cleanupCallable);
555
executorService
.submit(cleanupCallable);
597
executorService
.submit(cleanupCallable);
/external/droiddriver/libs/
guava-13.0.jar
/prebuilts/devtools/tools/lib/
guava-13.0.1.jar
/prebuilts/tools/common/gradle-plugins/repository/com/google/guava/guava/14.0/
guava-14.0.jar
/prebuilts/tools/common/guava-tools/
guava-13.0.1.jar
/prebuilts/tools/common/m2/repository/com/google/guava/guava/13.0.1/
guava-13.0.1.jar
/prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar
Completed in 209 milliseconds