Flutter Engine
component.cc File Reference
#include "component.h"
#include <dlfcn.h>
#include <fuchsia/mem/cpp/fidl.h>
#include <lib/async-loop/cpp/loop.h>
#include <lib/async/cpp/task.h>
#include <lib/async/default.h>
#include <lib/fdio/directory.h>
#include <lib/fdio/namespace.h>
#include <lib/ui/scenic/cpp/view_ref_pair.h>
#include <lib/ui/scenic/cpp/view_token_pair.h>
#include <lib/vfs/cpp/composed_service_dir.h>
#include <lib/vfs/cpp/remote_dir.h>
#include <lib/vfs/cpp/service.h>
#include <sys/stat.h>
#include <zircon/dlfcn.h>
#include <zircon/status.h>
#include <zircon/types.h>
#include <memory>
#include <regex>
#include <sstream>
#include "flutter/fml/mapping.h"
#include "flutter/fml/synchronization/waitable_event.h"
#include "flutter/fml/unique_fd.h"
#include "flutter/runtime/dart_vm_lifecycle.h"
#include "flutter/shell/common/switches.h"
#include "lib/fdio/io.h"
#include "runtime/dart/utils/files.h"
#include "runtime/dart/utils/handle_exception.h"
#include "runtime/dart/utils/mapped_resource.h"
#include "runtime/dart/utils/tempfs.h"
#include "runtime/dart/utils/vmo.h"
#include "flutter_runner_product_configuration.h"
#include "task_observers.h"
#include "task_runner_adapter.h"
#include "thread.h"

Go to the source code of this file.

Classes

class  flutter_runner::FileInNamespaceBuffer
 

Namespaces

 flutter_runner
 

Functions

static std::string flutter_runner::DebugLabelForURL (const std::string &url)
 
static std::unique_ptr< fml::FileMappingflutter_runner::MakeFileMapping (const char *path, bool executable)
 
static flutter::MappingCallback flutter_runner::MakeDataFileMapping (const char *absolute_path, bool executable=false)
 
std::unique_ptr< fml::Mappingflutter_runner::CreateWithContentsOfFile (int namespace_fd, const char *file_path, bool executable)
 

Variables

constexpr uint32_t OPEN_RIGHT_READABLE = 1u
 
constexpr uint32_t OPEN_RIGHT_EXECUTABLE = 8u
 
constexpr char flutter_runner::kDataKey [] = "data"
 
constexpr char flutter_runner::kAssetsKey [] = "assets"
 
constexpr char flutter_runner::kTmpPath [] = "/tmp"
 
constexpr char flutter_runner::kServiceRootPath [] = "/svc"
 
constexpr char flutter_runner::kRunnerConfigPath [] = "/config/data/flutter_runner_config"
 

Variable Documentation

◆ OPEN_RIGHT_EXECUTABLE

constexpr uint32_t OPEN_RIGHT_EXECUTABLE = 8u

◆ OPEN_RIGHT_READABLE