Home
last modified time | relevance | path

Searched refs:mThreadPool (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DViewServer.java76 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/
DSoundDecoder.cpp37 mThreadPool = std::make_unique<ThreadPool>( in SoundDecoder()
58 mThreadPool->quit(); in quit()
110 if (pendingSounds > mThreadPool->getActiveThreadCount()) { in loadSound()
111 const int32_t id = mThreadPool->launch([this](int32_t id) { run(id); }); in loadSound()
DStreamManager.cpp126 mThreadPool = std::make_unique<ThreadPool>(
143 mThreadPool->quit(); in ~StreamManager()
271 const int32_t id = mThreadPool->launch([this](int32_t id) { run(id); }); in queueForPlay()
301 const int32_t id = mThreadPool->launch([this](int32_t id) { run(id); }); in moveToRestartQueue()
DSoundDecoder.h41 std::unique_ptr<ThreadPool> mThreadPool; // set in constructor, has own lock variable
DStreamManager.h425 (mThreadPool->getActiveThreadCount() == 0 in needMoreThreads_l()
428 > (ptrdiff_t)mThreadPool->getActiveThreadCount()); in needMoreThreads_l()
452 std::unique_ptr<ThreadPool> mThreadPool; // locked internally variable
/frameworks/wilhelm/src/objects/
DCEngine.cpp69 result = ThreadPool_init(&thiz->mThreadPool, 0, 0); in CEngine_Realize()
138 ThreadPool_deinit(&thiz->mThreadPool); in CEngine_Destroy()
/frameworks/av/media/libstagefright/rtsp/fuzzer/
Drtsp_connection_fuzzer.cpp84 for (auto& thread : mThreadPool) { in ~RTSPConnectionFuzzer()
114 std::vector<std::thread> mThreadPool; member in RTSPConnectionFuzzer
348 while (mFdp.remaining_bytes() && mThreadPool.size() < kMaxThreads) { in process()
350 mThreadPool.push_back(std::thread(&RTSPConnectionFuzzer::acceptConnection, this)); in process()
/frameworks/wilhelm/src/
Dsles_allinclusive.h459 ThreadPool_add_ppi(&(object)->mObject.mEngine->mThreadPool, \
462 ThreadPool_add_ppii(&(object)->mObject.mEngine->mThreadPool, \
465 ThreadPool_add_piipp(&(object)->mObject.mEngine->mThreadPool, \
Dentry.cpp149 memset(&thiz->mThreadPool, 0, sizeof(ThreadPool)); in liCreateEngine()
Dclasses.h200 ThreadPool mThreadPool; // for asynchronous operations member
/frameworks/av/services/audioflinger/afutils/
DNBAIO_Tee.cpp87 : mThreadPool(pool) in AudioFileHandler()
176 } mThreadPool; member in android::AudioFileHandler
265 if (mThreadPool.launch(std::string("create ") + filename, in create()
324 (void)mThreadPool.launch( in setDirectory()
/frameworks/wilhelm/src/itf/
DIDynamicInterfaceManagement.cpp138 result = ThreadPool_add_ppi(&thisObject->mEngine->mThreadPool, HandleAdd, thiz, in IDynamicInterfaceManagement_AddInterface()
386 result = ThreadPool_add_ppi(&thisObject->mEngine->mThreadPool, HandleResume, in IDynamicInterfaceManagement_ResumeInterface()
DIObject.cpp125 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()