Flutter Engine
The Flutter Engine
|
#include <service.h>
Static Public Member Functions | |
static void | Init () |
static void | Cleanup () |
static ErrorPtr | HandleRootMessage (const Array &message) |
static ErrorPtr | HandleObjectRootMessage (const Array &message) |
static ErrorPtr | HandleIsolateMessage (Isolate *isolate, const Array &message) |
static void | HandleEvent (ServiceEvent *event, bool enter_safepoint=true) |
static void | RegisterIsolateEmbedderCallback (const char *name, Dart_ServiceRequestCallback callback, void *user_data) |
static void | RegisterRootEmbedderCallback (const char *name, Dart_ServiceRequestCallback callback, void *user_data) |
static void | SetEmbedderInformationCallback (Dart_EmbedderInformationCallback callback) |
static void | SetEmbedderStreamCallbacks (Dart_ServiceStreamListenCallback listen_callback, Dart_ServiceStreamCancelCallback cancel_callback) |
static void | SetGetServiceAssetsCallback (Dart_GetVMServiceAssetsArchive get_service_assets) |
static void | SendEchoEvent (Isolate *isolate, const char *text) |
static void | SendInspectEvent (Isolate *isolate, const Object &inspectee) |
static void | SendEmbedderEvent (Isolate *isolate, const char *stream_id, const char *event_kind, const uint8_t *bytes, intptr_t bytes_len) |
static void | SendLogEvent (Isolate *isolate, int64_t sequence_number, int64_t timestamp, intptr_t level, const String &name, const String &message, const Instance &zone, const Object &error, const Instance &stack_trace) |
static void | SendExtensionEvent (Isolate *isolate, const String &event_kind, const String &event_data) |
static void | SendEventWithData (const char *stream_id, const char *event_type, intptr_t reservation, const char *metadata, intptr_t metadata_size, uint8_t *data, intptr_t data_size) |
static void | PostError (const String &method_name, const Array ¶meter_keys, const Array ¶meter_values, const Instance &reply_port, const Instance &id, const Error &error) |
static void | LogResponseSize (const char *method, JSONStream *js) |
static bool | EnableTimelineStreams (char *categories_list) |
static bool | ListenStream (const char *stream_id, bool include_privates) |
static void | CancelStream (const char *stream_id) |
static ObjectPtr | RequestAssets () |
static Dart_ServiceStreamListenCallback | stream_listen_callback () |
static Dart_ServiceStreamCancelCallback | stream_cancel_callback () |
static void | PrintJSONForEmbedderInformation (JSONObject *jsobj) |
static void | PrintJSONForVM (JSONStream *js, bool ref) |
static void | CheckForPause (Isolate *isolate, JSONStream *stream) |
static int64_t | CurrentRSS () |
static int64_t | MaxRSS () |
static void | SetDartLibraryKernelForSources (const uint8_t *kernel_bytes, intptr_t kernel_length) |
static bool | HasDartLibraryKernelForSources () |
static const uint8_t * | dart_library_kernel () |
static intptr_t | dart_library_kernel_length () |
Static Public Attributes | |
static StreamInfo | vm_stream |
static StreamInfo | isolate_stream |
static StreamInfo | debug_stream |
static StreamInfo | gc_stream |
static StreamInfo | echo_stream |
static StreamInfo | heapsnapshot_stream |
static StreamInfo | logging_stream |
static StreamInfo | extension_stream |
static StreamInfo | timeline_stream |
static StreamInfo | profiler_stream |
|
static |
Definition at line 448 of file service.cc.
|
static |
Definition at line 3880 of file service.cc.
|
static |
Definition at line 119 of file service.cc.
|
static |
Definition at line 1451 of file service.cc.
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
Definition at line 1206 of file service.cc.
Definition at line 1069 of file service.cc.
|
static |
Definition at line 1064 of file service.cc.
|
static |
Definition at line 1059 of file service.cc.
|
inlinestatic |
|
static |
Definition at line 97 of file service.cc.
|
static |
Definition at line 427 of file service.cc.
|
static |
Definition at line 86 of file service.cc.
|
static |
Definition at line 1466 of file service.cc.
|
static |
|
static |
Definition at line 5252 of file service.cc.
|
static |
Definition at line 5274 of file service.cc.
|
static |
Definition at line 1376 of file service.cc.
|
static |
Definition at line 1411 of file service.cc.
|
static |
Definition at line 466 of file service.cc.
|
static |
Definition at line 1744 of file service.cc.
|
static |
Definition at line 4838 of file service.cc.
|
static |
Definition at line 1134 of file service.cc.
|
static |
Definition at line 4876 of file service.cc.
Definition at line 4829 of file service.cc.
|
static |
Definition at line 4850 of file service.cc.
|
static |
Definition at line 1481 of file service.cc.
|
static |
Definition at line 1446 of file service.cc.
|
static |
Definition at line 1434 of file service.cc.
|
static |
Definition at line 1441 of file service.cc.
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |