/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ThreadPool.java | 73 static ThreadFactory defaultThreadFactory() { in defaultThreadFactory() 117 ThreadFactory threadFactory = getDefaultThreadPoolThreadFactory(); in createDefault() 126 static ThreadPool create(int nThreads, ThreadFactory factory) { in create() 170 private static ThreadFactory getDefaultThreadPoolThreadFactory() { in getDefaultThreadPoolThreadFactory() 177 return ((ThreadFactory)c.newInstance()); in getDefaultThreadPoolThreadFactory()
|
D | LinuxAsynchronousChannelProvider.java | 31 import java.util.concurrent.ThreadFactory; 54 … public AsynchronousChannelGroup openAsynchronousChannelGroup(int nThreads, ThreadFactory factory) in openAsynchronousChannelGroup()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Executors.java | 158 public static ExecutorService newFixedThreadPool(int nThreads, ThreadFactory threadFactory) { in newFixedThreadPool() 199 public static ExecutorService newSingleThreadExecutor(ThreadFactory threadFactory) { in newSingleThreadExecutor() 238 public static ExecutorService newCachedThreadPool(ThreadFactory threadFactory) { in newCachedThreadPool() 279 …public static ScheduledExecutorService newSingleThreadScheduledExecutor(ThreadFactory threadFactor… in newSingleThreadScheduledExecutor() 308 int corePoolSize, ThreadFactory threadFactory) { in newScheduledThreadPool() 358 public static ThreadFactory defaultThreadFactory() { in defaultThreadFactory() 366 public static ThreadFactory privilegedThreadFactory() { in privilegedThreadFactory() 551 private static class DefaultThreadFactory implements ThreadFactory {
|
D | ThreadFactory.java | 58 public interface ThreadFactory { interface
|
D | ThreadPoolExecutor.java | 532 private volatile ThreadFactory threadFactory; 1254 ThreadFactory threadFactory) { in ThreadPoolExecutor() 1326 ThreadFactory threadFactory, in ThreadPoolExecutor() 1509 public void setThreadFactory(ThreadFactory threadFactory) { in setThreadFactory() 1521 public ThreadFactory getThreadFactory() { in getThreadFactory()
|
D | ScheduledThreadPoolExecutor.java | 471 ThreadFactory threadFactory) { in ScheduledThreadPoolExecutor() 510 ThreadFactory threadFactory, in ScheduledThreadPoolExecutor()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | Executors.java | 60 int nThreads, java.util.concurrent.ThreadFactory threadFactory) { in newFixedThreadPool() 69 java.util.concurrent.ThreadFactory threadFactory) { in newSingleThreadExecutor() 78 java.util.concurrent.ThreadFactory threadFactory) { in newCachedThreadPool() 87 java.util.concurrent.ThreadFactory threadFactory) { in newSingleThreadScheduledExecutor() 97 int corePoolSize, java.util.concurrent.ThreadFactory threadFactory) { in newScheduledThreadPool() 112 public static java.util.concurrent.ThreadFactory defaultThreadFactory() { in defaultThreadFactory() 116 public static java.util.concurrent.ThreadFactory privilegedThreadFactory() { in privilegedThreadFactory() 150 private static class DefaultThreadFactory implements java.util.concurrent.ThreadFactory {
|
D | ThreadPoolExecutor.java | 58 java.util.concurrent.ThreadFactory threadFactory) { in ThreadPoolExecutor() 78 java.util.concurrent.ThreadFactory threadFactory, in ThreadPoolExecutor() 213 public void setThreadFactory(java.util.concurrent.ThreadFactory threadFactory) { in setThreadFactory() 217 public java.util.concurrent.ThreadFactory getThreadFactory() { in getThreadFactory() 385 private volatile java.util.concurrent.ThreadFactory threadFactory;
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | AsynchronousChannelGroup.java | 31 import java.util.concurrent.ThreadFactory; 182 ThreadFactory threadFactory) in withFixedThreadPool()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/spi/ |
D | AsynchronousChannelProviderTest.java | 24 import java.util.concurrent.ThreadFactory; 48 private static class TestThreadFactory implements ThreadFactory {
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | AsynchronousChannelGroupTest.java | 27 import java.util.concurrent.ThreadFactory; 171 private static class TestThreadFactory implements ThreadFactory {
|
D | AsynchronousFileChannelTest.java | 45 import java.util.concurrent.ThreadFactory; 647 ExecutorService executorService = Executors.newSingleThreadExecutor(new ThreadFactory() { in testCustomExecutor()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | UNIXProcess.java | 41 import java.util.concurrent.ThreadFactory; 92 private static class ProcessReaperThreadFactory implements ThreadFactory {
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | AsynchronousChannelProvider.java | 187 openAsynchronousChannelGroup(int nThreads, ThreadFactory threadFactory) throws IOException;
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | UNIXProcess.java | 156 private static class ProcessReaperThreadFactory implements java.util.concurrent.ThreadFactory {
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ThreadPoolExecutorSubclassTest.java | 56 import java.util.concurrent.ThreadFactory; 195 ThreadFactory threadFactory) { in CustomTPE() 214 ThreadFactory threadFactory, in CustomTPE() 248 static class FailingThreadFactory implements ThreadFactory { 409 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() 430 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() 966 (ThreadFactory) null); in testConstructorNullPointerException3() 1153 (ThreadFactory) null, in testConstructorNullPointerException8()
|
D | ScheduledExecutorSubclassTest.java | 55 import java.util.concurrent.ThreadFactory; 118 CustomExecutor(int corePoolSize, ThreadFactory threadFactory) { in CustomExecutor() 121 CustomExecutor(int corePoolSize, ThreadFactory threadFactory, in CustomExecutor() 560 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() 571 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory()
|
D | ThreadPoolExecutorTest.java | 57 import java.util.concurrent.ThreadFactory; 101 static class FailingThreadFactory implements ThreadFactory { 262 ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() 283 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() 854 (ThreadFactory) null); in testConstructorNullPointerException3() 1041 (ThreadFactory) null, in testConstructorNullPointerException8()
|
D | ScheduledExecutorTest.java | 54 import java.util.concurrent.ThreadFactory; 504 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() 516 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ThreadPoolExecutorSubclassTest.java | 31 import java.util.concurrent.ThreadFactory; 173 ThreadFactory threadFactory) { in CustomTPE() 192 ThreadFactory threadFactory, in CustomTPE() 226 static class FailingThreadFactory implements ThreadFactory { 387 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() 408 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() 944 (ThreadFactory) null); in testConstructorNullPointerException3() 1131 (ThreadFactory) null, in testConstructorNullPointerException8()
|
D | ScheduledExecutorSubclassTest.java | 30 import java.util.concurrent.ThreadFactory; 96 CustomExecutor(int corePoolSize, ThreadFactory threadFactory) { in CustomExecutor() 99 CustomExecutor(int corePoolSize, ThreadFactory threadFactory, in CustomExecutor() 538 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() 549 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory()
|
D | ThreadPoolExecutorTest.java | 31 import java.util.concurrent.ThreadFactory; 79 static class FailingThreadFactory implements ThreadFactory { 240 ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() 261 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory() 832 (ThreadFactory) null); in testConstructorNullPointerException3() 1019 (ThreadFactory) null, in testConstructorNullPointerException8()
|
D | ScheduledExecutorTest.java | 29 import java.util.concurrent.ThreadFactory; 482 final ThreadFactory threadFactory = new SimpleThreadFactory(); in testGetThreadFactory() 494 ThreadFactory threadFactory = new SimpleThreadFactory(); in testSetThreadFactory()
|
D | JSR166TestCase.java | 51 import java.util.concurrent.ThreadFactory; 1630 public static class SimpleThreadFactory implements ThreadFactory {
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | PollingWatchService.java | 58 .newSingleThreadScheduledExecutor(new ThreadFactory() { in PollingWatchService()
|