Searched refs:mThreadPool (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ViewServer.java | 76 private ExecutorService mThreadPool; field in ViewServer 109 mThreadPool = Executors.newFixedThreadPool(VIEW_SERVER_MAX_CONNECTIONS); in start() 129 if (mThreadPool != null) { in stop() 131 mThreadPool.shutdownNow(); in stop() 136 mThreadPool = null; in stop() 170 if (mThreadPool != null) { in run() 171 mThreadPool.submit(new ViewServerWorker(client)); in run()
|
/frameworks/base/media/jni/soundpool/ |
D | SoundDecoder.cpp | 37 mThreadPool = std::make_unique<ThreadPool>( in SoundDecoder() 57 mThreadPool->quit(); in quit() 109 if (pendingSounds > mThreadPool->getActiveThreadCount()) { in loadSound() 110 const int32_t id = mThreadPool->launch([this](int32_t id) { run(id); }); in loadSound()
|
D | StreamManager.cpp | 124 mThreadPool = std::make_unique<ThreadPool>( in StreamManager() 140 mThreadPool->quit(); in ~StreamManager() 264 const int32_t id = mThreadPool->launch([this](int32_t id) { run(id); }); in queueForPlay() 293 const int32_t id = mThreadPool->launch([this](int32_t id) { run(id); }); in moveToRestartQueue()
|
D | SoundDecoder.h | 41 std::unique_ptr<ThreadPool> mThreadPool; // set in constructor, has own lock variable
|
D | StreamManager.h | 421 (mThreadPool->getActiveThreadCount() == 0 in needMoreThreads_l() 424 > (ptrdiff_t)mThreadPool->getActiveThreadCount()); in needMoreThreads_l() 448 std::unique_ptr<ThreadPool> mThreadPool; // locked internally variable
|
/frameworks/wilhelm/src/objects/ |
D | CEngine.cpp | 69 result = ThreadPool_init(&thiz->mThreadPool, 0, 0); in CEngine_Realize() 138 ThreadPool_deinit(&thiz->mThreadPool); in CEngine_Destroy()
|
/frameworks/wilhelm/src/ |
D | sles_allinclusive.h | 459 ThreadPool_add_ppi(&(object)->mObject.mEngine->mThreadPool, \ 462 ThreadPool_add_ppii(&(object)->mObject.mEngine->mThreadPool, \ 465 ThreadPool_add_piipp(&(object)->mObject.mEngine->mThreadPool, \
|
D | entry.cpp | 149 memset(&thiz->mThreadPool, 0, sizeof(ThreadPool)); in liCreateEngine()
|
D | classes.h | 198 ThreadPool mThreadPool; // for asynchronous operations member
|
/frameworks/av/services/audioflinger/ |
D | NBAIO_Tee.cpp | 86 : mThreadPool(pool) in AudioFileHandler() 176 } mThreadPool; member in android::AudioFileHandler 263 if (mThreadPool.launch(std::string("create ") + filename, in create() 322 (void)mThreadPool.launch( in setDirectory()
|
/frameworks/wilhelm/src/itf/ |
D | IDynamicInterfaceManagement.cpp | 138 result = ThreadPool_add_ppi(&thisObject->mEngine->mThreadPool, HandleAdd, thiz, in IDynamicInterfaceManagement_AddInterface() 386 result = ThreadPool_add_ppi(&thisObject->mEngine->mThreadPool, HandleResume, in IDynamicInterfaceManagement_ResumeInterface()
|
D | IObject.cpp | 125 result = ThreadPool_add_ppi(&thiz->mEngine->mThreadPool, HandleRealize, thiz, NULL, 0); in IObject_Realize() 253 result = ThreadPool_add_ppi(&thiz->mEngine->mThreadPool, HandleResume, thiz, NULL, 0); in IObject_Resume()
|