Flutter Engine
The Flutter Engine
Namespaces | Functions | Variables
dart_vm.cc File Reference
#include "flutter/runtime/dart_vm.h"
#include <sys/stat.h>
#include <sstream>
#include <vector>
#include "flutter/common/settings.h"
#include "flutter/fml/compiler_specific.h"
#include "flutter/fml/cpu_affinity.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/mapping.h"
#include "flutter/fml/size.h"
#include "flutter/fml/time/time_delta.h"
#include "flutter/fml/trace_event.h"
#include "flutter/lib/ui/dart_ui.h"
#include "flutter/runtime/dart_isolate.h"
#include "flutter/runtime/dart_vm_initializer.h"
#include "flutter/runtime/ptrace_check.h"
#include "third_party/dart/runtime/include/bin/dart_io_api.h"
#include "third_party/skia/include/core/SkExecutor.h"
#include "third_party/tonic/converter/dart_converter.h"
#include "third_party/tonic/dart_class_library.h"
#include "third_party/tonic/dart_class_provider.h"
#include "third_party/tonic/file_loader/file_loader.h"
#include "third_party/tonic/logging/dart_error.h"
#include "third_party/tonic/typed_data/typed_list.h"

Go to the source code of this file.

Namespaces

namespace  dart
 
namespace  dart::observatory
 
namespace  flutter
 

Functions

static std::string flutter::DartFileRecorderArgs (const std::string &path)
 
static std::string flutter::DartOldGenHeapSizeArgs (uint64_t heap_size)
 
bool flutter::DartFileModifiedCallback (const char *source_url, int64_t since_ms)
 
void flutter::ThreadExitCallback ()
 
Dart_Handle flutter::GetVMServiceAssetsArchiveCallback ()
 
static bool flutter::ServiceStreamListenCallback (const char *stream_id)
 
static void flutter::ServiceStreamCancelCallback (const char *stream_id)
 
static std::vector< const char * > flutter::ProfilingFlags (bool enable_profiling)
 
void flutter::PushBackAll (std::vector< const char * > *args, const char **argv, size_t argc)
 
static void flutter::EmbedderInformationCallback (Dart_EmbedderInformation *info)
 

Variables

unsigned int dart::observatory::observatory_assets_archive_len
 
const uint8_t * dart::observatory::observatory_assets_archive
 
static const char * flutter::kDartAllConfigsArgs []
 
static const char * flutter::kDartPrecompilationArgs [] = {"--precompilation"}
 
static const char * flutter::kSerialGCArgs []
 
static FML_ALLOW_UNUSED_TYPE const char * flutter::kDartWriteProtectCodeArgs []
 
static FML_ALLOW_UNUSED_TYPE const char * flutter::kDartDisableIntegerDivisionArgs []
 
static const char * flutter::kDartAssertArgs []
 
static const char * flutter::kDartStartPausedArgs []
 
static const char * flutter::kDartEndlessTraceBufferArgs []
 
static const char * flutter::kDartSystraceTraceBufferArgs []
 
static FML_ALLOW_UNUSED_TYPE const char * flutter::kDartDefaultTraceStreamsArgs []
 
static const char * flutter::kDartStartupTraceStreamsArgs []
 
static const char * flutter::kDartSystraceTraceStreamsArgs []
 
constexpr char flutter::kFileUriPrefix [] = "file://"
 
constexpr size_t flutter::kFileUriPrefixLength = sizeof(kFileUriPrefix) - 1
 
static const char flutter::kStdoutStreamId [] = "Stdout"
 
static const char flutter::kStderrStreamId [] = "Stderr"
 
static std::atomic_size_t flutter::gVMLaunchCount
 
static constexpr size_t flutter::kMinCount = 2
 
static constexpr size_t flutter::kMaxCount = 4