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

fuchsia.driver.registrar

PROTOCOLS

DriverRegistrar

Defined in fuchsia.driver.registrar/driver-registrar.fidl

Protocol for registering additional driver packages with the driver manager.

Register

Informs the driver manager that a new driver package is available. The driver manager will cache a copy of the driver.

  • error a zx_status value indicating failure. One of the following:
    • ZX_ERR_ACCESS_DENIED if the device does not have permissions to fetch the package.
    • ZX_ERR_NOT_FOUND if the package does not exist.
    • ZX_ERR_IO if there is some other unspecified error during I/O.
    • ZX_ERR_ADDRESS_UNREACHABLE if the package resolver does not know about the repo.
    • ZX_ERR_NO_SPACE if the device is out of space.
    • ZX_ERR_UNAVAILABLE if the package resolver could not be reached.
    • ZX_ERR_INTERNAL if an unspecified error was encountered.

Request

NameType
package_url fuchsia.pkg/PackageUrl

Response

NameType
result DriverRegistrar_Register_Result

STRUCTS

DriverRegistrar_Register_Response

Defined in fuchsia.driver.registrar/driver-registrar.fidl

<EMPTY>

UNIONS

DriverRegistrar_Register_Result strict

Defined in fuchsia.driver.registrar/driver-registrar.fidl

NameTypeDescription
response DriverRegistrar_Register_Response
err zx/status