Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java80 final ExecutorService e = Executors.newSingleThreadExecutor(); in testNewSingleThreadExecutor1()
92 final ExecutorService e = Executors.newSingleThreadExecutor(new SimpleThreadFactory()); in testNewSingleThreadExecutor2()
105 ExecutorService e = Executors.newSingleThreadExecutor(null); in testNewSingleThreadExecutor3()
114 final ExecutorService e = Executors.newSingleThreadExecutor(); in testCastNewSingleThreadExecutor()
278 Executors.newSingleThreadExecutor(), in testTimedCallable()
329 ExecutorService e = Executors.newSingleThreadExecutor(Executors.defaultThreadFactory()); in testDefaultThreadFactory()
366 … ExecutorService e = Executors.newSingleThreadExecutor(Executors.privilegedThreadFactory()); in testPrivilegedThreadFactory()
/libcore/luni/src/test/java/libcore/java/nio/channels/spi/
DAsynchronousChannelProviderTest.java36 assertNotNull(provider.openAsynchronousChannelGroup(Executors.newSingleThreadExecutor(), in test_open_methods()
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutors.java178 public static ExecutorService newSingleThreadExecutor() { in newSingleThreadExecutor() method in Executors
199 public static ExecutorService newSingleThreadExecutor(ThreadFactory threadFactory) { in newSingleThreadExecutor() method in Executors
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DExecutors.java64 public static java.util.concurrent.ExecutorService newSingleThreadExecutor() { in newSingleThreadExecutor() method in Executors
68 public static java.util.concurrent.ExecutorService newSingleThreadExecutor( in newSingleThreadExecutor() method in Executors
/libcore/luni/src/test/java/libcore/java/util/zip/
DDeflaterOutputStreamTest.java76 ExecutorService executor = Executors.newSingleThreadExecutor(); in createInflaterStream()
/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/nio/channels/
DServerSocketChannelTest.java168 ExecutorService executor = Executors.newSingleThreadExecutor(); in bind_loopback()
DAsynchronousFileChannelTest.java647 ExecutorService executorService = Executors.newSingleThreadExecutor(new ThreadFactory() { in testCustomExecutor()
/libcore/luni/src/test/java/libcore/libcore/net/
DNetworkSecurityPolicyTest.java279 executor = Executors.newSingleThreadExecutor(); in CapturingServerSocket()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCopyOnWriteArrayListTest.java180 ExecutorService executor = Executors.newSingleThreadExecutor(); in testAddAllIsAtomic()