Searched refs:threadFactory (Results 1 – 4 of 4) sorted by relevance
/packages/apps/UniversalMediaPlayer/java/com/android/pump/concurrent/ |
D | Executors.java | 68 @NonNull ThreadFactory threadFactory) { in newFixedUniqueThreadPool() argument 70 new LinkedBlockingQueue<>(), threadFactory); in newFixedUniqueThreadPool() 79 @NonNull ThreadFactory threadFactory) { in newCachedUniqueThreadPool() 81 new LinkedBlockingQueue<>(), threadFactory); in newCachedUniqueThreadPool()
|
D | UniqueExecutor.java | 43 @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/ |
D | SingleThreadNamedTaskExecutor.java | 36 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/ |
D | QsbApplication.java | 179 final ThreadFactory threadFactory = getQueryThreadFactory(); in createExecutorFactory() local 183 return Executors.newFixedThreadPool(numThreads, threadFactory); in createExecutorFactory()
|