fuchsia.component.test

新增日期:7

通訊協定

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

新增能力至領域。

已新增:HEAD

要求

名稱類型
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_EXTENSIONurl結尾不是 .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_DECLdecl 項驗證失敗。
  • 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 中含有要在 programLOCAL_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_SOURCEfrom 參照了不存在的子項。
  • NO_SUCH_TARGETto 參照了不存在的子項。
  • CAPABILITIES_EMPTYcapabilities 沒有內容。
  • TARGETS_EMPTYto 沒有內容。
  • SOURCE_AND_TARGET_MATCHfrom 等於 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 覆寫封裝設定。

新增日期:9

要求

名稱類型
name fuchsia.component/name

回應

名稱類型
payload Realm_InitMutableConfigFromPackage_Result

InitMutableConfigToEmpty

僅可使用向建構工具為 name 設定提供的值。

允許呼叫 SetConfigValue 提供設定。

新增日期:9

要求

名稱類型
name fuchsia.component/name

回應

名稱類型
payload Realm_InitMutableConfigToEmpty_Result

ReadOnlyDirectory

為這個領域中的元件提供目錄能力。目錄會進入唯讀狀態 (也就是擁有 r* 權限),且含有 directory_contents 中所述的內容。

錯誤:

  • NO_SUCH_TARGEToffer-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_DECLcomponent_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_DECLcomponent_decl 項驗證失敗。
  • BUILD_ALREADY_CALLED:系統已針對這個領域呼叫 Builder.Build 函式,因此無法再使用這個 Realm 管道。

要求

名稱類型
component_decl fuchsia.component.decl/Component

回應

名稱類型
payload Realm_ReplaceRealmDecl_Result

SetConfigValue

key 指定的欄位設定設定值。指定的元件必須具有這個欄位的設定結構定義。值必須符合結構定義定義的所有限制。

這個方法必須在 InitMutableConfigFromPackageInitMutableConfigToEmpty 之後呼叫。

錯誤:

  • NO_CONFIG_SCHEMA:元件沒有設定結構定義
  • NO_SUCH_CONFIG_FIELD:在元件的設定結構定義中找不到key
  • CONFIG_VALUE_INVALIDvalue 不符合設定結構定義限制
新增日期:9

要求

名稱類型
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

檔案路徑。有效範例包括 foo.txtfoo/bar.json

無預設
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 定義

RealmBuilder 通訊協定可能會傳回的錯誤。

移除此檔案中先前此名稱的其他定義後,就會重新命名為 RealmBuilderError

名稱物超所值說明
0

子項無法新增至領域,因為領域中已有同名的子項。

1

系統已將舊版元件網址提供給 AddChild,或指派給 AddLegacyChild 的新式元件網址。

2

元件宣告失敗。

3

參照的子項不存在。

4

RealmBuilder 無法查看或操控所參照子項的元件宣告,因為子項使用的網址不是僅限片段的網址,也不是舊版網址。

5

來源不存在。

6

目標不存在。

7

capabilities 欄位空白。

8

targets 欄位空白。

9

from 值等於 to 中的其中一個元素。

10

測試套件不包含由片段專用元件網址參照的元件宣告。

11

嘗試讀取測試套件中純片段元件網址參照的元件宣告時發生 I/O 錯誤。

12

系統已多次在這個管道上呼叫 Build 函式。

13

功能無效。如果必填欄位空白或收到不支援的類型,就可能發生這種情形。

14

為子領域提供的用戶端無法使用。

15

ReplaceComponentDecl 是在舊版或本機元件上呼叫,但其程式宣告與舊元件宣告中的宣告不符。這可能會導致舊版或本機元件無法運作,而我們也不允許。

16

提供給 RealmBuilderFactory.CreateFromRelativeURL 的網址並非僅限片段的元件網址。

17

為測試 pkg 目錄提供的用戶端無法使用。

18

這個元件未定義設定結構定義。不允許嘗試設定設定值。

19

元件的設定結構定義沒有使用該名稱的欄位。

20

設定值無效。這可能表示類型不符或字串/向量長度等限制有問題。

21

由於領域未選擇覆寫政策,因此無法設定設定值。

新增日期:9
22

子項宣告失敗。

新增日期:20 位

資料表

ChildOptions

