Searched refs:CommonPool (Results 1 – 13 of 13) sorted by relevance
/aosp12/frameworks/base/libs/hwui/tests/unit/ |
H A 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() 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() 168 TEST(CommonPool, asyncLifecycleCheck) { in TEST() argument 175 CommonPool::waitForIdle(); in TEST() 179 TEST(CommonPool, syncLifecycleCheck) { in TEST() argument [all …]
|
/aosp12/frameworks/base/libs/hwui/thread/ |
H A D | CommonPool.cpp | 28 CommonPool::CommonPool() { in CommonPool() function in android::uirenderer::CommonPool 31 CommonPool* pool = this; in CommonPool() 70 CommonPool& CommonPool::instance() { in instance() 71 static CommonPool pool; in instance() 75 void CommonPool::post(Task&& task) { in post() 79 std::vector<int> CommonPool::getThreadIds() { in getThreadIds() 83 void CommonPool::enqueue(Task&& task) { in enqueue() 96 void CommonPool::workerLoop() { in workerLoop() 115 void CommonPool::waitForIdle() { in waitForIdle() 119 void CommonPool::doWaitForIdle() { in doWaitForIdle()
|
H A D | CommonPool.h | 76 class CommonPool { 77 PREVENT_COPY_AND_ASSIGN(CommonPool); 107 static CommonPool& instance(); 109 CommonPool(); 110 ~CommonPool() {} in ~CommonPool()
|
/aosp12/frameworks/native/libs/renderengine/skia/debug/ |
H A 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()
|
H A D | CommonPool.h | 42 class CommonPool { 43 PREVENT_COPY_AND_ASSIGN(CommonPool); 53 static CommonPool& instance(); 55 CommonPool(); 56 ~CommonPool() {} in ~CommonPool()
|
H A D | CaptureTimer.cpp | 33 CommonPool::post([=]() { in setTimeout()
|
H A D | SkiaCapture.cpp | 155 CommonPool::post([doc = std::move(mMultiPic), stream, name = std::move(mCaptureFile)] { in writeToFile()
|
/aosp12/frameworks/native/libs/renderengine/ |
H A D | Android.bp | 93 "skia/debug/CommonPool.cpp",
|
/aosp12/frameworks/base/libs/hwui/renderthread/ |
H A D | CacheManager.cpp | 82 virtual void add(std::function<void(void)> func) override { CommonPool::post(std::move(func)); } in add()
|
H A D | DrawFrameTask.cpp | 281 std::vector<int32_t> tids = CommonPool::getThreadIds(); in HintSessionWrapper()
|
H A D | CanvasContext.cpp | 853 mFrameFences.push_back(CommonPool::async(std::move(func))); in enqueueFrameWork()
|
/aosp12/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaPipeline.cpp | 225 CommonPool::post([data, filename] { in savePictureAsync() 413 CommonPool::post([doc = std::move(mMultiPic), stream]{ in endCapture()
|
/aosp12/frameworks/base/libs/hwui/ |
H A D | Android.bp | 579 "thread/CommonPool.cpp",
|