Home
last modified time | relevance | path

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

12

/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DThreadFactoryBuilderTest.java61 Thread thread = threadFactory.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults()
64 Thread defaultThread = Executors.defaultThreadFactory().newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults()
77 Thread thread2 = threadFactory.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults()
85 Thread thread3 = threadFactory2.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults()
99 assertEquals(rootLocaleFormat(format, i), factory.newThread(monitoredRunnable).getName()); in testNameFormatWithPercentS_custom()
107 assertEquals(rootLocaleFormat(format, i), factory.newThread(monitoredRunnable).getName()); in testNameFormatWithPercentD_custom()
113 Thread thread = factory.newThread(monitoredRunnable); in testDaemon_false()
119 Thread thread = factory.newThread(monitoredRunnable); in testDaemon_true()
126 Thread thread = factory.newThread(monitoredRunnable); in testPriority_custom()
153 .newThread(monitoredRunnable) in testUncaughtExceptionHandler_custom()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DThreadFactoryBuilderTest.java61 Thread thread = threadFactory.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults()
64 Thread defaultThread = Executors.defaultThreadFactory().newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults()
77 Thread thread2 = threadFactory.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults()
85 Thread thread3 = threadFactory2.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults()
99 assertEquals(rootLocaleFormat(format, i), factory.newThread(monitoredRunnable).getName()); in testNameFormatWithPercentS_custom()
107 assertEquals(rootLocaleFormat(format, i), factory.newThread(monitoredRunnable).getName()); in testNameFormatWithPercentD_custom()
113 Thread thread = factory.newThread(monitoredRunnable); in testDaemon_false()
119 Thread thread = factory.newThread(monitoredRunnable); in testDaemon_true()
126 Thread thread = factory.newThread(monitoredRunnable); in testPriority_custom()
153 .newThread(monitoredRunnable) in testUncaughtExceptionHandler_custom()
[all …]
/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/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/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/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/android/guava/src/com/google/common/util/concurrent/
DThreadFactoryBuilder.java162 public Thread newThread(Runnable runnable) { in doBuild()
163 Thread thread = backingThreadFactory.newThread(runnable); in doBuild()
DAbstractScheduledService.java329 public Thread newThread(Runnable runnable) {
330 return MoreExecutors.newThread(serviceName(), runnable);
DAbstractIdleService.java112 MoreExecutors.newThread(threadNameSupplier.get(), command).start(); in executor()
DMoreExecutors.java202 MoreExecutors.newThread( in addDelayedShutdownHook()
838 static Thread newThread(String name, Runnable runnable) { in newThread() method in MoreExecutors
841 Thread result = platformThreadFactory().newThread(runnable); in newThread()
DAbstractExecutionThreadService.java166 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/guava/guava/src/com/google/common/util/concurrent/
DThreadFactoryBuilder.java162 public Thread newThread(Runnable runnable) { in doBuild()
163 Thread thread = backingThreadFactory.newThread(runnable); in doBuild()
DAbstractScheduledService.java358 public Thread newThread(Runnable runnable) {
359 return MoreExecutors.newThread(serviceName(), runnable);
DMoreExecutors.java263 MoreExecutors.newThread( in addDelayedShutdownHook()
913 static Thread newThread(String name, Runnable runnable) { in newThread() method in MoreExecutors
916 Thread result = platformThreadFactory().newThread(runnable); in newThread()
DAbstractIdleService.java113 MoreExecutors.newThread(threadNameSupplier.get(), command).start(); in executor()
/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/driver/
DLoadServer.java152 public ForkJoinWorkerThread newThread(ForkJoinPool pool) { in getExecutor() method
153 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/zxing/qr_scanner/src/com/google/zxing/client/android/
DInactivityTimer.java88 public Thread newThread(Runnable runnable) { in newThread() method in InactivityTimer.DaemonThreadFactory
/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/downloader/src/test/java/com/google/android/downloader/
DTestExecutorRule.java44 Thread thread = Executors.defaultThreadFactory().newThread(runnable);
/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/glide/library/src/main/java/com/bumptech/glide/load/engine/executor/
DFifoPriorityThreadPoolExecutor.java47 public Thread newThread(Runnable runnable) { in newThread() method in FifoPriorityThreadPoolExecutor.DefaultThreadFactory

12