class RealmArgs

Defined at line 178 of file fidling/gen/sdk/fidl/fuchsia.driver.test/fuchsia.driver.test/cpp/fidl/fuchsia.driver.test/cpp/wire_types.h

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

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_driver_test::wire::RealmArgs> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_driver_test::wire::RealmArgs> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_test::wire::RealmArgs>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_test::wire::RealmArgs>> && frame_ptr)
void RealmArgs ()

Defined at line 180 of file fidling/gen/sdk/fidl/fuchsia.driver.test/fuchsia.driver.test/cpp/fidl/fuchsia.driver.test/cpp/wire_types.h

void RealmArgs (const RealmArgs & other)

Defined at line 181 of file fidling/gen/sdk/fidl/fuchsia.driver.test/fuchsia.driver.test/cpp/fidl/fuchsia.driver.test/cpp/wire_types.h

void RealmArgs (RealmArgs && other)

Defined at line 183 of file fidling/gen/sdk/fidl/fuchsia.driver.test/fuchsia.driver.test/cpp/fidl/fuchsia.driver.test/cpp/wire_types.h

void _CloseHandles ()
::fidl::ClientEnd< ::fuchsia_io::Directory> & boot ()

This is what DriverManager will see as its boot directory.

Default: DriverTestRealm's package directory

bool has_boot ()
::fidl::StringView & root_driver ()

The URL for the driver that will be bound to root.

Default: fuchsia-boot:///dtr#meta/test-parent-sys.cm

NOTE: The test parent driver is not included by default. This must

be included in your package to work correctly.

bool has_root_driver ()
bool & driver_tests_enable_all ()

If this is true, then DriverManager will enable the unit tests

for each driver that is loaded.

Default: false

bool has_driver_tests_enable_all ()
::fidl::VectorView< ::fidl::StringView> & driver_tests_enable ()

If this is true, then DriverManager will enable the unit tests

for each driver in this vector.

Default: empty

bool has_driver_tests_enable ()
::fidl::VectorView< ::fidl::StringView> & driver_tests_disable ()

If this is true, then DriverManager will disable the unit tests

for each driver in this vector. This overrides both a specific

request for enabling a test and the 'driver_tests_enable_all'

parameter.

Default: empty

bool has_driver_tests_disable ()
::fidl::VectorView< ::fuchsia_driver_test::wire::DriverLog> & driver_log_level ()

Set a log level for the specific driver.

Default: Log levels are set to INFO

bool has_driver_log_level ()
::fidl::VectorView< ::fidl::StringView> & driver_disable ()

Disable specific drivers. These drivers will not be bound or loaded.

Default: empty

bool has_driver_disable ()
::fidl::VectorView< ::fidl::StringView> & driver_bind_eager ()

Specify drivers to bind 'eagerly'. This turns a driver that normally

binds as a fallback driver into a driver that will be bound normally.

Default: empty

bool has_driver_bind_eager ()
::fidl::StringView & board_name ()

Specify the board name that drivers are aware of.

Default: driver-integration-test

bool has_board_name ()
::fidl::VectorView< ::fuchsia_driver_test::wire::Offer> & offers ()

DEPRECATED: Use dtr_offers.

Specify additional offers from the test to a driver collection

Default: empty

bool has_offers ()
::fidl::VectorView< ::fuchsia_driver_test::wire::Expose> & exposes ()

DEPRECATED: Use dtr_exposes.

Specify services to expose from the test to a driver collection

Default: empty

bool has_exposes ()
::fidl::ClientEnd< ::fuchsia_io::Directory> & pkg ()

DEPRECATED: Use test_component to provide resolved test component.

The driver test realm can load drivers packaged with the test suite

through this directory. Note that this directory must be readable

and executable.

This can be used if the test suite needs to use some drivers packaged

with the DriverTestRealm in addition to drivers packaged with the test

suite. In that case, the user can leave RealmArgs::boot unset and use

RealmArgs::pkg and RealmArgs::driver_urls.

Drivers in this directory can be registered using the `driver_urls`

argument below.

Default: DriverTestRealm's package directory.

bool has_pkg ()
::fidl::VectorView< ::fuchsia_component_test::wire::Capability> & dtr_offers ()

Specify offers from the test to the driver test realm.

The driver test realm will forward these to the driver collections.

Default: empty

bool has_dtr_offers ()
::fidl::VectorView< ::fuchsia_component_test::wire::Capability> & dtr_exposes ()

Specify exposes from the driver test realm to the test.

The driver test realm will forward these from the driver collections.

Default: empty

bool has_dtr_exposes ()
::fuchsia_component_resolution::wire::Component & test_component ()

The resolved component information of the test component that is starting

the driver test realm. This will be used to discover drivers that the test

wants to provide to the driver test realm. Drivers can be both in the test

component package, or a subpackage of the test component package.

By default all drivers discovered that don't also exist in the |boot| directory

will be considered to be base drivers.

Use |boot_driver_components| to provide a list of drivers that should be

boot drivers.

Default: empty

bool has_test_component ()
int64_t & driver_index_stop_timeout_millis ()

How long the driver index waits idle before it saves state, escrows its handles

with the component framework, and shuts down.

Default: never shuts down

bool has_driver_index_stop_timeout_millis ()
::fidl::VectorView< ::fuchsia_driver_test::wire::SoftwareDevice> & software_devices ()

A list of software only devices that should be created. Typically this is used

to create fake hardware for tests. Devices will be spawned as platform devices

under the platform bus. Note that the platform bus must be the root driver for

