Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DMoreExecutorsTest.java537 assertTrue(executor.getThreadFactory().newThread(EMPTY_RUNNABLE).isDaemon()); in testGetExitingExcutorService_executorSetToUseDaemonThreads()
544 when(executor.getThreadFactory()).thenReturn(threadFactory); in testGetExitingExcutorService_executorDelegatesToOriginal()
553 when(executor.getThreadFactory()).thenReturn(threadFactory); in testGetExitingExcutorService_shutdownHookRegistered()
563 assertTrue(executor.getThreadFactory().newThread(EMPTY_RUNNABLE).isDaemon()); in testGetExitingScheduledExcutorService_executorSetToUseDaemonThreads()
570 when(executor.getThreadFactory()).thenReturn(threadFactory); in testGetExitingScheduledExcutorService_executorDelegatesToOriginal()
580 when(executor.getThreadFactory()).thenReturn(threadFactory); in testGetScheduledExitingExcutorService_shutdownHookRegistered()
/external/testng/src/main/java/org/testng/internal/thread/
DIThreadFactory.java14 Object getThreadFactory(); in getThreadFactory() method
DExecutorAdapter.java24 (ThreadFactory) tf.getThreadFactory()); in ExecutorAdapter()
DThreadUtil.java120 public Object getThreadFactory() { in getThreadFactory() method in ThreadUtil.ThreadFactoryImpl
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DGrpcUtil.java493 return Executors.newCachedThreadPool(getThreadFactory(NAME + "-%d", true));
518 getThreadFactory("grpc-timer-%d", true));
553 public static ThreadFactory getThreadFactory(String nameFormat, boolean daemon) { in getThreadFactory() method in GrpcUtil
DSharedResourceHolder.java51 GrpcUtil.getThreadFactory("grpc-shared-destroyer-%d", true));
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpChannelBuilder.java129 return Executors.newCachedThreadPool(GrpcUtil.getThreadFactory("grpc-okhttp-%d", true));
/external/guava/guava/src/com/google/common/util/concurrent/
DMoreExecutors.java230 .setThreadFactory(executor.getThreadFactory()) in useDaemonThreadFactory()