Home
last modified time | relevance | path

Searched refs:DartIsolate (Results 1 – 11 of 11) sorted by relevance

/third_party/flutter/engine/flutter/runtime/
Ddart_isolate.cc21 std::weak_ptr<DartIsolate> DartIsolate::CreateRootIsolate( in CreateRootIsolate()
36 std::weak_ptr<DartIsolate> embedder_isolate; in CreateRootIsolate()
46 auto root_embedder_data = std::make_unique<std::shared_ptr<DartIsolate>>( in CreateRootIsolate()
47 std::make_shared<DartIsolate>( in CreateRootIsolate()
80 std::shared_ptr<DartIsolate> shared_embedder_isolate = in CreateRootIsolate()
92 DartIsolate::DartIsolate(const Settings& settings, in DartIsolate() function in flutter::DartIsolate
123 DartIsolate::~DartIsolate() = default;
125 const Settings& DartIsolate::GetSettings() const { in GetSettings()
129 DartIsolate::Phase DartIsolate::GetPhase() const { in GetPhase()
133 std::string DartIsolate::GetServiceId() { in GetServiceId()
[all …]
Ddart_isolate.h25 class DartIsolate : public UIDartState {
37 using ChildIsolatePreparer = std::function<bool(DartIsolate*)>;
42 static std::weak_ptr<DartIsolate> CreateRootIsolate(
56 DartIsolate(const Settings& settings,
68 ~DartIsolate() override;
111 std::weak_ptr<DartIsolate> GetWeakIsolatePtr();
164 std::shared_ptr<DartIsolate>* embedder_isolate,
174 std::weak_ptr<DartIsolate> /* embedder */>
181 std::shared_ptr<DartIsolate>* parent_embedder_isolate,
187 std::shared_ptr<DartIsolate>* isolate_group_data,
[all …]
Ddart_isolate_unittests.cc34 auto weak_isolate = DartIsolate::CreateRootIsolate( in TEST_F()
50 ASSERT_EQ(root_isolate->GetPhase(), DartIsolate::Phase::LibrariesSetup); in TEST_F()
67 auto weak_isolate = DartIsolate::CreateRootIsolate( in TEST_F()
83 ASSERT_EQ(root_isolate->GetPhase(), DartIsolate::Phase::LibrariesSetup); in TEST_F()
97 AutoIsolateShutdown(std::shared_ptr<DartIsolate> isolate, in AutoIsolateShutdown()
140 DartIsolate* get() { in get()
146 std::shared_ptr<DartIsolate> isolate_;
177 auto weak_isolate = DartIsolate::CreateRootIsolate( in RunDartCodeInIsolate()
200 if (root_isolate->get()->GetPhase() != DartIsolate::Phase::LibrariesSetup) { in RunDartCodeInIsolate()
243 if (root_isolate->get()->GetPhase() != DartIsolate::Phase::Ready) { in RunDartCodeInIsolate()
[all …]
Druntime_controller.cc74 DartIsolate::CreateRootIsolate(vm_->GetVMData()->GetSettings(), // in RuntimeController()
113 std::shared_ptr<DartIsolate> root_isolate = root_isolate_.lock(); in ~RuntimeController()
125 std::shared_ptr<DartIsolate> root_isolate = root_isolate_.lock(); in IsRootIsolateRunning()
127 return root_isolate->GetPhase() == DartIsolate::Phase::Running; in IsRootIsolateRunning()
242 std::shared_ptr<DartIsolate> root_isolate = root_isolate_.lock(); in NotifyIdle()
294 std::shared_ptr<DartIsolate> root_isolate = root_isolate_.lock(); in GetWindowIfAvailable()
335 std::shared_ptr<DartIsolate> root_isolate = root_isolate_.lock(); in GetMainPort()
340 std::shared_ptr<DartIsolate> root_isolate = root_isolate_.lock(); in GetIsolateName()
345 std::shared_ptr<DartIsolate> root_isolate = root_isolate_.lock(); in HasLivePorts()
354 std::shared_ptr<DartIsolate> root_isolate = root_isolate_.lock(); in GetLastError()
[all …]
Ddart_lifecycle_unittests.cc45 static std::shared_ptr<DartIsolate> CreateAndRunRootIsolate( in CreateAndRunRootIsolate()
53 auto isolate_weak = DartIsolate::CreateRootIsolate( in CreateAndRunRootIsolate()
90 if (isolate->GetPhase() != DartIsolate::Phase::Ready) { in CreateAndRunRootIsolate()
100 if (isolate->GetPhase() != DartIsolate::Phase::Running) { in CreateAndRunRootIsolate()
Ddart_vm.cc390 DartIsolate::DartIsolateGroupCreateCallback);
393 DartIsolate::DartIsolateShutdownCallback);
395 DartIsolate::DartIsolateGroupCleanupCallback);
Ddart_vm_lifecycle.h68 friend class DartIsolate;
Ddart_vm.h57 friend class DartIsolate; variable
/third_party/flutter/engine/flutter/shell/common/
Disolate_configuration.cc16 bool IsolateConfiguration::PrepareIsolate(DartIsolate& isolate) { in PrepareIsolate()
17 if (isolate.GetPhase() != DartIsolate::Phase::LibrariesSetup) { in PrepareIsolate()
31 bool DoPrepareIsolate(DartIsolate& isolate) override { in DoPrepareIsolate()
45 bool DoPrepareIsolate(DartIsolate& isolate) override { in DoPrepareIsolate()
66 bool DoPrepareIsolate(DartIsolate& isolate) override { in DoPrepareIsolate()
Disolate_configuration.h155 bool PrepareIsolate(DartIsolate& isolate);
158 virtual bool DoPrepareIsolate(DartIsolate& isolate) = 0;
Dengine.cc133 std::shared_ptr<DartIsolate> isolate = in Run()
137 isolate && isolate->GetPhase() == DartIsolate::Phase::Running; in Run()
172 std::shared_ptr<DartIsolate> isolate = in PrepareAndLaunchIsolate()
181 if (isolate->GetPhase() == DartIsolate::Phase::Running) { in PrepareAndLaunchIsolate()