Google is committed to advancing racial equity for Black communities. See how.

fuchsia.driver.test

PROTOCOLS

Realm

Defined in fuchsia.driver.test/realm.fidl

This protocol is for the DriverTestRealm. It is an integration test framework for drivers.

Start

Start the realm. Calling this will cause DriverTestRealm to start servicing other protocols (like /dev/). args is used to configure the DriverTestRealm. Calling Start while the realm is already started will return ZX_ERR_ALREADY_BOUND.

Request

NameType
args RealmArgs

Response

NameType
result Realm_Start_Result

STRUCTS

Realm_Start_Response

Defined in fuchsia.driver.test/realm.fidl

<EMPTY>

TABLES

RealmArgs resource

Defined in fuchsia.driver.test/realm.fidl

A list of arguments that can be used to configure DriverTestRealm.

OrdinalFieldTypeDescription
1 boot fuchsia.io/Directory

This is what DriverManager will see as its boot directory. Default: DriverTestRealm's package directory

2 root_driver string

The URL for the driver that will be bound to root. Default: fuchsia-boot:///#driver/test-parent-sys.so NOTE: The test parent driver is not included by default. This must be included in your package to work correctly.

3 use_driver_framework_v2 bool

If this is true, then DriverManager will load DFv2 drivers. Default: false

UNIONS

Realm_Start_Result strict

Defined in fuchsia.driver.test/realm.fidl

Ordinal
VariantTypeDescription
1 response Realm_Start_Response
2 err zx/status