/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | ThreadFactoryBuilderTest.java | 25 import java.util.concurrent.ThreadFactory; 60 ThreadFactory threadFactory = builder.build(); in testThreadFactoryBuilder_defaults() 84 ThreadFactory threadFactory2 = builder.build(); in testThreadFactoryBuilder_defaults() 97 ThreadFactory factory = builder.setNameFormat(format).build(); in testNameFormatWithPercentS_custom() 105 ThreadFactory factory = builder.setNameFormat(format).build(); in testNameFormatWithPercentD_custom() 112 ThreadFactory factory = builder.setDaemon(false).build(); in testDaemon_false() 118 ThreadFactory factory = builder.setDaemon(true).build(); in testDaemon_true() 125 ThreadFactory factory = builder.setPriority(i).build(); in testPriority_custom() 158 ThreadFactory factory1 = builder.setPriority(1).build(); in testBuildMutateBuild() 161 ThreadFactory factory2 = builder.setPriority(2).build(); in testBuildMutateBuild() [all …]
|
D | MoreExecutorsTest.java | 70 import java.util.concurrent.ThreadFactory; 594 ThreadFactory threadFactory = mock(ThreadFactory.class); in testGetExitingExecutorService_executorDelegatesToOriginal() 603 ThreadFactory threadFactory = mock(ThreadFactory.class); in testGetExitingExecutorService_shutdownHookRegistered() 620 ThreadFactory threadFactory = mock(ThreadFactory.class); in testGetExitingScheduledExecutorService_executorDelegatesToOriginal() 630 ThreadFactory threadFactory = mock(ThreadFactory.class); in testGetScheduledExitingExecutorService_shutdownHookRegistered() 638 ThreadFactory factory = MoreExecutors.platformThreadFactory(); in testPlatformThreadFactory_default()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | ThreadFactoryBuilderTest.java | 25 import java.util.concurrent.ThreadFactory; 60 ThreadFactory threadFactory = builder.build(); in testThreadFactoryBuilder_defaults() 84 ThreadFactory threadFactory2 = builder.build(); in testThreadFactoryBuilder_defaults() 97 ThreadFactory factory = builder.setNameFormat(format).build(); in testNameFormatWithPercentS_custom() 105 ThreadFactory factory = builder.setNameFormat(format).build(); in testNameFormatWithPercentD_custom() 112 ThreadFactory factory = builder.setDaemon(false).build(); in testDaemon_false() 118 ThreadFactory factory = builder.setDaemon(true).build(); in testDaemon_true() 125 ThreadFactory factory = builder.setPriority(i).build(); in testPriority_custom() 158 ThreadFactory factory1 = builder.setPriority(1).build(); in testBuildMutateBuild() 161 ThreadFactory factory2 = builder.setPriority(2).build(); in testBuildMutateBuild() [all …]
|
D | MoreExecutorsTest.java | 70 import java.util.concurrent.ThreadFactory; 594 ThreadFactory threadFactory = mock(ThreadFactory.class); in testGetExitingExecutorService_executorDelegatesToOriginal() 603 ThreadFactory threadFactory = mock(ThreadFactory.class); in testGetExitingExecutorService_shutdownHookRegistered() 620 ThreadFactory threadFactory = mock(ThreadFactory.class); in testGetExitingScheduledExecutorService_executorDelegatesToOriginal() 630 ThreadFactory threadFactory = mock(ThreadFactory.class); in testGetScheduledExitingExecutorService_shutdownHookRegistered() 638 ThreadFactory factory = MoreExecutors.platformThreadFactory(); in testPlatformThreadFactory_default()
|
/external/guava/android/guava/src/com/google/common/util/concurrent/ |
D | ThreadFactoryBuilder.java | 26 import java.util.concurrent.ThreadFactory; 53 private ThreadFactory backingThreadFactory = null; 131 public ThreadFactoryBuilder setThreadFactory(ThreadFactory backingThreadFactory) { in setThreadFactory() 144 public ThreadFactory build() { in build() 150 private static ThreadFactory doBuild(ThreadFactoryBuilder builder) { in doBuild() 155 final ThreadFactory backingThreadFactory = in doBuild() 160 return new ThreadFactory() { in doBuild()
|
D | JdkFutureAdapters.java | 25 import java.util.concurrent.ThreadFactory; 99 private static final ThreadFactory threadFactory =
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | ThreadFactoryBuilder.java | 26 import java.util.concurrent.ThreadFactory; 53 private ThreadFactory backingThreadFactory = null; 131 public ThreadFactoryBuilder setThreadFactory(ThreadFactory backingThreadFactory) { in setThreadFactory() 144 public ThreadFactory build() { in build() 150 private static ThreadFactory doBuild(ThreadFactoryBuilder builder) { in doBuild() 155 final ThreadFactory backingThreadFactory = in doBuild() 160 return new ThreadFactory() { in doBuild()
|
D | JdkFutureAdapters.java | 25 import java.util.concurrent.ThreadFactory; 99 private static final ThreadFactory threadFactory =
|
/external/vogar/src/vogar/util/ |
D | Threads.java | 21 import java.util.concurrent.ThreadFactory; 32 public static ThreadFactory daemonThreadFactory(final String name) { in daemonThreadFactory() 33 return new ThreadFactory() { in daemonThreadFactory() 48 ThreadFactory threadFactory = daemonThreadFactory(name); in fixedThreadsExecutor()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/internal/ |
D | DaemonThreadFactory.java | 20 import java.util.concurrent.ThreadFactory; 24 public final class DaemonThreadFactory implements ThreadFactory { 31 private static final ThreadFactory threadFactory = MoreExecutors.platformThreadFactory();
|
/external/libchrome/base/android/javatests/src/org/chromium/base/ |
D | AsyncTaskTest.java | 21 import java.util.concurrent.ThreadFactory; 63 new ArrayBlockingQueue<Runnable>(QUEUE_SIZE), new ThreadFactory() { in testChromeThreadPoolExecutorRunnables() 88 new ArrayBlockingQueue<Runnable>(QUEUE_SIZE), new ThreadFactory() { in testChromeThreadPoolExecutorChromeAsyncTask() 112 new ArrayBlockingQueue<Runnable>(QUEUE_SIZE), new ThreadFactory() { in testChromeThreadPoolExecutorOsAsyncTask()
|
/external/testng/src/main/java/org/testng/internal/ |
D | PoolService.java | 13 import java.util.concurrent.ThreadFactory; 21 private ThreadFactory m_threadFactory; 25 m_threadFactory = new ThreadFactory() { in PoolService()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/ |
D | WithTimeoutOrNullThreadDispatchTest.kt | 10 import java.util.concurrent.ThreadFactory 58 …private fun checkCancellationDispatch(factory: (ThreadFactory) -> CoroutineDispatcher) = runBlocki… in <lambda>() 61 val dispatcher = factory(ThreadFactory { Thread(it).also { thread = it } }) in <lambda>()
|
D | WithTimeoutThreadDispatchTest.kt | 10 import java.util.concurrent.ThreadFactory 58 …private fun checkCancellationDispatch(factory: (ThreadFactory) -> CoroutineDispatcher) = runBlocki… in <lambda>() 61 val dispatcher = factory(ThreadFactory { Thread(it).also { thread = it } }) in <lambda>()
|
/external/tensorflow/tensorflow/core/framework/ |
D | thread_factory.h | 28 class ThreadFactory { 30 virtual ~ThreadFactory() {} in ~ThreadFactory()
|
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/qps/ |
D | AsyncServer.java | 42 import java.util.concurrent.ThreadFactory; 96 ThreadFactory tf = new DefaultThreadFactory("server-elg-", true /*daemon */); in newServer() 114 .getConstructor(int.class, ThreadFactory.class) in newServer() 119 .getConstructor(int.class, ThreadFactory.class) in newServer() 137 .getConstructor(int.class, ThreadFactory.class) in newServer() 142 .getConstructor(int.class, ThreadFactory.class) in newServer()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/executor/ |
D | FifoPriorityThreadPoolExecutor.java | 6 import java.util.concurrent.ThreadFactory; 31 ThreadFactory threadFactory) { in FifoPriorityThreadPoolExecutor() 44 public static class DefaultThreadFactory implements ThreadFactory {
|
/external/testng/src/main/java/org/testng/internal/thread/ |
D | ThreadUtil.java | 11 import java.util.concurrent.ThreadFactory; 49 new ThreadFactory() { in execute() 104 public static class ThreadFactoryImpl implements IThreadFactory, ThreadFactory {
|
D | ExecutorAdapter.java | 6 import java.util.concurrent.ThreadFactory; 24 (ThreadFactory) tf.getThreadFactory()); in ExecutorAdapter()
|
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/ |
D | HandshakerServiceChannel.java | 26 import java.util.concurrent.ThreadFactory; 72 ThreadFactory clientThreadFactory = new DefaultThreadFactory("handshaker pool", true); in getHandshakerChannelPoolForTesting()
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | unbounded_thread_pool.cc | 53 class UnboundedThreadPool::LogicalThreadFactory : public ThreadFactory { 68 std::shared_ptr<ThreadFactory> UnboundedThreadPool::get_thread_factory() { in get_thread_factory()
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
D | InactivityTimer.java | 29 import java.util.concurrent.ThreadFactory; 87 private static final class DaemonThreadFactory implements ThreadFactory {
|
/external/downloader/src/test/java/com/google/android/downloader/ |
D | TestExecutorRule.java | 29 import java.util.concurrent.ThreadFactory; 42 private final ThreadFactory threadFactory =
|
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverStatsExporter.java | 36 import java.util.concurrent.ThreadFactory; 345 static final class DaemonThreadFactory implements ThreadFactory { 351 private static final ThreadFactory threadFactory = MoreExecutors.platformThreadFactory();
|
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/ |
D | Util.java | 38 import java.util.concurrent.ThreadFactory; 228 public static ThreadFactory threadFactory(final String name, final boolean daemon) { in threadFactory() 229 return new ThreadFactory() { in threadFactory()
|