this to do anything meaningful.

bool has_software_devices ()
::fidl::VectorView< ::fidl::StringView> & boot_driver_components ()

The list of driver component names that should be considered as boot drivers.

Boot drivers are started in the boot-drivers collection which has more

capabilities available to it.

Entries should be the component name (eg: "my_driver_component.cm").

Default: empty

bool has_boot_driver_components ()
::zx::vmo & devicetree ()

Devicetree blob that should be handed to the board driver.

bool has_devicetree ()
uint32_t & platform_vid ()

Platform Vendor ID which should be specified to the platform bus driver.

bool has_platform_vid ()
uint32_t & platform_pid ()

Platform ID which should be specified to the platform bus driver.

bool has_platform_pid ()
RealmArgs & set_boot (::fidl::ClientEnd< ::fuchsia_io::Directory> elem)
RealmArgs & clear_boot ()
RealmArgs & set_root_driver (::fidl::ObjectView< ::fidl::StringView> elem)
RealmArgs & set_root_driver (std::nullptr_t )
RealmArgs & clear_root_driver ()
RealmArgs & operator= (const RealmArgs & other)

Defined at line 182 of file fidling/gen/sdk/fidl/fuchsia.driver.test/fuchsia.driver.test/cpp/fidl/fuchsia.driver.test/cpp/wire_types.h

RealmArgs & set_driver_tests_enable_all (bool elem)
RealmArgs & clear_driver_tests_enable_all ()
RealmArgs & operator= (RealmArgs && other)

Defined at line 184 of file fidling/gen/sdk/fidl/fuchsia.driver.test/fuchsia.driver.test/cpp/fidl/fuchsia.driver.test/cpp/wire_types.h

RealmArgs & set_driver_tests_enable (::fidl::ObjectView< ::fidl::VectorView< ::fidl::StringView>> elem)
RealmArgs & set_driver_tests_enable (std::nullptr_t )
RealmArgs & clear_driver_tests_enable ()
RealmArgs & set_driver_tests_disable (::fidl::ObjectView< ::fidl::VectorView< ::fidl::StringView>> elem)
RealmArgs & set_driver_tests_disable (std::nullptr_t )
RealmArgs & clear_driver_tests_disable ()
RealmArgs & set_driver_log_level (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_test::wire::DriverLog>> elem)
RealmArgs & set_driver_log_level (std::nullptr_t )
RealmArgs & clear_driver_log_level ()
RealmArgs & set_driver_disable (::fidl::ObjectView< ::fidl::VectorView< ::fidl::StringView>> elem)
RealmArgs & set_driver_disable (std::nullptr_t )
RealmArgs & clear_driver_disable ()
RealmArgs & set_driver_bind_eager (::fidl::ObjectView< ::fidl::VectorView< ::fidl::StringView>> elem)
RealmArgs & set_driver_bind_eager (std::nullptr_t )
RealmArgs & clear_driver_bind_eager ()
RealmArgs & set_board_name (::fidl::ObjectView< ::fidl::StringView> elem)
RealmArgs & set_board_name (std::nullptr_t )
RealmArgs & clear_board_name ()
RealmArgs & set_offers (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_test::wire::Offer>> elem)
RealmArgs & set_offers (std::nullptr_t )
RealmArgs & clear_offers ()
RealmArgs & set_exposes (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_test::wire::Expose>> elem)
RealmArgs & set_exposes (std::nullptr_t )
RealmArgs & clear_exposes ()
RealmArgs & set_pkg (::fidl::ClientEnd< ::fuchsia_io::Directory> elem)
RealmArgs & clear_pkg ()
RealmArgs & set_dtr_offers (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_test::wire::Capability>> elem)
RealmArgs & set_dtr_offers (std::nullptr_t )
RealmArgs & clear_dtr_offers ()
RealmArgs & set_dtr_exposes (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_component_test::wire::Capability>> elem)
RealmArgs & set_dtr_exposes (std::nullptr_t )
RealmArgs & clear_dtr_exposes ()
RealmArgs & set_test_component (::fidl::ObjectView< ::fuchsia_component_resolution::wire::Component> elem)
RealmArgs & set_test_component (std::nullptr_t )
RealmArgs & clear_test_component ()
RealmArgs & set_driver_index_stop_timeout_millis (::fidl::ObjectView<int64_t> elem)
RealmArgs & set_driver_index_stop_timeout_millis (std::nullptr_t )
RealmArgs & clear_driver_index_stop_timeout_millis ()
RealmArgs & set_software_devices (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_test::wire::SoftwareDevice>> elem)
RealmArgs & set_software_devices (std::nullptr_t )
RealmArgs & clear_software_devices ()
RealmArgs & set_boot_driver_components (::fidl::ObjectView< ::fidl::VectorView< ::fidl::StringView>> elem)
RealmArgs & set_boot_driver_components (std::nullptr_t )
RealmArgs & clear_boot_driver_components ()
RealmArgs & set_devicetree (::zx::vmo elem)
RealmArgs & clear_devicetree ()
RealmArgs & set_platform_vid (uint32_t elem)
RealmArgs & clear_platform_vid ()
RealmArgs & set_platform_pid (uint32_t elem)
RealmArgs & clear_platform_pid ()
void RealmArgs (::fidl::AnyArena & allocator)
void RealmArgs (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_driver_test::wire::RealmArgs>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void ~RealmArgs ()

Defined at line 186 of file fidling/gen/sdk/fidl/fuchsia.driver.test/fuchsia.driver.test/cpp/fidl/fuchsia.driver.test/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder