#include <engine.h>
Classes | |
| class | Delegate |
Public Member Functions | |
| Engine (Delegate &delegate, std::string thread_label, std::shared_ptr< sys::ServiceDirectory > svc, std::shared_ptr< sys::ServiceDirectory > runner_services, flutter::Settings settings, fuchsia::ui::views::ViewCreationToken view_creation_token, std::pair< fuchsia::ui::views::ViewRefControl, fuchsia::ui::views::ViewRef > view_ref_pair, UniqueFDIONS fdio_ns, fidl::InterfaceRequest< fuchsia::io::Directory > directory_request, FlutterRunnerProductConfiguration product_config, const std::vector< std::string > &dart_entrypoint_args) | |
| ~Engine () | |
| std::optional< uint32_t > | GetEngineReturnCode () const |
| void | WriteProfileToTrace () const |
Static Public Member Functions | |
| static flutter::ThreadHost | CreateThreadHost (const std::string &name_prefix, const std::shared_ptr< sys::ServiceDirectory > &runner_services=nullptr) |
Friends | |
| class | testing::EngineTest |
| flutter_runner::Engine::Engine | ( | Delegate & | delegate, |
| std::string | thread_label, | ||
| std::shared_ptr< sys::ServiceDirectory > | svc, | ||
| std::shared_ptr< sys::ServiceDirectory > | runner_services, | ||
| flutter::Settings | settings, | ||
| fuchsia::ui::views::ViewCreationToken | view_creation_token, | ||
| std::pair< fuchsia::ui::views::ViewRefControl, fuchsia::ui::views::ViewRef > | view_ref_pair, | ||
| UniqueFDIONS | fdio_ns, | ||
| fidl::InterfaceRequest< fuchsia::io::Directory > | directory_request, | ||
| FlutterRunnerProductConfiguration | product_config, | ||
| const std::vector< std::string > & | dart_entrypoint_args | ||
| ) |
Definition at line 203 of file engine.cc.
| flutter_runner::Engine::~Engine | ( | ) |
Definition at line 698 of file engine.cc.
References fml::MakeCopyable(), fml::AutoResetWaitableEvent::Signal(), thread_host_, and fml::AutoResetWaitableEvent::Wait().
|
static |
Definition at line 137 of file engine.cc.
References FML_LOG, fml::Thread::kDisplay, flutter::ThreadHost::kIo, fml::Thread::kNormal, fml::Thread::kRaster, flutter::ThreadHost::kRaster, flutter::ThreadHost::kUi, flutter::ThreadHost::ThreadHostConfig::MakeThreadName(), fml::Thread::SetCurrentThreadName(), and flutter::ThreadHost::ThreadHostConfig::SetRasterConfig().
Referenced by flutter_runner::testing::TEST().
| std::optional< uint32_t > flutter_runner::Engine::GetEngineReturnCode | ( | ) | const |
Definition at line 713 of file engine.cc.
References engine, fml::TaskRunner::RunNowOrPostTask(), and fml::AutoResetWaitableEvent::Signal().
| void flutter_runner::Engine::WriteProfileToTrace | ( | ) | const |