Home
last modified time | relevance | path

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

/packages/apps/UniversalMediaPlayer/java/com/android/pump/concurrent/
DExecutors.java68 @NonNull ThreadFactory threadFactory) { in newFixedUniqueThreadPool() argument
70 new LinkedBlockingQueue<>(), threadFactory); in newFixedUniqueThreadPool()
79 @NonNull ThreadFactory threadFactory) { in newCachedUniqueThreadPool()
81 new LinkedBlockingQueue<>(), threadFactory); in newCachedUniqueThreadPool()
DUniqueExecutor.java43 @NonNull ThreadFactory threadFactory) { in UniqueExecutor() argument
44 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, threadFactory); in UniqueExecutor()
55 @NonNull ThreadFactory threadFactory, @NonNull RejectedExecutionHandler handler) { in UniqueExecutor() argument
56 super(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, threadFactory, in UniqueExecutor()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DSingleThreadNamedTaskExecutor.java36 public SingleThreadNamedTaskExecutor(ThreadFactory threadFactory) { in SingleThreadNamedTaskExecutor() argument
38 mWorker = threadFactory.newThread(new Worker()); in SingleThreadNamedTaskExecutor()
94 public static Factory<NamedTaskExecutor> factory(final ThreadFactory threadFactory) { in factory() argument
97 return new SingleThreadNamedTaskExecutor(threadFactory); in factory()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQsbApplication.java179 final ThreadFactory threadFactory = getQueryThreadFactory(); in createExecutorFactory() local
183 return Executors.newFixedThreadPool(numThreads, threadFactory); in createExecutorFactory()