通訊協定
Builder
在 fuchsia.component.test/realm_builder.fidl 定義
建構
組合正在建構的領域,並傳回領域中根元件的網址,之後即可在任何集合中正確設定 fuchsia-test-component 來建立新元件。呼叫此方法後,所有領域的運作範圍管道將無法再使用。如果在這個領域中使用 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」);或
- 僅限片段的網址 (例如
#meta/other-component.cm
;請參閱 https://fuchsia.dev/fuchsia-src/reference/components/url#relative-fragment-only),指出提供給RealmBuilderFactory::Create*()
的pkg_dir
中元件資訊清單的路徑。
領域建構工具用戶端通常會將控制代碼傳遞至自己的 /pkg
目錄,並將 other-component
封裝至同一個套件中。
在這三種網址類型中,只有透過片段專用網址新增的元件宣告可以透過 GetComponentDecl
/ReplaceComponentDecl
修改,因為領域建構工具會從元件的資訊清單和所提供 pkg_dir
隨附的檔案 (通常來自領域建構工具用戶端元件共用的套件,以及透過片段專用網址新增的元件) 執行自己的元件解析度。
錯誤:
CHILD_ALREADY_EXISTS
:此領域已包含具有指定名稱的子項。INVALID_MANIFEST_EXTENSION
:url
結尾不是.cm
DECL_NOT_FOUND
:測試套件不含僅限片段的元件網址參照的元件宣告。DECL_READ_ERROR
:嘗試從測試套件讀取僅片段的元件網址參照的元件宣告時發生 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
透過領域改變元件資訊清單,讓 to
中的每個元件都具有適用於 from
所提供 capabilities
中每個項目的有效能力路徑。
錯誤:
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
必須參照屬於以下任一項目的元件:
- 具有本機實作的元件
- 舊版元件
- 使用片段網址新增的元件 (通常與領域建構工具用戶端封裝在相同套件中的元件,共用相同的
/pkg
目錄,例如#meta/other-component.cm
;請參閱 https://fuchsia.dev/fuchsia-src/reference/components/url#relative-fragment-only) - 自動產生的領域 (例如根目錄)
錯誤:
NO_SUCH_CHILD
:這個領域不包含具有指定名稱的子項。CHILD_DECL_NOT_VISIBLE
:無法針對參照的子項擷取元件 decl,因為子項是透過新型 (非舊版) 絕對網址或子封裝元件的相對路徑網址加入領域。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
取代指定元件的元件分離。name
必須參照屬於以下任一項目的元件:
- 具有本機實作的元件
- 舊版元件
- 使用片段網址新增的元件 (通常與領域建構工具用戶端封裝在相同套件中的元件,共用相同的
/pkg
目錄,例如#meta/other-component.cm
;請參閱 https://fuchsia.dev/fuchsia-src/reference/components/url#relative-fragment-only) - 自動產生的領域 (例如根目錄)
錯誤:
NO_SUCH_CHILD
:這個領域不包含具有指定名稱的子項。CHILD_ALREADY_EXISTS
:要取代 decl 的元件,已透過領域建構工具加入其子項,名稱與component_decl.children
中的元素相同。CHILD_DECL_NOT_VISIBLE
:您無法針對參照的子項操控元件的 decl,因為已透過絕對 (非相對) 和新型 (非舊版) 網址將子項加入領域。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
的用戶端結尾是用來完成範圍,之後可以在集合中啟動該領域。
pkg_dir_handle
是測試套件的控制代碼。領域建構工具用戶端通常會將控制代碼傳遞至自己的 /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
相同,但不會預設領域為空白,而是包含在 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 定義
運作範圍伺服器應提供的目錄內容。
廣闊 | 類型 | 說明 | 預設 |
---|---|---|---|
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>
ENUMS
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 無法查看或操控所參照子項的元件宣告,因為子項使用的網址不是僅限片段的網址,也不是舊版網址。 |
NO_SUCH_SOURCE |
5 |
來源不存在。 |
NO_SUCH_TARGET |
6 |
目標不存在。 |
CAPABILITIES_EMPTY |
7 |
|
TARGETS_EMPTY |
8 |
|
SOURCE_AND_TARGET_MATCH |
9 |
|
DECL_NOT_FOUND |
10 |
測試套件不包含由片段專用元件網址參照的元件宣告。 |
DECL_READ_ERROR |
11 |
嘗試讀取測試套件中純片段元件網址參照的元件宣告時發生 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 定義
子項在加入領域時可能設定的屬性。
序數 | 廣闊 | 類型 | 說明 |
---|---|---|---|
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 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
Builder_Build_Response
|
|
2 |
err |
RealmBuilderError
|
功能彈性
在 fuchsia.component.test/realm_builder.fidl 定義
可使用 AddRoute
轉送運作範圍的功能。
移除這個檔案中先前的其他定義後,就會重新命名為 Capability
。
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
protocol |
Protocol
|
|
2 |
directory |
Directory
|
|
3 |
storage |
Storage
|
|
4 |
service |
Service
|
|
6 |
event_stream |
EventStream
|
新增日期:9
|
7 |
config |
Config
|
已新增:HEAD
|
RealmBuilderFactory_CreateFromRelativeUrl_Result 嚴格
在 fuchsia.component.test/realm_builder.fidl 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
RealmBuilderFactory_CreateFromRelativeUrl_Response
|
|
2 |
err |
RealmBuilderError
|
RealmBuilderFactory_Create_Result 嚴格
在 fuchsia.component.test/realm_builder.fidl 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
RealmBuilderFactory_Create_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_AddCapability_Result 嚴格
在 fuchsia.component.test/realm_builder.fidl 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
Realm_AddCapability_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_AddChildFromDecl_Result 嚴格
在 fuchsia.component.test/realm_builder.fidl 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
Realm_AddChildFromDecl_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_AddChildRealm_Result 嚴格
在 fuchsia.component.test/realm_builder.fidl 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
Realm_AddChildRealm_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_AddChild_Result 嚴格
在 fuchsia.component.test/realm_builder.fidl 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
Realm_AddChild_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_AddLocalChild_Result 嚴格
在 fuchsia.component.test/realm_builder.fidl 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
Realm_AddLocalChild_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_AddRoute_Result 嚴格
在 fuchsia.component.test/realm_builder.fidl 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
Realm_AddRoute_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_GetComponentDecl_Result 嚴格
在 fuchsia.component.test/realm_builder.fidl 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
Realm_GetComponentDecl_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_GetRealmDecl_Result 嚴格
在 fuchsia.component.test/realm_builder.fidl 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
Realm_GetRealmDecl_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_InitMutableConfigFromPackage_Result 嚴格
在 fuchsia.component.test/realm_builder.fidl 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
Realm_InitMutableConfigFromPackage_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_InitMutableConfigToEmpty_Result 嚴格
在 fuchsia.component.test/realm_builder.fidl 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
Realm_InitMutableConfigToEmpty_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_ReadOnlyDirectory_Result 嚴格
在 fuchsia.component.test/realm_builder.fidl 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
Realm_ReadOnlyDirectory_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_ReplaceComponentDecl_Result 嚴格
在 fuchsia.component.test/realm_builder.fidl 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
Realm_ReplaceComponentDecl_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_ReplaceRealmDecl_Result 嚴格
在 fuchsia.component.test/realm_builder.fidl 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
Realm_ReplaceRealmDecl_Response
|
|
2 |
err |
RealmBuilderError
|
Realm_SetConfigValue_Result 嚴格
在 fuchsia.component.test/realm_builder.fidl 定義
序數 | Variant | 類型 | 說明 |
---|---|---|---|
1 |
response |
Realm_SetConfigValue_Response
|
|
2 |
err |
RealmBuilderError
|
業者
名稱 | 物超所值 | 類型 | 說明 |
---|---|---|---|
LOCAL_COMPONENT_NAME_KEY | LOCAL_COMPONENT_NAME |
String |
|
MAX_DIRECTORY_ENTRIES |
1024
|
uint32 |
單一呼叫 |