|   /packages/apps/Gallery2/src/com/android/gallery3d/app/ | 
| BatchService.java  | 24 import com.android.gallery3d.util.ThreadPool; 35     private ThreadPool mThreadPool = new ThreadPool(1, 1); 42     // The threadpool returned by getThreadPool must have only 1 thread 45     public ThreadPool getThreadPool() {
  | 
| GalleryContext.java  | 24 import com.android.gallery3d.util.ThreadPool; 33     public ThreadPool getThreadPool();
  | 
| GalleryApp.java  | 27 import com.android.gallery3d.util.ThreadPool; 34     public ThreadPool getThreadPool();
  | 
| GalleryAppImpl.java  | 30 import com.android.gallery3d.util.ThreadPool; 43     private ThreadPool mThreadPool; 83     public synchronized ThreadPool getThreadPool() { 85             mThreadPool = new ThreadPool();
  | 
| SlideshowDataAdapter.java  | 28 import com.android.gallery3d.util.ThreadPool; 29 import com.android.gallery3d.util.ThreadPool.Job; 30 import com.android.gallery3d.util.ThreadPool.JobContext; 61     private final ThreadPool mThreadPool; 178                 jc.setMode(ThreadPool.MODE_NONE);
  | 
|   /external/chromium_org/native_client_sdk/src/libraries/sdk_util/ | 
| thread_pool.cc  | 18 ThreadPool::ThreadPool(int num_threads) 45 ThreadPool::~ThreadPool() { 56 void ThreadPool::Setup(int counter, WorkFunction work, void *data) { 64 int ThreadPool::DecCounter() { 71 void ThreadPool::PostExitAndJoinAll() { 82 void ThreadPool::WorkLoop() { 100 void* ThreadPool::WorkerThreadEntry(void* thiz) { 101   static_cast<ThreadPool*>(thiz)->WorkLoop()     [all...] | 
| thread_pool.h  | 20 // ThreadPool is a class to manage num_threads and assign 26 class ThreadPool { 29   explicit ThreadPool(int num_threads); 30   ~ThreadPool();
  | 
|   /frameworks/wilhelm/src/ | 
| ThreadPool.h  | 17 /** \file ThreadPool.h ThreadPool interface */ 50 /** \brief ThreadPool manages a pool of worker threads that execute Closures */ 84 } ThreadPool; 86 extern SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads); 87 extern void ThreadPool_deinit(ThreadPool *tp); 88 extern SLresult ThreadPool_add(ThreadPool *tp, ClosureKind kind, 91 extern Closure *ThreadPool_remove(ThreadPool *tp); 92 extern SLresult ThreadPool_add_ppi(ThreadPool *tp, ClosureHandler_ppi handler, 94 extern SLresult ThreadPool_add_ppii(ThreadPool *tp, ClosureHandler_ppii handler     [all...] | 
| ThreadPool.c  | 17 /* ThreadPool */ 25     ThreadPool *tp = (ThreadPool *) context; 81 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads); 83 // Initialize a ThreadPool 87 SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads) 90     memset(tp, 0, sizeof(ThreadPool)); 167 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads) 242 void ThreadPool_deinit(ThreadPool *tp) 250 SLresult ThreadPool_add(ThreadPool *tp, ClosureKind kind, ClosureHandler_generic handler     [all...] | 
|   /art/runtime/ | 
| thread_pool.h  | 30 class ThreadPool; 49   ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size); 53   ThreadPool* const thread_pool_; 59   friend class ThreadPool; 63 class ThreadPool { 80   explicit ThreadPool(size_t num_threads); 81   virtual ~ThreadPool(); 129   DISALLOW_COPY_AND_ASSIGN(ThreadPool); 160   WorkStealingWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size); 168 class WorkStealingThreadPool : public ThreadPool {     [all...] | 
| thread_pool.cc  | 28 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, 65 void ThreadPool::AddTask(Thread* self, Task* task) { 74 ThreadPool::ThreadPool(size_t num_threads) 95 void ThreadPool::SetMaxActiveWorkers(size_t threads) { 101 ThreadPool::~ThreadPool() { 115 void ThreadPool::StartWorkers(Thread* self) { 123 void ThreadPool::StopWorkers(Thread* self) { 128 Task* ThreadPool::GetTask(Thread* self)      [all...] | 
| thread_pool_test.cc  | 62   ThreadPool thread_pool(num_threads); 77   ThreadPool thread_pool(num_threads); 105   TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth) 124   ThreadPool* const thread_pool_; 132   ThreadPool thread_pool(num_threads);
  | 
| barrier_test.cc  | 69   ThreadPool thread_pool(num_threads); 124   ThreadPool thread_pool(num_threads);
  | 
|   /packages/apps/Gallery2/src/com/android/gallery3d/data/ | 
| PanoramaMetadataJob.java  | 24 import com.android.gallery3d.util.ThreadPool.Job; 25 import com.android.gallery3d.util.ThreadPool.JobContext;
  | 
| SnailItem.java  | 23 import com.android.gallery3d.util.ThreadPool.Job; 24 import com.android.gallery3d.util.ThreadPool.JobContext;
  | 
| ActionImage.java  | 27 import com.android.gallery3d.util.ThreadPool.Job; 28 import com.android.gallery3d.util.ThreadPool.JobContext;
  | 
| DownloadUtils.java  | 20 import com.android.gallery3d.util.ThreadPool.CancelListener; 21 import com.android.gallery3d.util.ThreadPool.JobContext;
  | 
|   /libcore/luni/src/test/java/tests/support/ | 
| ThreadPool.java  | 22 public class ThreadPool extends ThreadGroup { 32     public ThreadPool(int numThreads) { 33         super("ThreadPool-" + (threadPoolID++)); 93             super(ThreadPool.this, "PooledThread-" + (threadID++));
  | 
|   /packages/apps/Gallery2/src/com/android/gallery3d/util/ | 
| JobLimiter.java  | 20 import com.android.gallery3d.util.ThreadPool.Job; 21 import com.android.gallery3d.util.ThreadPool.JobContext; 25 // Limit the number of concurrent jobs that has been submitted into a ThreadPool 38     private final ThreadPool mPool; 131     public JobLimiter(ThreadPool pool, int limit) {
  | 
|   /packages/apps/Gallery2/src/com/android/gallery3d/gadget/ | 
| WidgetUtils.java  | 29 import com.android.gallery3d.util.ThreadPool; 49                .run(ThreadPool.JOB_CONTEXT_STUB);
  | 
|   /external/valgrind/unittest/ | 
| thread_wrappers.h  | 220     ThreadPool pool(n_workers); 227     // the ~ThreadPool() is called: we wait workers to finish 231 class ThreadPool { 234   explicit ThreadPool(int n_threads) 237       MyThread *thread = new MyThread(&ThreadPool::Worker, this); 257   ~ThreadPool() { 271     ThreadPool *pool = reinterpret_cast<ThreadPool*>(p);
  | 
|   /art/compiler/driver/ | 
| compiler_driver.h  | 331                   ThreadPool& thread_pool, base::TimingLogger& timings) 340                ThreadPool& thread_pool, base::TimingLogger& timings) 343                       ThreadPool& thread_pool, base::TimingLogger& timings) 347               ThreadPool& thread_pool, base::TimingLogger& timings); 349                      ThreadPool& thread_pool, base::TimingLogger& timings) 353                          ThreadPool& thread_pool, base::TimingLogger& timings) 356                          ThreadPool& thread_pool, base::TimingLogger& timings) 364                ThreadPool& thread_pool, base::TimingLogger& timings); 366                       ThreadPool& thread_pool, base::TimingLogger& timings)
  | 
|   /libcore/luni/src/test/java/tests/java/sql/ | 
| StressTest.java  | 32 import tests.support.ThreadPool; 126         ThreadPool threadPool = new ThreadPool(numTasks); 130             threadPool.runTask(createTask(i)); 133         threadPool.join(); 199         ThreadPool threadPool = new ThreadPool(numConnections); 203             threadPool.runTask(insertTask(numConnections, i))     [all...] | 
|   /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/ | 
| ThreadPool.java  | 26 public class ThreadPool { 28     private static final String TAG = "ThreadPool"; 83     public ThreadPool() { 87     public ThreadPool(int initPoolSize, int maxPoolSize) {
  | 
|   /packages/apps/Gallery2/src/com/android/photos/shims/ | 
| BitmapJobDrawable.java  | 32 import com.android.gallery3d.util.ThreadPool; 161         private static final ThreadPool sThreadPool = new ThreadPool(0, 2);
  |