Home
last modified time | relevance | path

Searched refs:ThreadPool (Results 1 – 12 of 12) sorted by relevance

/frameworks/wilhelm/src/
DThreadPool.h84 } 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,
DThreadPool.cpp25 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 …]
Dentry.cpp149 memset(&thiz->mThreadPool, 0, sizeof(ThreadPool)); in liCreateEngine()
Dclasses.h200 ThreadPool mThreadPool; // for asynchronous operations
DAndroid.bp124 "ThreadPool.cpp",
/frameworks/av/media/ndk/fuzzer/
Dndk_async_codec_fuzzer.cpp157 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/
DStreamManager.h110 class ThreadPool {
112 ThreadPool(size_t maxThreadCount, std::string name,
118 ~ThreadPool() { quit(); } in ~ThreadPool()
452 std::unique_ptr<ThreadPool> mThreadPool; // locked internally
DSoundDecoder.h41 std::unique_ptr<ThreadPool> mThreadPool; // set in constructor, has own lock
DSoundDecoder.cpp37 mThreadPool = std::make_unique<ThreadPool>( in SoundDecoder()
DStreamManager.cpp126 mThreadPool = std::make_unique<ThreadPool>(
/frameworks/av/services/audioflinger/afutils/
DNBAIO_Tee.cpp161 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/
DREADME.md93 …ned in a ThreadPool which limits the maximum number of threads alive at a time. When the fuzzer pr…