Structs§
- Element
Control Open Status Channel Request - Element
Control Register Dependency Token Request - Element
Control Register Dependency Token Response - Element
Control Unregister Dependency Token Request - Element
Control Unregister Dependency Token Response - Element
Info Provider GetElement Power Level Names Response - Element
Info Provider GetStatus Endpoints Response - Element
Power Level Names - Mapping of a vector of [
fuchsia.power.broker/PowerLevelName] to a Power Element via its plaintext name. Names are expected to be unique between elements and persistent across reboots of the same build, but consistency is not guaranteed between different builds. - Element
Runner SetLevel Request - Element
Runner SetLevel Response - Element
Schema - Passed to Topology.AddElement.
- Element
Status Endpoint - Status client endpoint and a plaintext name for a specific Power Element. Names are expected to be unique between elements and persistent across reboots of the same build, but consistency is not guaranteed between different builds.
- Lease
Control Watch Status Request - Lease
Control Watch Status Response - Lessor
Lease Request - Lessor
Lease Response - Level
Dependency - Describes a dependency from one power element’s level on another power
element’s level.
For example if element
PowerElement_Ahas a levelPowerLevel_A3which depends on an elementPowerElement_Bbeing atPowerLevel_B2where the dependency isDependencyType::ASSERTIVEthen we would fill out the struct to convey the meaning: - Permissions
- Element Permissions
- Power
Level Name - Mapping of a plaintext name to a PowerLevel. Names are expected to be unique between elements and persistent across reboots of the same build, but consistency is not guaranteed between different builds.
- Status
Watch Power Level Response - Topology
AddElement Response
Enums§
- AddElement
Error - Binary
Power Level - BinaryPowerLevel is a well-known set of PowerLevels with only two states: OFF and ON.
- Dependency
Type - An assertive dependency is strongly-fulfilled and orderly-on-termination. An opportunistic dependency is weakly-fulfilled but still orderly-on-termination.
- Element
Info Provider Error - Lease
Error - Lease
Status - Modify
Dependency Error - Register
Dependency Token Error - Status
Error - Unregister
Dependency Token Error
Type Aliases§
- Dependency
Token - A token that represents the right to add a dependency upon another element. Should first be registered with Power Broker via ElementControl.RegisterDependencyToken of the required element.
- Power
Level - Used to describe the power level of an element. Could extend this further to support additional types of power levels, such as ACPI.