Flutter Engine
fuchsia.cc File Reference
#include "dart-pkg/fuchsia/sdk_ext/fuchsia.h"
#include <zircon/syscalls.h>
#include <cstdio>
#include <cstring>
#include <memory>
#include <vector>
#include "dart-pkg/zircon/sdk_ext/handle.h"
#include "dart-pkg/zircon/sdk_ext/natives.h"
#include "dart-pkg/zircon/sdk_ext/system.h"
#include "flutter/fml/size.h"
#include "third_party/dart/runtime/include/dart_api.h"
#include "third_party/tonic/dart_binding_macros.h"
#include "third_party/tonic/dart_class_library.h"
#include "third_party/tonic/dart_class_provider.h"
#include "third_party/tonic/dart_library_natives.h"
#include "third_party/tonic/dart_state.h"
#include "third_party/tonic/logging/dart_invoke.h"
#include "third_party/tonic/typed_data/typed_list.h"

Go to the source code of this file.

Namespaces

 fuchsia
 
 fuchsia::dart
 

Macros

#define REGISTER_FUNCTION(name, count)   {"" #name, name, count},
 
#define DECLARE_FUNCTION(name, count)   extern void name(Dart_NativeArguments args);
 
#define FIDL_NATIVE_LIST(V)   V(SetReturnCode, 1)
 

Functions

void fuchsia::dart::Initialize (fidl::InterfaceHandle< fuchsia::sys::Environment > environment, zx::channel directory_request, std::optional< zx::eventpair > view_ref)
 Initializes Dart bindings for the Fuchsia application model. More...
 

Macro Definition Documentation

◆ DECLARE_FUNCTION

#define DECLARE_FUNCTION (   name,
  count 
)    extern void name(Dart_NativeArguments args);

Definition at line 42 of file fuchsia.cc.

◆ FIDL_NATIVE_LIST

#define FIDL_NATIVE_LIST (   V)    V(SetReturnCode, 1)

Definition at line 45 of file fuchsia.cc.

◆ REGISTER_FUNCTION

#define REGISTER_FUNCTION (   name,
  count 
)    {"" #name, name, count},

Definition at line 41 of file fuchsia.cc.

Variable Documentation

◆ argument_count

int argument_count

Definition at line 52 of file fuchsia.cc.

Referenced by DartVMInitializer::Cleanup().

◆ function

◆ name

const char* name

Definition at line 50 of file fuchsia.cc.

Referenced by flutter::testing::TestDartNativeResolver::AddNativeCallback(), flutter::ConnectionCollection::AquireConnection(), flutter::testing::Build(), checkProperty(), ui::AXPlatformNodeWinTest::CheckVariantHasName(), flutter::testing::TestGLSurface::CreateGrContext(), flutter::testing::ThreadTest::CreateNewThread(), flutter_runner::testing::FakeFlatland::debug_name(), decode_error_method_call(), AXPlatformNodeCocoa::detach, flutter_runner::testing::FakeSession::DisconnectSession(), flutter::testing::EmbedderConfigBuilder::EmbedderConfigBuilder(), flutter::JsonMethodCodec::EncodeMethodCallInternal(), flutter_runner::testing::FakeFlatland::FireOnFramePresentedEvent(), fl_renderer_gl_create_backing_store(), fl_test_texture_populate(), fl_texture_gl_populate(), flutter::DartCallbackCache::GetCallbackHandle(), flutter::GetCallbackHandle(), flutter_runner::GetCurrentProcessName(), flutter::testing::FlutterEngineTest::GetFlutterEngine(), ui::AXPlatformNodeBase::GetNameAsString16(), flutter::testing::TestGLSurface::GetProcAddress(), flutter::Engine::GetRuntimeController(), fml::GetSymbolName(), flutter::testing::GetTestNameFromTestInfo(), FlutterEventChannel::initWithName:binaryMessenger:codec:, FlutterEngineGroup::initWithName:project:, IsRendererValid(), flutter::UIDartState::IsRootIsolate(), flutter::DartCallbackCache::LoadCacheFromDisk(), FlutterViewController::loadDefaultSplashScreenView, flutter::LogLastEGLError(), flutter::IsolateNameServer::LookupIsolatePortByName(), flutter::IsolateNameServer::RegisterIsolatePortWithName(), flutter_runner::Runner::Runner(), flutter_runner::testing::FakeSession::SceneGraph(), flutter::testing::EmbedderTestContextGL::SetGLPresentCallback(), ui::AXNodeData::SetName(), flutter_runner::SetProcessName(), flutter::EventChannel< T >::SetStreamHandler(), flutter::SettingsFromCommandLine(), flutter::testing::ShellTestPlatformViewGL::SimulateVSync(), TEST(), ui::TEST_F(), flutter_runner_test::TEST_F(), flutter::testing::TEST_F(), fml::Thread::Thread(), fml::tracing::TraceEvent(), and _FlutterTaskRunner::~_FlutterTaskRunner().