Home
last modified time | relevance | path

Searched refs:threadFactory (Results 1 – 17 of 17) 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.java93 new LinkedBlockingQueue<Runnable>(), Util.threadFactory("OkHttp ConnectionPool", true));
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSocksProxy.java55 Util.threadFactory("SocksProxy", false));
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/
DWebSocketCall.java202 Util.threadFactory(String.format("OkHttp %s WebSocket", url), true)); in create()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DUtil.java239 public static ThreadFactory threadFactory(final String name, final boolean daemon) { in threadFactory() method in Util
DDiskLruCache.java257 new LinkedBlockingQueue<Runnable>(), Util.threadFactory("OkHttp DiskLruCache", true)); in create()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
DSpdyConnection.java68 Util.threadFactory("OkHttp SpdyConnection", true));
157 Util.threadFactory(String.format("OkHttp %s Push Observer", hostName), true)); in SpdyConnection()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
DMockSpdyPeer.java49 Util.threadFactory("MockSpdyPeer", false));
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java315 executor = Executors.newCachedThreadPool(Util.threadFactory("MockWebServer", false)); in start()
645 Util.threadFactory(String.format("MockWebServer %s WebSocket", request.getPath()), in handleWebSocketUpgrade()
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...