Searched refs:runSync (Results 1 – 7 of 7) sorted by relevance
51 mContext = mRenderThread.queue().runSync([=, this]() -> CanvasContext* { in RenderProxy()71 mRenderThread.queue().runSync([this]() { delete mContext; }); in destroyContext()81 return mRenderThread.queue().runSync([this]() -> bool { in loadSystemProperties()93 mRenderThread.queue().runSync([this, name]() { mContext->setName(std::string(name)); }); in setName()136 return mRenderThread.queue().runSync([this]() -> bool { return mContext->pauseSurface(); }); in pause()140 mRenderThread.queue().runSync([this, stopped]() { mContext->setStopped(stopped); }); in setStopped()161 return mRenderThread.queue().runSync( in setColorMode()189 mRenderThread.queue().runSync([this]() { mContext->destroy(); }); in destroy()199 return mRenderThread.queue().runSync([this]() -> auto { in createTextureLayer()205 mRenderThread.queue().runSync([&]() { mContext->buildLayer(node); }); in buildLayer()[all …]
63 TEST(ThreadBase, runSync) { in TEST() argument67 auto result = queue().runSync([&otherTid]() -> auto { in TEST()132 queue().runSync([c = std::move(counter)](){}); in TEST()141 return queue().runSync([t = test]()->int { return t->getStrongCount(); }); in lifecycleTestHelper()147 ASSERT_EQ(2, queue().runSync([dummyObject]() -> int { return dummyObject->getStrongCount(); })); in TEST()
184 EXPECT_LT(1, CommonPool::runSync([obj] { return ObjectTracker::count(); })); in TEST()
153 mUploadThread->queue().runSync([this]() { in onBeginUpload()189 EGLSyncKHR fence = mUploadThread->queue().runSync([&]() -> EGLSyncKHR { in onUploadHardwareBitmap()247 mUploadThread->queue().runSync([this, &uploadSucceeded, bitmap, ahb]() { in onUploadHardwareBitmap()
96 static auto runSync(F&& func) -> decltype(func()) {
106 auto runSync(F&& func) -> decltype(func()) {
251 renderthread::RenderThread::getInstance().queue().runSync([&]() { task.run(); }); in runOnRenderThread()256 rt.queue().runSync([&]() { rtCallback(rt); }); in runOnRenderThreadUnmanaged()