Searched refs:ThreadPool (Results 1 – 12 of 12) 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/av/media/ndk/fuzzer/ |
D | ndk_async_codec_fuzzer.cpp | 157 class ThreadPool { class in NdkAsyncCodecFuzzer 190 ThreadPool* mIOThreadPool = new ThreadPool(); 193 void NdkAsyncCodecFuzzer::ThreadPool::start() { in start() 197 mThreads.at(i) = std::thread(&ThreadPool::ThreadLoop, this); in start() 201 void NdkAsyncCodecFuzzer::ThreadPool::ThreadLoop() { in ThreadLoop() 217 void NdkAsyncCodecFuzzer::ThreadPool::queueJob(const std::function<void()>& job) { in queueJob() 225 void NdkAsyncCodecFuzzer::ThreadPool::stop() { in stop()
|
/frameworks/base/media/jni/soundpool/ |
D | StreamManager.h | 110 class ThreadPool { 112 ThreadPool(size_t maxThreadCount, std::string name, 118 ~ThreadPool() { quit(); } in ~ThreadPool() 452 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 | 126 mThreadPool = std::make_unique<ThreadPool>(
|
/frameworks/av/services/audioflinger/afutils/ |
D | NBAIO_Tee.cpp | 161 class ThreadPool { class in android::AudioFileHandler 163 explicit ThreadPool(size_t size) in ThreadPool() function in android::AudioFileHandler::ThreadPool 364 status_t AudioFileHandler::ThreadPool::launch( in launch()
|
/frameworks/av/media/libstagefright/rtsp/fuzzer/ |
D | README.md | 93 …ned in a ThreadPool which limits the maximum number of threads alive at a time. When the fuzzer pr…
|