#include <service_protocol.h>
Definition at line 22 of file service_protocol.h.
◆ ServiceProtocol()
flutter::ServiceProtocol::ServiceProtocol |
( |
| ) |
|
Definition at line 50 of file service_protocol.cc.
51 : endpoints_({
52
54
55
66 }),
static const std::string_view kSetAssetBundlePathExtensionName
static const std::string_view kReloadAssetFonts
static const std::string_view kScreenshotSkpExtensionName
static const std::string_view kScreenshotExtensionName
static const std::string_view kGetDisplayRefreshRateExtensionName
static const std::string_view kRunInViewExtensionName
static const std::string_view kEstimateRasterCacheMemoryExtensionName
static const std::string_view kGetSkSLsExtensionName
static const std::string_view kRenderFrameWithRasterStatsExtensionName
static const std::string_view kFlushUIThreadTasksExtensionName
static SharedMutex * Create()
static constexpr std::string_view kListViewsExtensionName
◆ ~ServiceProtocol()
flutter::ServiceProtocol::~ServiceProtocol |
( |
| ) |
|
◆ AddHandler()
◆ RemoveHandler()
void flutter::ServiceProtocol::RemoveHandler |
( |
Handler * |
handler | ) |
|
◆ SetHandlerDescription()
Definition at line 84 of file service_protocol.cc.
86 {
88 auto it = handlers_.find(handler);
89 if (it != handlers_.end()) {
90 it->second.Store(description);
91 }
92}
◆ ToggleHooks()
void flutter::ServiceProtocol::ToggleHooks |
( |
bool |
set | ) |
|
Definition at line 94 of file service_protocol.cc.
94 {
95 for (const auto& endpoint : endpoints_) {
97 endpoint.data(),
98 &ServiceProtocol::HandleMessage,
100 );
101 }
102}
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 set
◆ kEstimateRasterCacheMemoryExtensionName
const std::string_view flutter::ServiceProtocol::kEstimateRasterCacheMemoryExtensionName |
|
static |
Initial value:=
"_flutter.estimateRasterCacheMemory"
Definition at line 31 of file service_protocol.h.
◆ kFlushUIThreadTasksExtensionName
const std::string_view flutter::ServiceProtocol::kFlushUIThreadTasksExtensionName |
|
static |
◆ kGetDisplayRefreshRateExtensionName
const std::string_view flutter::ServiceProtocol::kGetDisplayRefreshRateExtensionName |
|
static |
◆ kGetSkSLsExtensionName
const std::string_view flutter::ServiceProtocol::kGetSkSLsExtensionName |
|
static |
◆ kReloadAssetFonts
const std::string_view flutter::ServiceProtocol::kReloadAssetFonts |
|
static |
◆ kRenderFrameWithRasterStatsExtensionName
const std::string_view flutter::ServiceProtocol::kRenderFrameWithRasterStatsExtensionName |
|
static |
Initial value:=
"_flutter.renderFrameWithRasterStats"
Definition at line 32 of file service_protocol.h.
◆ kRunInViewExtensionName
const std::string_view flutter::ServiceProtocol::kRunInViewExtensionName |
|
static |
◆ kScreenshotExtensionName
const std::string_view flutter::ServiceProtocol::kScreenshotExtensionName |
|
static |
◆ kScreenshotSkpExtensionName
const std::string_view flutter::ServiceProtocol::kScreenshotSkpExtensionName |
|
static |
◆ kSetAssetBundlePathExtensionName
const std::string_view flutter::ServiceProtocol::kSetAssetBundlePathExtensionName |
|
static |
The documentation for this class was generated from the following files: