Home
last modified time | relevance | path

Searched refs:ThreadPool (Results 1 – 10 of 10) 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/base/media/jni/soundpool/
DStreamManager.h110 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
DSoundDecoder.h41 std::unique_ptr<ThreadPool> mThreadPool; // set in constructor, has own lock
DSoundDecoder.cpp37 mThreadPool = std::make_unique<ThreadPool>( in SoundDecoder()
DStreamManager.cpp124 mThreadPool = std::make_unique<ThreadPool>( in StreamManager()
/frameworks/av/services/audioflinger/
DNBAIO_Tee.cpp160 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()