Home
last modified time | relevance | path

Searched refs:newSingleThreadExecutor (Results 1 – 8 of 8) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java55 ExecutorService e = Executors.newSingleThreadExecutor(); in testNewSingleThreadExecutor1()
66 ExecutorService e = Executors.newSingleThreadExecutor(new SimpleThreadFactory()); in testNewSingleThreadExecutor2()
78 ExecutorService e = Executors.newSingleThreadExecutor(null); in testNewSingleThreadExecutor3()
87 ExecutorService e = Executors.newSingleThreadExecutor(); in testCastNewSingleThreadExecutor()
255 Executors.newSingleThreadExecutor(), in testTimedCallable()
307 ExecutorService e = Executors.newSingleThreadExecutor(Executors.defaultThreadFactory()); in testDefaultThreadFactory()
349 … ExecutorService e = Executors.newSingleThreadExecutor(Executors.privilegedThreadFactory()); in testPrivilegedThreadFactory()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java319 ExecutorService executor = Executors.newSingleThreadExecutor(); in test_SSLSocket_startHandshake()
372 final ExecutorService executor = Executors.newSingleThreadExecutor(); in test_SSLSocket_confirmSessionReuse()
412 ExecutorService executor = Executors.newSingleThreadExecutor(); in test_SSLSocket_startHandshake_noKeyStore()
442 ExecutorService executor = Executors.newSingleThreadExecutor(); in test_SSLSocket_startHandshake_noClientCertificate()
462 ExecutorService executor = Executors.newSingleThreadExecutor(); in test_SSLSocket_HandshakeCompletedListener()
584 ExecutorService executor = Executors.newSingleThreadExecutor(); in test_SSLSocket_HandshakeCompletedListener_RuntimeException()
650 ExecutorService executor = Executors.newSingleThreadExecutor(); in test_SSLSocket_setUseClientMode()
704 ExecutorService executor = Executors.newSingleThreadExecutor(); in test_SSLSocket_untrustedServer()
734 ExecutorService executor = Executors.newSingleThreadExecutor(); in test_SSLSocket_clientAuth()
806 ExecutorService executor = Executors.newSingleThreadExecutor(); in test_SSLSocket_clientAuth_bogusAlias()
[all …]
/libcore/luni/src/test/java/libcore/java/util/zip/
DDeflaterOutputStreamTest.java72 ExecutorService executor = Executors.newSingleThreadExecutor(); in createInflaterStream()
/libcore/luni/src/main/java/java/util/concurrent/
DExecutors.java143 public static ExecutorService newSingleThreadExecutor() { in newSingleThreadExecutor() method in Executors
164 public static ExecutorService newSingleThreadExecutor(ThreadFactory threadFactory) { in newSingleThreadExecutor() method in Executors
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DOutputStreamTesterTest.java123 executor = Executors.newSingleThreadExecutor(); in create()
DWriterTesterTest.java116 executor = Executors.newSingleThreadExecutor(); in create()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCopyOnWriteArrayListTest.java179 ExecutorService executor = Executors.newSingleThreadExecutor(); in testAddAllIsAtomic()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java677 ExecutorService executor = Executors.newSingleThreadExecutor(); in checkSignedJar()