fuchsia.component.test/realm_builder.fidl 定義

子項在加入領域時可能設定的屬性。

序數廣闊類型說明
startup fuchsia.component.decl/StartupMode

如要進一步瞭解這個類型,請參閱 https://fuchsia.dev/go/components/declaration#StartupMode。預設值為 LAZY

environment fuchsia.component/name

為子項指定自訂環境。

on_terminate fuchsia.component.decl/OnTerminate

如要進一步瞭解這個類型,請參閱 https://fuchsia.dev/go/components/declaration#OnTerminate。 預設值為 NONE

config_overrides vector<fuchsia.component.decl/ConfigOverride>

要套用至子項的結構化設定覆寫值。僅提供子項元件宣告為可覆寫的鍵。如要進一步瞭解覆寫,請參閱 [fuchsia.component.decl/ConfigOverride]。

新增日期:13 張

設定

fuchsia.component.test/realm_builder.fidl 定義

設定能力

已新增:HEAD

序數廣闊類型說明
name fuchsia.component/name

能力的名稱。

as fuchsia.component/name

變更能力的名稱,可在轉送至其他元件時設定。這是選填欄位。

availability fuchsia.component.decl/Availability

選用。如果 to 包含本機元件,就無法設為 SameAsTarget

目錄

fuchsia.component.test/realm_builder.fidl 定義

目錄能力。

序數廣闊類型說明
name fuchsia.component/name

能力的名稱。這不是目錄路徑。而非用於轉送的名稱。

as fuchsia.component/name

變更能力的名稱,可在轉送至其他元件時設定。這是選填欄位。

type fuchsia.component.decl/DependencyType

如要進一步瞭解這個類型,請參閱 https://fuchsia.dev/go/components/declaration#DependencyType。這是選填欄位,預設值為 STRONG

subdir string[4095]

此目錄要提供的子目錄,而非根目錄。舉例來說,如果將 bar/baz 設為 foo 的子目錄,則 bar/baz 將是目標 foo 的根層級。這是選填欄位。

rights fuchsia.io/Rights

使用這個目錄的元件可以設定的最大權限。 如果系統將這個欄位轉送至本機元件,則為選用欄位,否則為選用欄位。

path string[4095]

安裝目錄的路徑。路徑應有正斜線,但結尾無斜線,例如 /config/data。這是必填欄位。

availability fuchsia.component.decl/Availability

選用。如果 to 包含本機元件,就無法設為 SameAsTarget

新增日期:10 位

活動

fuchsia.component.test/realm_builder.fidl 定義

事件能力

序數廣闊類型說明
name fuchsia.component/name

能力的名稱。

as fuchsia.component/name

變更能力的名稱,可在轉送至其他元件時設定。這是選填欄位。

filter fuchsia.data/Dictionary

要套用至事件的篩選器。

availability fuchsia.component.decl/Availability

選用。如果 to 包含本機元件,就無法設為 SameAsTarget

新增日期:10 位

EventStream

fuchsia.component.test/realm_builder.fidl 定義

event_stream 能力

新增日期:9

序數廣闊類型說明
name fuchsia.component/name

能力的名稱。

as fuchsia.component/name

能力重新命名,可在轉送至另一個地圖項目時設定

path string[4095]

設定安裝 event_stream 的路徑。

filter fuchsia.data/Dictionary

要套用至事件的篩選器。

scope vector<fuchsia.component.decl/Ref>

這個元件底下的物件清單,用於將事件縮小範圍。範例:#my_child_component、#my_child_collection。

通訊協定

fuchsia.component.test/realm_builder.fidl 定義

通訊協定能力

序數廣闊類型說明
name fuchsia.component/name

能力的名稱。這通常為 FIDL 通訊協定的名稱,例如 fuchsia.logger.LogSink。如未設定路徑,通訊協定會安裝在 /svc/{name} 的目標元件命名空間中。

as fuchsia.component/name

變更能力的名稱,可在轉送至其他元件時設定。這是選填欄位。

type fuchsia.component.decl/DependencyType

如要進一步瞭解這個類型,請參閱 https://fuchsia.dev/go/components/declaration#DependencyType。這是選填欄位,預設值為 STRONG

path string[4095]

