Home
last modified time | relevance | path

Searched refs:threadFactory (Results 1 – 14 of 14) sorted by relevance

/external/vogar/src/vogar/util/
DThreads.java48 ThreadFactory threadFactory = daemonThreadFactory(name); in fixedThreadsExecutor() local
51 new LinkedBlockingQueue<Runnable>(Integer.MAX_VALUE), threadFactory) { in fixedThreadsExecutor()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DMoreExecutorsTest.java543 ThreadFactory threadFactory = mock(ThreadFactory.class); in testGetExitingExcutorService_executorDelegatesToOriginal() local
544 when(executor.getThreadFactory()).thenReturn(threadFactory); in testGetExitingExcutorService_executorDelegatesToOriginal()
552 ThreadFactory threadFactory = mock(ThreadFactory.class); in testGetExitingExcutorService_shutdownHookRegistered() local
553 when(executor.getThreadFactory()).thenReturn(threadFactory); in testGetExitingExcutorService_shutdownHookRegistered()
569 ThreadFactory threadFactory = mock(ThreadFactory.class); in testGetExitingScheduledExcutorService_executorDelegatesToOriginal() local
570 when(executor.getThreadFactory()).thenReturn(threadFactory); in testGetExitingScheduledExcutorService_executorDelegatesToOriginal()
579 ThreadFactory threadFactory = mock(ThreadFactory.class); in testGetScheduledExitingExcutorService_shutdownHookRegistered() local
580 when(executor.getThreadFactory()).thenReturn(threadFactory); in testGetScheduledExitingExcutorService_shutdownHookRegistered()
DThreadFactoryBuilderTest.java57 ThreadFactory threadFactory = builder.build(); in testThreadFactoryBuilder_defaults() local
58 Thread thread = threadFactory.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults()
76 Thread thread2 = threadFactory.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults()
/external/guava/guava/src/com/google/common/util/concurrent/
DJdkFutureAdapters.java112 private static final ThreadFactory threadFactory = field in JdkFutureAdapters.ListenableFutureAdapter
118 Executors.newCachedThreadPool(threadFactory);
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/executor/
DFifoPriorityThreadPoolExecutor.java31 ThreadFactory threadFactory) { in FifoPriorityThreadPoolExecutor() argument
32 …lSize, maximumPoolSize, keepAlive, timeUnit, new PriorityBlockingQueue<Runnable>(), threadFactory); in FifoPriorityThreadPoolExecutor()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DDispatcher.java62 new SynchronousQueue<Runnable>(), Util.threadFactory("OkHttp Dispatcher", false)); in getExecutorService()
DConnectionPool.java86 new LinkedBlockingQueue<Runnable>(), Util.threadFactory("OkHttp ConnectionPool", true));
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/
DWebSocketCall.java164 Util.threadFactory(String.format("OkHttp %s WebSocket", url), true)); in create()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSocksProxy.java57 Util.threadFactory("SocksProxy", false));
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedConnection.java71 Util.threadFactory("OkHttp FramedConnection", true));
159 Util.threadFactory(String.format("OkHttp %s Push Observer", hostName), true)); in FramedConnection()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DUtil.java222 public static ThreadFactory threadFactory(final String name, final boolean daemon) { in threadFactory() method in Util
DDiskLruCache.java256 new LinkedBlockingQueue<Runnable>(), Util.threadFactory("OkHttp DiskLruCache", true)); in create()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DMockSpdyPeer.java52 Util.threadFactory("MockSpdyPeer", false));
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java349 executor = Executors.newCachedThreadPool(Util.threadFactory("MockWebServer", false));
673 Util.threadFactory(String.format("MockWebServer %s WebSocket", request.getPath()),