Home
last modified time | relevance | path

Searched defs:executor (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DExecutorCompletionService.java79 private final Executor executor; field in ExecutorCompletionService
117 public ExecutorCompletionService(Executor executor) { in ExecutorCompletionService()
139 public ExecutorCompletionService(Executor executor, in ExecutorCompletionService()
DRejectedExecutionHandler.java32 void rejectedExecution(Runnable r, ThreadPoolExecutor executor); in rejectedExecution()
DExecutors.java251 public static ExecutorService unconfigurableExecutorService(ExecutorService executor) { in unconfigurableExecutorService()
267 …cheduledExecutorService unconfigurableScheduledExecutorService(ScheduledExecutorService executor) { in unconfigurableScheduledExecutorService()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLSocketPair.java67 ExecutorService executor = Executors.newFixedThreadPool(2); in connect() local
/libcore/luni/src/test/java/libcore/java/util/zip/
DDeflaterOutputStreamTest.java69 ExecutorService executor = Executors.newSingleThreadExecutor(); in createInflaterStream() local
/libcore/luni/src/test/java/tests/api/java/util/concurrent/
DSynchronousQueueTest.java564 ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor() local
587 ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor() local
DArrayBlockingQueueTest.java755 ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor() local
777 ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor() local
DLinkedBlockingQueueTest.java754 ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor() local
776 ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor() local
DLinkedBlockingDequeTest.java1506 ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor() local
1528 ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor() local
DPriorityBlockingQueueTest.java698 ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor() local
DDelayQueueTest.java740 ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor() local
DThreadPoolExecutorTest.java1486 ExecutorService executor = new ThreadPoolExecutor(0, 2, 1, TimeUnit.SECONDS, queue); in testRejected() local
/libcore/support/src/test/java/tests/http/
DMockWebServer.java68 private ExecutorService executor; field in MockWebServer
/libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/
DNativeCryptoTest.java557 ExecutorService executor = Executors.newSingleThreadExecutor(); in handshake() local