Home
last modified time | relevance | path

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

/third_party/flutter/engine/flutter/runtime/
Ddart_vm_lifecycle.cc31 DartVMRef::DartVMRef(std::shared_ptr<DartVM> vm) : vm_(vm) {} in DartVMRef() function in flutter::DartVMRef
33 DartVMRef::DartVMRef(DartVMRef&& other) = default;
35 DartVMRef::~DartVMRef() { in ~DartVMRef()
47 DartVMRef DartVMRef::Create(Settings settings, in Create()
68 return DartVMRef{std::move(vm)}; in Create()
102 return DartVMRef{std::move(vm)}; in Create()
105 bool DartVMRef::IsInstanceRunning() { in IsInstanceRunning()
110 std::shared_ptr<const DartVMData> DartVMRef::GetVMData() { in GetVMData()
115 std::shared_ptr<ServiceProtocol> DartVMRef::GetServiceProtocol() { in GetServiceProtocol()
120 std::shared_ptr<IsolateNameServer> DartVMRef::GetIsolateNameServer() { in GetIsolateNameServer()
[all …]
Ddart_lifecycle_unittests.cc22 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
24 auto vm_ref = DartVMRef::Create(settings); in TEST_F()
25 ASSERT_TRUE(DartVMRef::IsInstanceRunning()); in TEST_F()
27 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
34 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
37 auto vm_ref = DartVMRef::Create(settings); in TEST_F()
38 ASSERT_TRUE(DartVMRef::IsInstanceRunning()); in TEST_F()
42 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
117 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
121 auto vm_ref = DartVMRef::Create(settings); in TEST_F()
[all …]
Ddart_vm_lifecycle.h27 class DartVMRef {
30 static DartVMRef Create(Settings settings,
35 DartVMRef(DartVMRef&&);
37 ~DartVMRef();
72 DartVMRef(std::shared_ptr<DartVM> vm);
77 FML_DISALLOW_COPY_AND_ASSIGN(DartVMRef);
Ddart_isolate_unittests.cc22 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
24 auto vm_ref = DartVMRef::Create(settings); in TEST_F()
55 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
57 auto vm_ref = DartVMRef::Create(settings); in TEST_F()
152 static void RunDartCodeInIsolate(DartVMRef& vm_ref, in RunDartCodeInIsolate()
262 DartVMRef& vm_ref, in RunDartCodeInIsolate()
280 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
282 auto vm_ref = DartVMRef::Create(settings); in TEST_F()
290 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
292 auto vm_ref = DartVMRef::Create(settings); in TEST_F()
[all …]
Ddart_vm_unittests.cc16 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
17 auto vm = DartVMRef::Create(CreateSettingsForFixture()); in TEST_F()
22 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
23 auto vm = DartVMRef::Create(CreateSettingsForFixture()); in TEST_F()
Ddart_vm.h56 friend class DartVMRef; variable
Ddart_isolate.cc112 DartVMRef::GetIsolateNameServer()), in DartIsolate()
559 auto vm_data = DartVMRef::GetVMData(); in DartCreateAndStartServiceIsolate()
617 if (auto service_protocol = DartVMRef::GetServiceProtocol()) { in DartCreateAndStartServiceIsolate()
/third_party/flutter/engine/flutter/shell/common/
Dshell_unittests.cc55 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
60 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
64 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
75 ASSERT_TRUE(DartVMRef::IsInstanceRunning()); in TEST_F()
77 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
81 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
89 ASSERT_TRUE(DartVMRef::IsInstanceRunning()); in TEST_F()
92 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
96 ASSERT_FALSE(DartVMRef::IsInstanceRunning()); in TEST_F()
104 ASSERT_TRUE(DartVMRef::IsInstanceRunning()); in TEST_F()
[all …]
Dshell.cc36 DartVMRef vm, in CreateShellOnPlatformThread()
209 auto vm = DartVMRef::Create(settings); in Create()
231 DartVMRef vm) { in Create()
269 Shell::Shell(DartVMRef vm, TaskRunners task_runners, Settings settings) in Shell()
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Dengine.cc204 auto vm = flutter::DartVMRef::Create(settings_); in Engine()
Dcomponent.cc464 auto vm = flutter::DartVMRef::Create(settings_, // in AttemptVMLaunchWithCurrentSettings()