5#include "flutter/lib/ui/isolate_name_server/isolate_name_server_natives.h"
9#include "flutter/lib/ui/isolate_name_server/isolate_name_server.h"
10#include "flutter/lib/ui/ui_dart_state.h"
17 const std::string&
name) {
30 const std::string&
name) {
37 if (!name_server->RegisterIsolatePortWithName(
port,
name)) {
45 if (!name_server || !name_server->RemoveIsolateNameMapping(
name)) {
static Dart_Handle LookupPortByName(const std::string &name)
static bool RegisterPortWithName(Dart_Handle port_handle, const std::string &name)
static bool RemovePortNameMapping(const std::string &name)
std::shared_ptr< IsolateNameServer > GetIsolateNameServer() const
static UIDartState * Current()
struct _Dart_Handle * Dart_Handle
DART_EXPORT Dart_Handle Dart_NewSendPortEx(Dart_PortEx portex_id)
DART_EXPORT Dart_Handle Dart_Null(void)
DART_EXPORT Dart_Handle Dart_SendPortGetIdEx(Dart_Handle port, Dart_PortEx *portex_id)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service port
DEF_SWITCHES_START aot vmservice shared library name