Searched refs:newFixedThreadPool (Results 1 – 17 of 17) sorted by relevance
124 ExecutorService e = Executors.newFixedThreadPool(2); in testNewFixedThreadPool1()135 ExecutorService e = Executors.newFixedThreadPool(2, new SimpleThreadFactory()); in testNewFixedThreadPool2()147 ExecutorService e = Executors.newFixedThreadPool(2, null); in testNewFixedThreadPool3()157 ExecutorService e = Executors.newFixedThreadPool(0); in testNewFixedThreadPool4()166 … ExecutorService e = Executors.unconfigurableExecutorService(Executors.newFixedThreadPool(2)); in testUnconfigurableExecutorService()280 Executors.newFixedThreadPool(2), in testTimedCallable()
477 ExecutorService executor = Executors.newFixedThreadPool(2);505 ExecutorService executor = Executors.newFixedThreadPool(2);
730 ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor()755 ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor()
796 ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor()822 ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor()
601 ExecutorService executor = Executors.newFixedThreadPool(2); in testOfferInExecutor()625 ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor()
632 ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor()
671 ExecutorService executor = Executors.newFixedThreadPool(2); in testPollInExecutor()
822 final ExecutorService pool = Executors.newFixedThreadPool(10); in testGet_NegativeInfinityTimeout()
1678 ExecutorService executor = Executors.newFixedThreadPool(2);1703 ExecutorService executor = Executors.newFixedThreadPool(2);
85 ExecutorService executorService = Executors.newFixedThreadPool(2); in execAndGetOutput()125 ExecutorService executorService = Executors.newFixedThreadPool(2); in execAndCheckOutput()
79 ExecutorService executor = Executors.newFixedThreadPool(threads); in testSecureRandomThreadSafety()
79 ExecutorService executor = Executors.newFixedThreadPool(2); in connect()
61 public static ExecutorService newFixedThreadPool(int nThreads) { in newFixedThreadPool() method in Executors124 public static ExecutorService newFixedThreadPool(int nThreads, ThreadFactory threadFactory) { in newFixedThreadPool() method in Executors
69 executor = Executors.newFixedThreadPool(1); in onCreate()
250 ExecutorService es = Executors.newFixedThreadPool(THREAD_COUNT); in testMessageDigest_MultipleThreads_Misuse()
1683 ExecutorService es = Executors.newFixedThreadPool(THREAD_COUNT); in testSignature_MultipleThreads_Misuse()
1659 ExecutorService executorService = Executors.newFixedThreadPool(2); in captureTlsHandshakeFirstTransmittedChunkBytes()1763 ExecutorService executor = Executors.newFixedThreadPool(2); in test_SSLSocket_sendsTlsFallbackScsv_Fallback_Success()1801 ExecutorService executor = Executors.newFixedThreadPool(2); in test_SSLSocket_sendsNoTlsFallbackScsv_Fallback_Success()1844 ExecutorService executor = Executors.newFixedThreadPool(2); in test_SSLSocket_sendsTlsFallbackScsv_InappropriateFallback_Failure()1893 ExecutorService executor = Executors.newFixedThreadPool(2); in test_SSLSocket_ClientGetsAlertDuringHandshake_HasGoodExceptionMessage()1944 ExecutorService executor = Executors.newFixedThreadPool(2); in test_SSLSocket_ServerGetsAlertDuringHandshake_HasGoodExceptionMessage()