Home
last modified time | relevance | path

Searched refs:newThread (Results 1 – 25 of 32) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DThreadFactoryBuilderTest.java58 Thread thread = threadFactory.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults()
62 Executors.defaultThreadFactory().newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults()
76 Thread thread2 = threadFactory.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults()
84 Thread thread3 = threadFactory2.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults()
101 factory.newThread(monitoredRunnable).getName()); in testNameFormatWithPercentS_custom()
110 factory.newThread(monitoredRunnable).getName()); in testNameFormatWithPercentD_custom()
116 Thread thread = factory.newThread(monitoredRunnable); in testDaemon_false()
122 Thread thread = factory.newThread(monitoredRunnable); in testDaemon_true()
129 Thread thread = factory.newThread(monitoredRunnable); in testPriority_custom()
153 .newThread(monitoredRunnable).getUncaughtExceptionHandler()); in testUncaughtExceptionHandler_custom()
[all …]
DMoreExecutorsTest.java537 assertTrue(executor.getThreadFactory().newThread(EMPTY_RUNNABLE).isDaemon()); in testGetExitingExcutorService_executorSetToUseDaemonThreads()
563 assertTrue(executor.getThreadFactory().newThread(EMPTY_RUNNABLE).isDaemon()); in testGetExitingScheduledExcutorService_executorSetToUseDaemonThreads()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Drdtsc_buckets.cpp50 BUCKET_THREAD newThread; in RegisterThread() local
51 newThread.name = name; in RegisterThread()
52 newThread.root.children.reserve(mBuckets.size()); in RegisterThread()
53 newThread.root.id = 0; in RegisterThread()
54 newThread.root.pParent = nullptr; in RegisterThread()
55 newThread.pCurrent = &newThread.root; in RegisterThread()
61 newThread.id = (UINT)id; in RegisterThread()
65 mThreads.push_back(newThread); in RegisterThread()
/external/libchrome/base/android/javatests/src/org/chromium/base/
DAsyncTaskTest.java65 public Thread newThread(@NonNull Runnable r) { in testChromeThreadPoolExecutorRunnables()
90 public Thread newThread(@NonNull Runnable r) { in testChromeThreadPoolExecutorChromeAsyncTask()
114 public Thread newThread(@NonNull Runnable r) { in testChromeThreadPoolExecutorOsAsyncTask()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/internal/
DDaemonThreadFactory.java45 public Thread newThread(Runnable r) { in newThread() method in DaemonThreadFactory
46 Thread thread = threadFactory.newThread(r); in newThread()
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverStatsExporter.java93 this.workerThread = new DaemonThreadFactory().newThread(worker); in StackdriverStatsExporter()
354 public Thread newThread(Runnable r) { in newThread() method in StackdriverStatsExporter.DaemonThreadFactory
355 Thread thread = threadFactory.newThread(r); in newThread()
/external/guava/guava/src/com/google/common/util/concurrent/
DThreadFactoryBuilder.java161 @Override public Thread newThread(Runnable runnable) { in build()
162 Thread thread = backingThreadFactory.newThread(runnable); in build()
DAbstractScheduledService.java289 @Override public Thread newThread(Runnable runnable) {
290 return MoreExecutors.newThread(serviceName(), runnable);
DMoreExecutors.java195 addShutdownHook(MoreExecutors.newThread("DelayedShutdownHook-for-" + service, new Runnable() { in addDelayedShutdownHook()
813 static Thread newThread(String name, Runnable runnable) { in newThread() method in MoreExecutors
816 Thread result = platformThreadFactory().newThread(runnable); in newThread()
DAbstractIdleService.java100 MoreExecutors.newThread(threadNameSupplier.get(), command).start(); in executor()
DAbstractExecutionThreadService.java146 MoreExecutors.newThread(serviceName(), command).start(); in executor()
/external/testng/src/main/java/org/testng/internal/thread/
DThreadUtil.java51 public Thread newThread(Runnable r) { in execute()
113 public Thread newThread(Runnable run) { in newThread() method in ThreadUtil.ThreadFactoryImpl
DIThreadFactory.java12 Thread newThread(Runnable run); in newThread() method
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/driver/
DLoadServer.java152 public ForkJoinWorkerThread newThread(ForkJoinPool pool) { in getExecutor() method
153 ForkJoinWorkerThread thread = defaultForkJoinWorkerThreadFactory.newThread(pool); in getExecutor()
/external/vogar/src/vogar/util/
DThreads.java35 public synchronized Thread newThread(Runnable r) { in daemonThreadFactory() method
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/
DUtils.java183 public ForkJoinWorkerThread newThread(ForkJoinPool pool) { in getExecutor()
184 ForkJoinWorkerThread thread = defaultForkJoinWorkerThreadFactory.newThread(pool); in getExecutor()
/external/testng/src/main/java/org/testng/internal/
DPoolService.java29 public Thread newThread(Runnable r) { in PoolService()
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/qps/
DAsyncServer.java181 public ForkJoinWorkerThread newThread(ForkJoinPool pool) { in newServer()
183 ForkJoinPool.defaultForkJoinWorkerThreadFactory.newThread(pool); in newServer()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DInactivityTimer.java88 public Thread newThread(Runnable runnable) { in newThread() method in InactivityTimer.DaemonThreadFactory
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/executor/
DFifoPriorityThreadPoolExecutor.java47 public Thread newThread(Runnable runnable) { in newThread() method in FifoPriorityThreadPoolExecutor.DefaultThreadFactory
/external/testng/src/main/java/org/testng/internal/thread/graph/
DGraphThreadPoolExecutor.java149 public Thread newThread(Runnable r) { in newThread() method in TestNGThreadPoolFactory
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/export/
DSpanExporterImpl.java88 new DaemonThreadFactory("ExportComponent.ServiceExporterThread").newThread(worker); in SpanExporterImpl()
/external/mockito/src/test/java/org/mockitoutil/
DClassLoaders.java109 public Thread newThread(Runnable r) { in execute()
110 Thread thread = Executors.defaultThreadFactory().newThread(r); in execute()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DUtil.java230 @Override public Thread newThread(Runnable runnable) { in threadFactory()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/
DUtil.java230 @Override public Thread newThread(Runnable runnable) { in threadFactory()

12