协议
Builder
在 fuchsia.component.test/realm_builder.fidl 中定义
构建
汇编正在构建的领域,并返回该领域中根组件的网址,然后可用于在正确设置了 fuchsia-test-component 的任何集合中创建新组件。调用此方法后,相应 Realm 通道将不再可用。如果已在该领域使用了 AddLocalChild
函数,则必须提供 runner
参数,因为此运行程序渠道将用于通知客户端何时开始和停止运行任何本地组件实现。
错误数:
INVALID_COMPONENT_DECL
:组件声明验证失败。BUILD_ALREADY_CALLED
:已在此通道上多次调用Build
函数。
请求
名称 | 类型 |
---|---|
runner |
fuchsia.component.runner/ComponentRunner
|
响应
名称 | 类型 |
---|---|
payload |
Builder_Build_Result
|
领域
在 fuchsia.component.test/realm_builder.fidl 中定义
AddCapability
向领域添加功能。
请求
名称 | 类型 |
---|---|
capability |
fuchsia.component.decl/Capability
|
响应
名称 | 类型 |
---|---|
payload |
Realm_AddCapability_Result
|
AddChild
向领域添加组件。
url
可以采用以下任一格式:
- 绝对组件网址(例如“fuchsia-pkg://fuchsia.com/some-package#meta/some-component.cm”)
- 子打包组件的相对路径组件网址(例如“some-subpackage#meta/subpackaged-component.cm”);或
- 仅包含 fragment 的相对网址(例如
#meta/other-component.cm
;请参阅 https://fuchsia.dev/fuchsia-src/reference/components/url#relative-fragment-only),用于在提供给RealmBuilderFactory::Create*()
的pkg_dir
中指向组件清单的路径。
Realm 构建器客户端通常会将句柄传递到自己的 /pkg
目录,并将 other-component
捆绑到同一软件包中。
在这三种网址类型中,只能通过 GetComponentDecl
/ReplaceComponentDecl
修改通过仅限 fragment 的网址添加的组件声明,因为 Realm 构建器实际上会通过组件的清单和提供的 pkg_dir
中捆绑的文件执行自己的组件解析(通常来自由 Realm 构建器客户端组件和通过仅限 fragment 网址添加的组件共享的软件包)。
错误数:
CHILD_ALREADY_EXISTS
:此大区已包含具有给定名称的子项。INVALID_MANIFEST_EXTENSION
:“url
”结尾不是“.cm
”DECL_NOT_FOUND
:测试软件包不包含仅包含 fragment 的组件网址引用的组件声明。DECL_READ_ERROR
:尝试从测试软件包中读取由仅限 fragment 的组件网址引用的组件声明时遇到 I/O 错误。BUILD_ALREADY_CALLED
:已为此领域调用了Builder.Build
函数,因此无法再使用此Realm
通道。
请求
名称 | 类型 |
---|---|
name |
fuchsia.component/child_name
|
url |
fuchsia.url/Url
|
options |
ChildOptions
|
响应
名称 | 类型 |
---|---|
payload |
Realm_AddChild_Result
|
AddChildFromDecl
向声明设置为 decl
的此大区添加一个组件。启动后,该组件会将测试软件包作为其软件包目录共享,并且可能会访问该组件中的任何资源。
错误数:
CHILD_ALREADY_EXISTS
:此大区已包含具有给定名称的子项。INVALID_COMPONENT_DECL
:decl
个验证失败。BUILD_ALREADY_CALLED
:已为此领域调用了Builder.Build
函数,因此无法再使用此Realm
通道。
请求
名称 | 类型 |
---|---|
name |
fuchsia.component/child_name
|
decl |
fuchsia.component.decl/Component
|
options |
ChildOptions
|
响应
名称 | 类型 |
---|---|
payload |
Realm_AddChildFromDecl_Result
|
AddChildRealm
添加一个可以使用 child_realm
的客户端端构建的子领域。
错误数:
CHILD_ALREADY_EXISTS
:此大区已包含具有给定名称的子项。BUILD_ALREADY_CALLED
:已为此领域调用了Builder.Build
函数,因此无法再使用此Realm
通道。
请求
名称 | 类型 |
---|---|
name |
fuchsia.component/name
|
options |
ChildOptions
|
child_realm |
server_end<Realm>
|
响应
名称 | 类型 |
---|---|
payload |
Realm_AddChildRealm_Result
|
AddLocalChild
将一个组件添加到其实现将由客户端提供的领域。应启动此组件时,传递到 Build
的运行程序渠道将收到针对某个组件的启动请求,该组件的 ProgramDecl
包含将在 program
键 LOCAL_COMPONENT_NAME
下运行的子项所构建领域的根目录中的名称。
错误数:
CHILD_ALREADY_EXISTS
:此大区已包含具有给定名称的子项。BUILD_ALREADY_CALLED
:已为此领域调用了Builder.Build
函数,因此无法再使用此Realm
通道。
请求
名称 | 类型 |
---|---|
name |
fuchsia.component/child_name
|
options |
ChildOptions
|
响应
名称 | 类型 |
---|---|
payload |
Realm_AddLocalChild_Result
|
AddRoute
在 Realm 中修改组件清单,以便 to
中的每个组件对 capabilities
中的每个项都具有有效的功能路由(由 from
提供)。
错误数:
NO_SUCH_SOURCE
:from
引用的子项不存在。NO_SUCH_TARGET
:to
引用的子项不存在。CAPABILITIES_EMPTY
:“capabilities
”为空。TARGETS_EMPTY
:“to
”为空。SOURCE_AND_TARGET_MATCH
:from
等于to
中的某个元素。INVALID_COMPONENT_DECL
:请求的路由导致其中一个涉及的清单未通过验证。BUILD_ALREADY_CALLED
:已为此领域调用了Builder.Build
函数,因此无法再使用此Realm
通道。
请求
名称 | 类型 |
---|---|
capabilities |
vector<Capability>
|
from |
fuchsia.component.decl/Ref
|
to |
vector<fuchsia.component.decl/Ref>
|
响应
名称 | 类型 |
---|---|
payload |
Realm_AddRoute_Result
|
GetComponentDecl
返回指定组件的组件 decl。name
必须引用以下任一组件:
- 具有本地实现的组件
- 旧版组件
- 使用仅包含 fragment 的网址添加的组件(通常,与 Realm 构建器客户端捆绑在同一个软件包中的组件,共享相同的
/pkg
目录,例如#meta/other-component.cm
;请参阅 https://fuchsia-src/reference/components/url#relative-fragment-only) - 自动生成的领域(例如:根)
错误数:
NO_SUCH_CHILD
:此 Realm 不包含具有给定名称的子项。CHILD_DECL_NOT_VISIBLE
:无法为引用的子项提取组件声明,因为子项是使用新式(非旧版)绝对网址或子打包组件的相对路径网址添加到领域中的。BUILD_ALREADY_CALLED
:已为此领域调用了Builder.Build
函数,因此无法再使用此Realm
通道。
请求
名称 | 类型 |
---|---|
name |
fuchsia.component/child_name
|
响应
名称 | 类型 |
---|---|
payload |
Realm_GetComponentDecl_Result
|
GetRealmDecl
返回此领域的组件声明。
错误数:
BUILD_ALREADY_CALLED
:已为此领域调用了Builder.Build
函数,因此无法再使用此Realm
通道。
请求
<EMPTY>
响应
名称 | 类型 |
---|---|
payload |
Realm_GetRealmDecl_Result
|
InitMutableConfigFromPackage
在使用提供给构建器的值之前,加载 name
的任何打包配置。
允许调用 SetConfigValue
以替换打包配置。
请求
名称 | 类型 |
---|---|
name |
fuchsia.component/name
|
响应
名称 | 类型 |
---|---|
payload |
Realm_InitMutableConfigFromPackage_Result
|
InitMutableConfigToEmpty
请仅使用提供给构建器的值用于 name
的配置。
允许调用 SetConfigValue
以提供配置。
请求
名称 | 类型 |
---|---|
name |
fuchsia.component/name
|
响应
名称 | 类型 |
---|---|
payload |
Realm_InitMutableConfigToEmpty_Result
|
ReadOnlyDirectory
为此领域的组件提供目录功能。该目录将处于只读状态(即拥有 r*
权限),并将包含 directory_contents
中描述的内容。
错误数:
NO_SUCH_TARGET
:offer-to
引用的子项不存在。BUILD_ALREADY_CALLED
:已为此领域调用了Builder.Build
函数,因此无法再使用此Realm
通道。
请求
名称 | 类型 |
---|---|
name |
fuchsia.component/name
|
to |
vector<fuchsia.component.decl/Ref>
|
directory_contents |
DirectoryContents
|
响应
名称 | 类型 |
---|---|
payload |
Realm_ReadOnlyDirectory_Result
|
ReplaceComponentDecl
替换指定组件的组件 decl。name
必须引用以下任一组件:
- 具有本地实现的组件
- 旧版组件
- 使用仅包含 fragment 的网址添加的组件(通常,与 Realm 构建器客户端捆绑在同一个软件包中的组件,共享相同的
/pkg
目录,例如#meta/other-component.cm
;请参阅 https://fuchsia-src/reference/components/url#relative-fragment-only) - 自动生成的领域(例如:根)
错误数:
NO_SUCH_CHILD
:此 Realm 不包含具有给定名称的子项。CHILD_ALREADY_EXISTS
:要替换其声明的组件已通过 Realm 构建器向其中添加与component_decl.children
中某个元素同名的子项。CHILD_DECL_NOT_VISIBLE
:无法针对引用的子项操作组件声明,因为子项是使用绝对(非相对)网址和新式(非旧版)网址添加到领域中的。INVALID_COMPONENT_DECL
:component_decl
个验证失败。BUILD_ALREADY_CALLED
:已为此领域调用了Builder.Build
函数,因此无法再使用此Realm
通道。
请求
名称 | 类型 |
---|---|
name |
fuchsia.component/child_name
|
component_decl |
fuchsia.component.decl/Component
|
响应
名称 | 类型 |
---|---|
payload |
Realm_ReplaceComponentDecl_Result
|
ReplaceRealmDecl
替换此领域的组件声明。
错误数:
INVALID_COMPONENT_DECL
:component_decl
个验证失败。BUILD_ALREADY_CALLED
:已为此领域调用了Builder.Build
函数,因此无法再使用此Realm
通道。
请求
名称 | 类型 |
---|---|
component_decl |
fuchsia.component.decl/Component
|
响应
名称 | 类型 |
---|---|
payload |
Realm_ReplaceRealmDecl_Result
|
SetConfigValue
为 key
指定的字段设置配置值。
指定的组件必须具有包含此字段的配置架构。值必须符合架构定义的所有限制条件。
必须在 InitMutableConfigFromPackage
或 InitMutableConfigToEmpty
之后调用此方法。
错误数:
NO_CONFIG_SCHEMA
:组件没有配置架构NO_SUCH_CONFIG_FIELD
:在组件的配置架构中找不到key
CONFIG_VALUE_INVALID
:value
不符合配置架构限制条件
请求
名称 | 类型 |
---|---|
name |
fuchsia.component/name
|
key |
fuchsia.component.decl/ConfigKey
|
value |
fuchsia.component.decl/ConfigValueSpec
|
响应
名称 | 类型 |
---|---|
payload |
Realm_SetConfigValue_Result
|
RealmBuilderFactory
在 fuchsia.component.test/realm_builder.fidl 中定义
此协议可用于指示 Realm Builder 服务器开始创建新大区。
创建
创建新的 RealmBuilder。realm_server_end
的客户端可通过执行一些操作(例如向领域添加新的子项或在它们之间添加功能路由)来改变正在构造的领域。builder_server_end
的客户端用于最终确定 Realm,之后可在集合中启动它。
pkg_dir_handle
是测试软件包的句柄。Realm 构建器客户端通常会将句柄传递到自己的 /pkg
目录,并将 other-component
捆绑到同一软件包中。
请求
名称 | 类型 |
---|---|
pkg_dir_handle |
fuchsia.io/Directory
|
realm_server_end |
server_end<Realm>
|
builder_server_end |
server_end<Builder>
|
响应
名称 | 类型 |
---|---|
payload |
RealmBuilderFactory_Create_Result
|
CreateFromRelativeUrl
与 Create
相同,但默认情况下, Realm 不为空,而是包含位于测试软件包中 relative_url
指示的路径下的清单内容,该路径必须是仅包含片段的网址(例如 #meta/other-component.cm
;请参阅 https://fuchsia.dev/fuchsia-src/reference/components/url#relative-fragment-only)。
请求
名称 | 类型 |
---|---|
pkg_dir_handle |
fuchsia.io/Directory
|
relative_url |
fuchsia.url/Url
|
realm_server_end |
server_end<Realm>
|
builder_server_end |
server_end<Builder>
|
响应
名称 | 类型 |
---|---|
payload |
RealmBuilderFactory_CreateFromRelativeUrl_Result
|
结构
Builder_Build_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
野战 | 类型 | 说明 | 默认 |
---|---|---|---|
root_component_url |
string[4096]
|
无默认取景方式 |
DirectoryContents 资源
在 fuchsia.component.test/realm_builder.fidl 中定义
应由 Realm 构建器服务器提供的目录的内容。
野战 | 类型 | 说明 | 默认 |
---|---|---|---|
entries |
vector<DirectoryEntry>[1024]
|
无默认取景方式 |
DirectoryEntry 资源
在 fuchsia.component.test/realm_builder.fidl 中定义
目录中的条目。
野战 | 类型 | 说明 | 默认 |
---|---|---|---|
file_path |
fuchsia.component/name
|
文件的路径。有效示例包括 |
无默认取景方式 |
file_contents |
fuchsia.mem/Buffer
|
文件的内容。 |
无默认取景方式 |
RealmBuilderFactory_CreateFromRelativeUrl_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
<EMPTY>
RealmBuilderFactory_Create_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
<EMPTY>
Realm_AddCapability_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
<EMPTY>
Realm_AddChildFromDecl_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
<EMPTY>
Realm_AddChildRealm_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
<EMPTY>
Realm_AddChild_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
<EMPTY>
Realm_AddLocalChild_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
<EMPTY>
Realm_AddRoute_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
<EMPTY>
Realm_GetComponentDecl_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
野战 | 类型 | 说明 | 默认 |
---|---|---|---|
component_decl |
fuchsia.component.decl/Component
|
无默认取景方式 |
Realm_GetRealmDecl_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
野战 | 类型 | 说明 | 默认 |
---|---|---|---|
component_decl |
fuchsia.component.decl/Component
|
无默认取景方式 |
Realm_InitMutableConfigFromPackage_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
<EMPTY>
Realm_InitMutableConfigToEmpty_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
<EMPTY>
Realm_ReadOnlyDirectory_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
<EMPTY>
Realm_ReplaceComponentDecl_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
<EMPTY>
Realm_ReplaceRealmDecl_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
<EMPTY>
Realm_SetConfigValue_Response
在 fuchsia.component.test/realm_builder.fidl 中定义
<EMPTY>
枚举
RealmBuilderError严格
类型:uint32
在 fuchsia.component.test/realm_builder.fidl 中定义
Realm
和 Builder
协议可能返回的错误。
若在此文件中早前就移除了这个名称下的其他定义,这个名称将重命名为 RealmBuilderError
。
名称 | 值 | 说明 |
---|---|---|
CHILD_ALREADY_EXISTS |
0 |
无法将子项添加到该领域,因为该领域中已有一个子项使用该名称。 |
INVALID_MANIFEST_EXTENSION |
1 |
将旧版组件网址提供给 |
INVALID_COMPONENT_DECL |
2 |
组件声明验证失败。 |
NO_SUCH_CHILD |
3 |
引用的子项不存在。 |
CHILD_DECL_NOT_VISIBLE |
4 |
RealmBuilder 无法查看和操纵所引用子项的组件声明,因为子项是使用既非仅限 fragment 也不是旧网址的网址添加到领域中的。 |
NO_SUCH_SOURCE |
5 |
来源不存在。 |
NO_SUCH_TARGET |
6 |
目标不存在。 |
CAPABILITIES_EMPTY |
7 |
|
TARGETS_EMPTY |
8 |
|
SOURCE_AND_TARGET_MATCH |
9 |
|
DECL_NOT_FOUND |
10 |
测试软件包不包含纯 fragment 组件网址引用的组件声明。 |
DECL_READ_ERROR |
11 |
尝试从测试软件包中读取由仅包含 fragment 的组件网址引用的组件声明时遇到 I/O 错误。 |
BUILD_ALREADY_CALLED |
12 |
已在此通道上多次调用 |
CAPABILITY_INVALID |
13 |
功能无效。如果必填字段为空或收到的类型不受支持,就可能会发生这种情况。 |
INVALID_CHILD_REALM_HANDLE |
14 |
为子领域提供的客户端句柄不可用。 |
IMMUTABLE_PROGRAM |
15 |
对旧版组件或本地组件调用的 |
URL_IS_NOT_RELATIVE |
16 |
提供给 |
INVALID_PKG_DIR_HANDLE |
17 |
为测试的 pkg 目录提供的客户端句柄不可用。 |
NO_CONFIG_SCHEMA |
18 |
该组件未定义配置架构。不允许尝试设置配置值。 |
NO_SUCH_CONFIG_FIELD |
19 |
该组件的配置架构中没有使用该名称的字段。 |
CONFIG_VALUE_INVALID |
20 |
配置值无效。这可能意味着类型不匹配,或存在字符串/矢量长度等约束条件问题。 |
CONFIG_OVERRIDE_UNSUPPORTED |
21 |
无法设置配置值,因为领域尚未选择其替换政策。 添加次数:9
|
INVALID_CHILD_DECL |
22 |
子声明验证失败。 添加数量:20
|
表
ChildOptions
在 fuchsia.component.test/realm_builder.fidl 中定义
将子项添加到 Realm 时,可以为子项设置的属性。
序数 | 野战 | 类型 | 说明 |
---|---|---|---|
1 |
startup |
fuchsia.component.decl/StartupMode
|
如需了解此类型,请参阅 https://fuchsia.dev/go/components/declaration#StartupMode。
默认为 |
2 |
environment |
fuchsia.component/name
|
指定子账号在哪个自定义环境下运行。 |
3 |
on_terminate |
fuchsia.component.decl/OnTerminate
|
如需了解此类型,请参阅 https://fuchsia.dev/go/components/declaration#OnTerminate。
默认为 |
4 |
config_overrides |
vector<fuchsia.component.decl/ConfigOverride>
|
要应用于子级的结构化配置替换项。 只能提供子组件声明为可由父组件替换的键。如需了解替换项,请参阅 [fuchsia.component.decl/ConfigOverride]。 添加数量:13
|
配置
在 fuchsia.component.test/realm_builder.fidl 中定义
配置功能
序数 | 野战 | 类型 | 说明 |
---|---|---|---|
1 |
name |
fuchsia.component/name
|
功能的名称。 |
2 |
as |
fuchsia.component/name
|
功能的重命名,可在路由到另一个组件时进行设置。此字段是选填字段。 |
3 |
availability |
fuchsia.component.decl/Availability
|
可选。如果 |
目录
在 fuchsia.component.test/realm_builder.fidl 中定义
目录功能。
序数 | 野战 | 类型 | 说明 |
---|---|---|---|
1 |
name |
fuchsia.component/name
|
功能的名称。这不是该目录的路径。 而是用于路由的名称。 |
2 |
as |
fuchsia.component/name
|
功能的重命名,可在路由到另一个组件时进行设置。此字段是选填字段。 |
3 |
type |
fuchsia.component.decl/DependencyType
|
如需了解此类型,请参阅 https://fuchsia.dev/go/components/declaration#DependencyType。
此字段是选填字段,默认值为 |
4 |
subdir |
string[4095]
|
要提供的此目录的子目录,而不是根目录。例如,如果您将 |
5 |
rights |
fuchsia.io/Rights
|
组件可使用此目录设置的最大权限。 如果将此字段路由到本地组件,则此字段为必填字段,否则为选填字段。 |
6 |
path |
string[4095]
|
安装目录的路径。路径应以斜杠开头,但结尾不带有斜杠,例如 |
7 |
availability |
fuchsia.component.decl/Availability
|
可选。如果 添加数量:10
|
事件
在 fuchsia.component.test/realm_builder.fidl 中定义
事件功能
序数 | 野战 | 类型 | 说明 |
---|---|---|---|
1 |
name |
fuchsia.component/name
|
功能的名称。 |
2 |
as |
fuchsia.component/name
|
功能的重命名,可在路由到另一个组件时进行设置。此字段是选填字段。 |
3 |
filter |
fuchsia.data/Dictionary
|
要应用于事件的过滤条件。 |
4 |
availability |
fuchsia.component.decl/Availability
|
可选。如果 添加数量:10
|
EventStream
在 fuchsia.component.test/realm_builder.fidl 中定义
event_stream 功能
序数 | 野战 | 类型 | 说明 |
---|---|---|---|
1 |
name |
fuchsia.component/name
|
功能的名称。 |
2 |
as |
fuchsia.component/name
|
功能的重命名,可以在路由到另一个功能时进行设置 |
3 |
path |
string[4095]
|
设置 event_stream 的安装路径。 |
4 |
filter |
fuchsia.data/Dictionary
|
要应用于事件的过滤条件。 |
5 |
scope |
vector<fuchsia.component.decl/Ref>
|
此组件下的对象列表,可用于缩小事件范围。例如:#my_child_component、#my_child_collection。 |
协议
在 fuchsia.component.test/realm_builder.fidl 中定义
协议功能
序数 | 野战 | 类型 | 说明 |
---|---|---|---|
1 |
name |
fuchsia.component/name
|
功能的名称。这通常是 FIDL 协议的名称,例如 |
2 |
as |
fuchsia.component/name
|
功能的重命名,可在路由到另一个组件时进行设置。此字段是选填字段。 |
3 |
type |
fuchsia.component.decl/DependencyType
|
如需了解此类型,请参阅 https://fuchsia.dev/go/components/declaration#DependencyType。
此字段是选填字段,默认值为 |
4 |
path |
string[4095]
|
覆盖安装协议的路径。将使用此值,而不是 |
5 |
availability |
fuchsia.component.decl/Availability
|
可选。如果 添加数量:10
|
服务
在 fuchsia.component.test/realm_builder.fidl 中定义
服务功能
序数 | 野战 | 类型 | 说明 |
---|---|---|---|
1 |
name |
fuchsia.component/name
|
功能的名称。这通常是 FIDL 服务的名称,例如 |
2 |
as |
fuchsia.component/name
|
功能的重命名,可在路由到另一个组件时进行设置。此字段是选填字段。 |
3 |
path |
string[4095]
|
替换安装服务的路径。将使用此值,而不是 |
4 |
availability |
fuchsia.component.decl/Availability
|
可选。如果 添加数量:10
|
存储空间
在 fuchsia.component.test/realm_builder.fidl 中定义
存储功能
序数 | 野战 | 类型 | 说明 |
---|---|---|---|
1 |
name |
fuchsia.component/name
|
功能的名称。这不是该目录的路径。 而是用于路由的名称。 |
2 |
as |
fuchsia.component/name
|
功能的重命名,可在路由到另一个组件时进行设置。此字段是选填字段。 |
3 |
path |
fuchsia.component/name
|
安装目录的路径。路径应以斜杠开头,但结尾不带有斜杠,例如 |
4 |
availability |
fuchsia.component.decl/Availability
|
可选。如果 添加数量:10
|
联合
Builder_Build_Result 严格
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
Builder_Build_Response
|
|
2 |
err |
RealmBuilderError
|
功能灵活
在 fuchsia.component.test/realm_builder.fidl 中定义
一种可使用 AddRoute
围绕某个 Realm 进行路由的功能。
移除此文件前面这个名称下的其他定义后,将重命名为 Capability
。
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
protocol |
Protocol
|
|
2 |
directory |
Directory
|
|
3 |
storage |
Storage
|
|
4 |
service |
Service
|
|
6 |
event_stream |
EventStream
|
添加次数:9
|
7 |
config |
Config
|
添加了:HEAD
|
RealmBuilderFactory_CreateFromRelativeUrl_Result strict
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
RealmBuilderFactory_CreateFromRelativeUrl_Response
|
|
2 |
err |
RealmBuilderError
|
RealmBuilderFactory_Create_Result 严格
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
RealmBuilderFactory_Create_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_AddCapability_Result严格
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
Realm_AddCapability_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_AddChildFromDecl_Result 严格
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
Realm_AddChildFromDecl_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_AddChildRealm_Result 严格
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
Realm_AddChildRealm_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_AddChild_Result 严格
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
Realm_AddChild_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_AddLocalChild_Result 严格
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
Realm_AddLocalChild_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_AddRoute_Result严格
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
Realm_AddRoute_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_GetComponentDecl_Result 严格
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
Realm_GetComponentDecl_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_GetRealmDecl_Result 严格
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
Realm_GetRealmDecl_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_InitMutableConfigFromPackage_Result 严格
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
Realm_InitMutableConfigFromPackage_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_InitMutableConfigToEmpty_Result 严格
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
Realm_InitMutableConfigToEmpty_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_ReadOnlyDirectory_Result 严格
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
Realm_ReadOnlyDirectory_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_ReplaceComponentDecl_Result 严格
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
Realm_ReplaceComponentDecl_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_ReplaceRealmDecl_Result 严格
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
Realm_ReplaceRealmDecl_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_SetConfigValue_Result 严格
在 fuchsia.component.test/realm_builder.fidl 中定义
序数 | 变体 | 类型 | 说明 |
---|---|---|---|
1 |
response |
Realm_SetConfigValue_Response
|
|
2 |
err |
RealmBuilderError
|
常量
名称 | 值 | 类型 | 说明 |
---|---|---|---|
LOCAL_COMPONENT_NAME_KEY | LOCAL_COMPONENT_NAME |
String |
|
MAX_DIRECTORY_ENTRIES |
1024
|
uint32 |
一次 |