/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousChannelGroupTest.java | 59 Executors.newFixedThreadPool(5), 1); in test_withCachedThreadPool() 66 AsynchronousChannelGroup.withCachedThreadPool(Executors.newFixedThreadPool(5), -1); in test_withCachedThreadPool() 74 Executors.newFixedThreadPool(5)); in test_withThreadPool() 86 Executors.newFixedThreadPool(5), 1); in test_shutdown() 117 Executors.newFixedThreadPool(5), 1); in test_shutdownNow() 138 ExecutorService executorService = Executors.newFixedThreadPool(5); in test_isTerminated() 157 Executors.newFixedThreadPool(5), 1); in test_awaitTermination()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ExecutorsTest.java | 127 final ExecutorService e = Executors.newFixedThreadPool(2); in testNewFixedThreadPool1() 139 final ExecutorService e = Executors.newFixedThreadPool(2, new SimpleThreadFactory()); in testNewFixedThreadPool2() 152 ExecutorService e = Executors.newFixedThreadPool(2, null); in testNewFixedThreadPool3() 162 ExecutorService e = Executors.newFixedThreadPool(0); in testNewFixedThreadPool4() 171 …final ExecutorService e = Executors.unconfigurableExecutorService(Executors.newFixedThreadPool(2)); in testUnconfigurableExecutorService() 280 Executors.newFixedThreadPool(2), in testTimedCallable()
|
D | SynchronousQueueTest.java | 481 final ExecutorService executor = Executors.newFixedThreadPool(2); 508 final ExecutorService executor = Executors.newFixedThreadPool(2);
|
D | LinkedBlockingQueueTest.java | 731 final ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor() 755 final ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor()
|
D | ArrayBlockingQueueTest.java | 797 final ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor() 822 final ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor()
|
D | LinkedTransferQueueTest.java | 604 final ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor() 630 final ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor()
|
D | PriorityBlockingQueueTest.java | 632 final ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor()
|
D | DelayQueueTest.java | 675 final ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor()
|
D | FutureTaskTest.java | 822 final ExecutorService pool = Executors.newFixedThreadPool(10); in testGet_NegativeInfinityTimeout()
|
D | LinkedBlockingDequeTest.java | 1685 final ExecutorService executor = Executors.newFixedThreadPool(2); 1709 final ExecutorService executor = Executors.newFixedThreadPool(2);
|
/libcore/luni/src/test/java/tests/security/ |
D | SecureRandomTest.java | 79 ExecutorService executor = Executors.newFixedThreadPool(threads); in testSecureRandomThreadSafety()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | MessageDigestTest.java | 37 ExecutorService es = Executors.newFixedThreadPool(THREAD_COUNT); in testMessageDigest_MultipleThreads_Misuse()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ThreadPool.java | 129 ExecutorService executor = Executors.newFixedThreadPool(nThreads, factory); in create()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLSocketPair.java | 78 ExecutorService executor = Executors.newFixedThreadPool(2); in connect()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Exec.java | 85 ExecutorService executorService = Executors.newFixedThreadPool(2); in execAndGetOutput()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Executors.java | 95 public static ExecutorService newFixedThreadPool(int nThreads) { in newFixedThreadPool() method in Executors 158 public static ExecutorService newFixedThreadPool(int nThreads, ThreadFactory threadFactory) { in newFixedThreadPool() method in Executors
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | Executors.java | 47 public static java.util.concurrent.ExecutorService newFixedThreadPool(int nThreads) { in newFixedThreadPool() method in Executors 59 public static java.util.concurrent.ExecutorService newFixedThreadPool( in newFixedThreadPool() method in Executors
|