Searched refs:CommonPool (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/libs/hwui/tests/unit/ |
D | CommonPoolTests.cpp | 30 TEST(CommonPool, post) { in TEST() argument 32 CommonPool::post([&ran] { ran = true; }); in TEST() 45 futures[i] = CommonPool::async([] { in TEST() 53 EXPECT_EQ(threads.size(), CommonPool::THREAD_COUNT); in TEST() 59 TEST(CommonPool, DISABLED_singleThread) { in TEST() argument 65 auto f1 = CommonPool::async([&] { in TEST() 84 auto f2 = CommonPool::async([] { in TEST() 106 static constexpr auto QUEUE_COUNT = CommonPool::THREAD_COUNT + CommonPool::QUEUE_SIZE + 10; in TEST() 112 futures[i] = CommonPool::async([&] { in TEST() 128 EXPECT_GT(queuedCount.load(), CommonPool::QUEUE_SIZE); in TEST() [all …]
|
/frameworks/base/libs/hwui/thread/ |
D | CommonPool.cpp | 26 CommonPool::CommonPool() : CommonPoolBase() { in CommonPool() function in android::uirenderer::CommonPool 29 CommonPool* pool = this; in CommonPool() 55 CommonPool& CommonPool::instance() { in instance() 56 static CommonPool pool; in instance() 60 void CommonPool::post(Task&& task) { in post() 64 std::vector<int> CommonPool::getThreadIds() { in getThreadIds() 68 void CommonPool::enqueue(Task&& task) { in enqueue() 81 void CommonPool::workerLoop() { in workerLoop() 100 void CommonPool::waitForIdle() { in waitForIdle() 104 void CommonPool::doWaitForIdle() { in doWaitForIdle()
|
D | CommonPool.h | 77 class CommonPool : private CommonPoolBase { 78 PREVENT_COPY_AND_ASSIGN(CommonPool); 108 static CommonPool& instance(); 110 CommonPool(); 111 ~CommonPool() { in ~CommonPool()
|
/frameworks/native/libs/renderengine/skia/debug/ |
D | CommonPool.cpp | 33 CommonPool::CommonPool() { in CommonPool() function in android::renderengine::skia::CommonPool 36 CommonPool* pool = this; in CommonPool() 53 CommonPool& CommonPool::instance() { in instance() 54 static CommonPool pool; in instance() 58 void CommonPool::post(Task&& task) { in post() 62 void CommonPool::enqueue(Task&& task) { in enqueue() 76 void CommonPool::workerLoop() { in workerLoop()
|
D | CommonPool.h | 42 class CommonPool { 43 PREVENT_COPY_AND_ASSIGN(CommonPool); 53 static CommonPool& instance(); 55 CommonPool(); 56 ~CommonPool() {} in ~CommonPool()
|
D | CaptureTimer.cpp | 33 CommonPool::post([=]() { in setTimeout()
|
D | SkiaCapture.cpp | 161 CommonPool::post([doc = std::move(mMultiPic), stream, name = std::move(mCaptureFile)] { in writeToFile()
|
/frameworks/base/libs/hwui/renderthread/ |
D | HintSessionWrapper.cpp | 115 mPermanentSessionTids = CommonPool::getThreadIds(); in init() 124 mHintSessionFuture = CommonPool::async([=, this, tids = mPermanentSessionTids] { in init() 163 mSetThreadsFuture = CommonPool::async([this, tids = std::move(combinedTids)] { in setActiveFunctorThreads()
|
D | CacheManager.cpp | 98 virtual void add(std::function<void(void)> func) override { CommonPool::post(std::move(func)); } in add()
|
D | CanvasContext.cpp | 1052 mFrameFences.push_back(CommonPool::async(std::move(func))); in enqueueFrameWork()
|
/frameworks/native/libs/renderengine/ |
D | Android.bp | 99 "skia/debug/CommonPool.cpp",
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.cpp | 126 CommonPool::post([data, filename] { in savePictureAsync() 314 CommonPool::post([doc = std::move(mMultiPic), stream]{ in endCapture()
|
/frameworks/base/libs/hwui/ |
D | Android.bp | 569 "thread/CommonPool.cpp",
|