/third_party/flutter/engine/flutter/fml/ |
D | gpu_thread_merger_unittests.cc | 41 fml::TaskQueueId qid1 = loop1->GetTaskRunner()->GetTaskQueueId(); in TEST() 42 fml::TaskQueueId qid2 = loop2->GetTaskRunner()->GetTaskQueueId(); in TEST() 70 loop1->GetTaskRunner()->PostTask([&]() { latch1.Signal(); }); in TEST() 79 loop2->GetTaskRunner()->PostTask([&]() { latch2.Signal(); }); in TEST() 86 fml::TaskQueueId qid1 = loop1->GetTaskRunner()->GetTaskQueueId(); in TEST() 87 fml::TaskQueueId qid2 = loop2->GetTaskRunner()->GetTaskQueueId(); in TEST() 93 loop1->GetTaskRunner()->PostTask([&]() { in TEST() 99 loop2->GetTaskRunner()->PostTask([&]() { in TEST() 109 loop1->GetTaskRunner()->PostTask([&]() { in TEST() 115 loop2->GetTaskRunner()->PostTask([&]() { in TEST() [all …]
|
D | message_loop_unittests.cc | 27 ASSERT_TRUE(fml::MessageLoop::GetCurrent().GetTaskRunner()); in TEST() 67 ASSERT_TRUE(loop.GetTaskRunner()); in TEST() 68 loop.GetTaskRunner()->PostTask([&terminated]() { in TEST() 89 loop.GetTaskRunner()->PostTask( in TEST() 119 loop.GetTaskRunner()->PostTaskForTime( in TEST() 145 runner = loop.GetTaskRunner(); in TEST() 147 ASSERT_TRUE(loop.GetTaskRunner()->RunsTasksOnCurrentThread()); in TEST() 161 loop.GetTaskRunner()->PostDelayedTask( in TEST() 183 loop.GetTaskRunner()->PostTaskForTime( in TEST() 207 loop.GetTaskRunner()->PostDelayedTask( in TEST() [all …]
|
D | thread_unittests.cc | 11 ASSERT_TRUE(thread.GetTaskRunner()); in TEST() 16 ASSERT_TRUE(thread.GetTaskRunner()); in TEST() 23 thread.GetTaskRunner()->PostTask([&done]() { done = true; }); in TEST()
|
D | thread.cc | 33 runner = loop.GetTaskRunner(); in Thread() 45 fml::RefPtr<fml::TaskRunner> Thread::GetTaskRunner() const { in GetTaskRunner() function in fml::Thread
|
D | thread.h | 23 fml::RefPtr<fml::TaskRunner> GetTaskRunner() const;
|
D | message_loop.h | 31 fml::RefPtr<fml::TaskRunner> GetTaskRunner() const;
|
/third_party/flutter/engine/flutter/shell/platform/android/ |
D | android_shell_holder.cc | 46 thread_host_.ui_thread->GetTaskRunner()->PostTask(jni_exit_task); in AndroidShellHolder() 48 thread_host_.gpu_thread->GetTaskRunner()->PostTask(jni_exit_task); in AndroidShellHolder() 86 fml::MessageLoop::GetCurrent().GetTaskRunner(); in AndroidShellHolder() 88 auto single_task_runner = thread_host_.ui_thread->GetTaskRunner(); in AndroidShellHolder() 93 gpu_runner = thread_host_.gpu_thread->GetTaskRunner(); in AndroidShellHolder() 94 ui_runner = thread_host_.ui_thread->GetTaskRunner(); in AndroidShellHolder() 95 io_runner = thread_host_.io_thread->GetTaskRunner(); in AndroidShellHolder()
|
/third_party/flutter/engine/flutter/shell/platform/embedder/ |
D | embedder_thread_host.cc | 107 return fml::MessageLoop::GetCurrent().GetTaskRunner(); in GetCurrentThreadTaskRunner() 170 : thread_host.gpu_thread->GetTaskRunner(); in CreateEmbedderManagedThreadHost() 176 thread_host.ui_thread->GetTaskRunner(), // ui (always engine managed) in CreateEmbedderManagedThreadHost() 177 thread_host.io_thread->GetTaskRunner() // io (always engine managed) in CreateEmbedderManagedThreadHost() 222 thread_host.gpu_thread->GetTaskRunner(), // gpu in CreateEngineManagedThreadHost() 223 thread_host.ui_thread->GetTaskRunner(), // ui in CreateEngineManagedThreadHost() 224 thread_host.io_thread->GetTaskRunner() // io in CreateEngineManagedThreadHost()
|
/third_party/flutter/engine/flutter/shell/common/ |
D | shell_benchmarks.cc | 62 thread_host->platform_thread->GetTaskRunner(), in StartupAndShutdownShell() 63 thread_host->gpu_thread->GetTaskRunner(), in StartupAndShutdownShell() 64 thread_host->ui_thread->GetTaskRunner(), in StartupAndShutdownShell() 65 thread_host->io_thread->GetTaskRunner()); in StartupAndShutdownShell()
|
D | shell_unittests.cc | 69 TaskRunners task_runners("test", thread_host.platform_thread->GetTaskRunner(), in TEST_F() 70 thread_host.gpu_thread->GetTaskRunner(), in TEST_F() 71 thread_host.ui_thread->GetTaskRunner(), in TEST_F() 72 thread_host.io_thread->GetTaskRunner()); in TEST_F() 85 auto task_runner = thread_host.platform_thread->GetTaskRunner(); in TEST_F() 99 auto task_runner = fml::MessageLoop::GetCurrent().GetTaskRunner(); in TEST_F() 118 fml::MessageLoop::GetCurrent().GetTaskRunner(), in TEST_F() 119 thread_host.gpu_thread->GetTaskRunner(), in TEST_F() 120 thread_host.ui_thread->GetTaskRunner(), in TEST_F() 121 thread_host.io_thread->GetTaskRunner()); in TEST_F() [all …]
|
D | shell_test.cc | 166 thread_host_->platform_thread->GetTaskRunner(), // platform in GetTaskRunnersForFixture() 167 thread_host_->gpu_thread->GetTaskRunner(), // gpu in GetTaskRunnersForFixture() 168 thread_host_->ui_thread->GetTaskRunner(), // ui in GetTaskRunnersForFixture() 169 thread_host_->io_thread->GetTaskRunner() // io in GetTaskRunnersForFixture()
|
/third_party/flutter/engine/flutter/testing/ |
D | thread_test.cc | 15 thread_task_runner_ = thread_->GetTaskRunner(); in SetUp() 18 current_task_runner_ = fml::MessageLoop::GetCurrent().GetTaskRunner(); in SetUp() 39 auto runner = thread->GetTaskRunner(); in CreateNewThread()
|
/third_party/cef/libcef/common/ |
D | task_impl.cc | 14 CefTaskRunnerImpl::GetTaskRunner(threadId); in CefCurrentlyOn() 25 CefTaskRunnerImpl::GetTaskRunner(threadId); in CefPostTask() 39 CefTaskRunnerImpl::GetTaskRunner(threadId); in CefPostDelayedTask()
|
D | task_runner_impl.cc | 33 CefTaskRunnerImpl::GetTaskRunner(threadId); in GetForThread() 50 scoped_refptr<base::SingleThreadTaskRunner> CefTaskRunnerImpl::GetTaskRunner( in GetTaskRunner() function in CefTaskRunnerImpl 135 GetTaskRunner(threadId); in BelongsToThread()
|
D | thread_impl.h | 29 CefRefPtr<CefTaskRunner> GetTaskRunner() override;
|
D | task_runner_impl.h | 22 static scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner(
|
/third_party/flutter/engine/flutter/shell/platform/ohos/ |
D | ohos_shell_holder.cc | 76 auto single_task_runner = thread_host_.ui_thread->GetTaskRunner(); in OhosShellHolder() 84 ui_runner = thread_host_.ui_thread->GetTaskRunner(); in OhosShellHolder() 87 gpu_runner = thread_host_.gpu_thread->GetTaskRunner(); in OhosShellHolder() 92 io_runner = thread_host_.io_thread->GetTaskRunner(); in OhosShellHolder()
|
/third_party/flutter/engine/flutter/lib/ui/painting/ |
D | image_decoder_unittests.cc | 119 ImageDecoder decoder(std::move(runners), loop->GetTaskRunner(), in TEST_F() 138 ImageDecoder decoder(runners, loop->GetTaskRunner(), in TEST_F() 172 runners, loop->GetTaskRunner(), io_manager->GetWeakIOManager()); in TEST_F() 215 runners, loop->GetTaskRunner(), io_manager->GetWeakIOManager()); in TEST_F() 261 runners, loop->GetTaskRunner(), io_manager->GetWeakIOManager()); in TEST_F() 319 runners, loop->GetTaskRunner(), io_manager->GetWeakIOManager()); in TEST_F() 404 runners, loop->GetTaskRunner(), io_manager->GetWeakIOManager()); in TEST_F()
|
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/framework/Source/ |
D | FlutterEngine.mm | 311 fml::MessageLoop::GetCurrent().GetTaskRunner(), // platform 312 fml::MessageLoop::GetCurrent().GetTaskRunner(), // gpu 313 _threadHost.ui_thread->GetTaskRunner(), // ui 314 _threadHost.io_thread->GetTaskRunner() // io 324 fml::MessageLoop::GetCurrent().GetTaskRunner(), // platform 325 _threadHost.gpu_thread->GetTaskRunner(), // gpu 326 _threadHost.ui_thread->GetTaskRunner(), // ui 327 _threadHost.io_thread->GetTaskRunner() // io
|
/third_party/cef/tests/ceftests/ |
D | thread_unittest.cc | 41 thread_task_runner_ = thread_->GetTaskRunner(); in CreateTestThread() 84 EXPECT_TRUE(thread_task_runner_->IsSame(thread_->GetTaskRunner())); in AssertOwnerThread() 92 EXPECT_TRUE(thread_task_runner_->IsSame(thread_->GetTaskRunner())); in AssertTestThread()
|
/third_party/cef/libcef_dll/ctocpp/ |
D | thread_ctocpp.h | 36 CefRefPtr<CefTaskRunner> GetTaskRunner() override;
|
D | v8context_ctocpp.h | 37 CefRefPtr<CefTaskRunner> GetTaskRunner() override;
|
/third_party/cef/include/ |
D | cef_thread.h | 92 virtual CefRefPtr<CefTaskRunner> GetTaskRunner() = 0;
|
/third_party/flutter/engine/flutter/fml/synchronization/ |
D | count_down_latch_unittests.cc | 24 auto decrement_latch_on_thread = [runner = thread.GetTaskRunner(), &latch, in TEST()
|
/third_party/flutter/engine/flutter/shell/testing/ |
D | tester_main.cc | 79 auto current_task_runner = fml::MessageLoop::GetCurrent().GetTaskRunner(); in RunTester() 158 .GetTaskRunner(), // the message loop to terminate in RunTester()
|