12#if FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_DEBUG || \
13 FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_PROFILE
14#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_IOKIT_H_
15#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_IOKIT_H_
17#if defined(__cplusplus)
21#include <CoreFoundation/CoreFoundation.h>
26#include <device/device_types.h>
55 const io_name_t plane,
63 CFMutableDictionaryRef* properties,
64 CFAllocatorRef allocator,
68 CFAllocatorRef allocator,
71 CFTypeRef properties);
74 const io_name_t plane,
78 const io_name_t plane,
82 const io_name_t plane,
85 const io_name_t plane,
96 CFDictionaryRef matching CF_RELEASES_ARGUMENT);
99 CFDictionaryRef matching CF_RELEASES_ARGUMENT,
kern_return_t IOObjectGetClass(io_object_t object, io_name_t name)
io_object_t io_registry_entry_t
kern_return_t IORegistryEntryGetChildIterator(io_registry_entry_t entry, const io_name_t plane, io_iterator_t *it)
kern_return_t IORegistryEntryGetParentIterator(io_registry_entry_t entry, const io_name_t plane, io_iterator_t *it)
kern_return_t IORegistryEntryGetProperty(io_registry_entry_t entry, const io_name_t name, io_struct_inband_t buffer, uint32_t *size)
CFStringRef IOObjectCopySuperclassForClass(CFStringRef name)
static const char * kIOServicePlane
kern_return_t IORegistryEntryGetName(io_registry_entry_t entry, io_name_t name)
io_service_t IOServiceGetMatchingService(mach_port_t master, CFDictionaryRef matching CF_RELEASES_ARGUMENT)
kern_return_t IORegistryEntrySetCFProperties(io_registry_entry_t entry, CFTypeRef properties)
io_object_t io_iterator_t
kern_return_t IORegistryEntryGetPath(io_registry_entry_t entry, const io_name_t plane, io_string_t path)
void IOIteratorReset(io_iterator_t it)
const mach_port_t kIOMasterPortDefault
CFTypeRef IORegistryEntryCreateCFProperty(io_registry_entry_t entry, CFStringRef key, CFAllocatorRef allocator, uint32_t options)
kern_return_t IORegistryCreateIterator(mach_port_t master, const io_name_t plane, uint32_t options, io_iterator_t *it)
CFMutableDictionaryRef IOServiceNameMatching(const char *name) CF_RETURNS_RETAINED
CFStringRef IOObjectCopyBundleIdentifierForClass(CFStringRef name)
io_registry_entry_t IORegistryGetRootEntry(mach_port_t master)
kern_return_t IORegistryEntryCreateCFProperties(io_registry_entry_t entry, CFMutableDictionaryRef *properties, CFAllocatorRef allocator, uint32_t options)
CFStringRef IOObjectCopyClass(io_object_t object)
kern_return_t IORegistryEntryCreateIterator(io_registry_entry_t entry, const io_name_t plane, uint32_t options, io_iterator_t *it)
kern_return_t IOObjectRelease(io_object_t object)
kern_return_t IOServiceGetMatchingServices(mach_port_t master, CFDictionaryRef matching CF_RELEASES_ARGUMENT, io_iterator_t *it)
boolean_t IOIteratorIsValid(io_iterator_t it)
CFMutableDictionaryRef IOServiceMatching(const char *name) CF_RETURNS_RETAINED
kern_return_t IOObjectRetain(io_object_t object)
io_object_t IOIteratorNext(io_iterator_t it)
kern_return_t IORegistryEntryGetRegistryEntryID(io_registry_entry_t entry, uint64_t *entryID)
boolean_t IOObjectConformsTo(io_object_t object, const io_name_t name)
uint32_t IOObjectGetKernelRetainCount(io_object_t object)
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
DEF_SWITCHES_START aot vmservice shared library name
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 A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace buffer
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size