Searched refs:ThreadPool (Results 1 – 10 of 10) sorted by relevance
/frameworks/wilhelm/src/ |
D | ThreadPool.h | 84 } ThreadPool; typedef 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, 96 extern SLresult ThreadPool_add_piipp(ThreadPool *tp, ClosureHandler_piipp handler,
|
D | ThreadPool.cpp | 25 ThreadPool *tp = (ThreadPool *) context; in ThreadPool_start() 81 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads); 87 SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads) in ThreadPool_init() 90 memset(tp, 0, sizeof(ThreadPool)); in ThreadPool_init() 167 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads) in ThreadPool_deinit_internal() 242 void ThreadPool_deinit(ThreadPool *tp) in ThreadPool_deinit() 250 SLresult ThreadPool_add(ThreadPool *tp, ClosureKind kind, ClosureHandler_generic handler, in ThreadPool_add() 327 Closure *ThreadPool_remove(ThreadPool *tp) in ThreadPool_remove() 371 SLresult ThreadPool_add_ppi(ThreadPool *tp, ClosureHandler_ppi handler, in ThreadPool_add_ppi() 379 SLresult ThreadPool_add_ppii(ThreadPool *tp, ClosureHandler_ppii handler, in ThreadPool_add_ppii() [all …]
|
D | entry.cpp | 149 memset(&thiz->mThreadPool, 0, sizeof(ThreadPool)); in liCreateEngine()
|
D | classes.h | 200 ThreadPool mThreadPool; // for asynchronous operations
|
D | Android.bp | 124 "ThreadPool.cpp",
|
/frameworks/base/media/jni/soundpool/ |
D | StreamManager.h | 110 class ThreadPool { 112 ThreadPool(size_t maxThreadCount, std::string name) in ThreadPool() function 116 ~ThreadPool() { quit(); } in ~ThreadPool() 448 std::unique_ptr<ThreadPool> mThreadPool; // locked internally
|
D | SoundDecoder.h | 41 std::unique_ptr<ThreadPool> mThreadPool; // set in constructor, has own lock
|
D | SoundDecoder.cpp | 37 mThreadPool = std::make_unique<ThreadPool>( in SoundDecoder()
|
D | StreamManager.cpp | 124 mThreadPool = std::make_unique<ThreadPool>( in StreamManager()
|
/frameworks/av/services/audioflinger/ |
D | NBAIO_Tee.cpp | 160 class ThreadPool { class in android::AudioFileHandler 162 ThreadPool(size_t size) in ThreadPool() function in android::AudioFileHandler::ThreadPool 362 status_t AudioFileHandler::ThreadPool::launch( in launch()
|