覆寫安裝通訊協定的路徑。系統會使用此值,而非 /svc/{name}。路徑應以開頭的正斜線開頭,並省略結尾的斜線,例如 /foo/fuchsia.logger.LogSink。這是選填欄位。

availability fuchsia.component.decl/Availability

選用。如果 to 包含本機元件,就無法設為 SameAsTarget

新增日期:10 位

服務

fuchsia.component.test/realm_builder.fidl 定義

服務能力

序數廣闊類型說明
name fuchsia.component/name

能力的名稱。這通常為 FIDL 服務的名稱,例如 fuchsia.echo.EchoService。如未設定路徑,服務會安裝在目標元件的命名空間中:/svc/{name}

as fuchsia.component/name

變更能力的名稱,可在轉送至其他元件時設定。這是選填欄位。

path string[4095]

覆寫安裝服務的路徑。系統會使用此值,而非 /svc/{name}。路徑應以開頭的正斜線開頭,並省略結尾的斜線,例如 /foo/fuchsia.echo.EchoService。這是選填欄位。

availability fuchsia.component.decl/Availability

選用。如果 to 包含本機元件,就無法設為 SameAsTarget

新增日期:10 位

儲存空間

fuchsia.component.test/realm_builder.fidl 定義

儲存空間能力

序數廣闊類型說明
name fuchsia.component/name

能力的名稱。這不是目錄路徑。而非用於轉送的名稱。

as fuchsia.component/name

變更能力的名稱,可在轉送至其他元件時設定。這是選填欄位。

path fuchsia.component/name

安裝目錄的路徑。路徑應有正斜線,但結尾無斜線,例如 /config/data。這是必填欄位。

availability fuchsia.component.decl/Availability

選用。如果 to 包含本機元件,就無法設為 SameAsTarget

新增日期:10 位

聯合國

Builder_Build_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response Builder_Build_Response
err RealmBuilderError

功能彈性

fuchsia.component.test/realm_builder.fidl 定義

可使用 AddRoute 轉送運作範圍的功能。

移除這個檔案中先前的其他定義後,就會重新命名為 Capability

序數Variant類型說明
protocol Protocol
directory Directory
storage Storage
service Service
event_stream EventStream
新增日期:9
config Config
已新增:HEAD

RealmBuilderFactory_CreateFromRelativeUrl_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response RealmBuilderFactory_CreateFromRelativeUrl_Response
err RealmBuilderError

RealmBuilderFactory_Create_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response RealmBuilderFactory_Create_Response
err RealmBuilderError

Realm_AddCapability_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response Realm_AddCapability_Response
err RealmBuilderError

Realm_AddChildFromDecl_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response Realm_AddChildFromDecl_Response
err RealmBuilderError

Realm_AddChildRealm_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response Realm_AddChildRealm_Response
err RealmBuilderError

Realm_AddChild_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response Realm_AddChild_Response
err RealmBuilderError

Realm_AddLocalChild_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response Realm_AddLocalChild_Response
err RealmBuilderError

Realm_AddRoute_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response Realm_AddRoute_Response
err RealmBuilderError

Realm_GetComponentDecl_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response Realm_GetComponentDecl_Response
err RealmBuilderError

Realm_GetRealmDecl_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response Realm_GetRealmDecl_Response
err RealmBuilderError

Realm_InitMutableConfigFromPackage_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response Realm_InitMutableConfigFromPackage_Response
err RealmBuilderError

Realm_InitMutableConfigToEmpty_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response Realm_InitMutableConfigToEmpty_Response
err RealmBuilderError

Realm_ReadOnlyDirectory_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response Realm_ReadOnlyDirectory_Response
err RealmBuilderError

Realm_ReplaceComponentDecl_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response Realm_ReplaceComponentDecl_Response
err RealmBuilderError

Realm_ReplaceRealmDecl_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response Realm_ReplaceRealmDecl_Response
err RealmBuilderError

Realm_SetConfigValue_Result 嚴格

fuchsia.component.test/realm_builder.fidl 定義

序數Variant類型說明
response Realm_SetConfigValue_Response
err RealmBuilderError

業者

名稱物超所值類型說明
LOCAL_COMPONENT_NAME_KEY LOCAL_COMPONENT_NAME String
MAX_DIRECTORY_ENTRIES 1024 uint32

單一呼叫 Realm.ReadOnlyDirectory 中的項目數量上限。