Home
last modified time | relevance | path

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

12

/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-ws/src/main/java/com/squareup/okhttp/ws/
DWebSocketCall.java182 Util.threadFactory(String.format("OkHttp %s WebSocket", url), true)); in create()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSocksProxy.java55 Util.threadFactory("SocksProxy", false));
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedConnection.java70 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.java346 executor = Executors.newCachedThreadPool(Util.threadFactory("MockWebServer", false));
669 Util.threadFactory(String.format("MockWebServer %s WebSocket", request.getPath()),
/external/robolectric/v3/libs/
Dsqlite4java-0.282.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/almworks/ com/ ...
/external/robolectric/v1/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/guice/extensions/persist/lib/
Dhsqldb.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hsqldb/ org/ ...
/external/guice/extensions/struts2/lib/
Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.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/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12