Crate fidl_fuchsia_hardware_power_statecontrol

Source

Macros§

RebootReason2Unknown
Pattern that matches an unknown RebootReason2 member.

Structs§

AdminControlHandle
AdminEventStream
AdminMarker
AdminMexecRequest
AdminMexecResponder
AdminPerformRebootRequest
AdminPerformRebootResponder
AdminPowerFullyOnResponder
AdminPoweroffResponder
AdminProxy
AdminRebootRequest
AdminRebootResponder
AdminRebootToBootloaderResponder
AdminRebootToRecoveryResponder
AdminRequestStream
A Stream of incoming requests for fuchsia.hardware.power.statecontrol/Admin.
AdminSuspendToRamResponder
AdminSynchronousProxy
RebootMethodsWatcherControlHandle
RebootMethodsWatcherEventStream
RebootMethodsWatcherMarker
RebootMethodsWatcherOnRebootRequest
RebootMethodsWatcherOnRebootResponder
RebootMethodsWatcherProxy
RebootMethodsWatcherRegisterControlHandle
RebootMethodsWatcherRegisterEventStream
RebootMethodsWatcherRegisterMarker
RebootMethodsWatcherRegisterProxy
RebootMethodsWatcherRegisterRegisterRequest
RebootMethodsWatcherRegisterRegisterWatcherRequest
RebootMethodsWatcherRegisterRegisterWatcherResponder
RebootMethodsWatcherRegisterRegisterWithAckRequest
RebootMethodsWatcherRegisterRegisterWithAckResponder
RebootMethodsWatcherRegisterRequestStream
A Stream of incoming requests for fuchsia.hardware.power.statecontrol/RebootMethodsWatcherRegister.
RebootMethodsWatcherRegisterSynchronousProxy
RebootMethodsWatcherRequestStream
A Stream of incoming requests for fuchsia.hardware.power.statecontrol/RebootMethodsWatcher.
RebootMethodsWatcherSynchronousProxy
RebootOptions
The options specified when a reboot is requested.
RebootWatcherControlHandle
RebootWatcherEventStream
RebootWatcherMarker
RebootWatcherOnRebootRequest
RebootWatcherOnRebootResponder
RebootWatcherProxy
RebootWatcherRequestStream
A Stream of incoming requests for fuchsia.hardware.power.statecontrol/RebootWatcher.
RebootWatcherSynchronousProxy

Enums§

AdminEvent
AdminRequest
Provides methods to request that the system be transitioned into a supported power state.
RebootMethodsWatcherEvent
RebootMethodsWatcherRegisterEvent
RebootMethodsWatcherRegisterRequest
Allows components to register a callback that will be executed when a Reboot method is called. The main purpose of this protocol is to be able to track reboot reasons. Consider relying on Component Framework’s orderly shutdown if you’re looking at using this protocol.
RebootMethodsWatcherRequest
Allows components to be notified when Reboot related methods are called. Watchers will be given ‘MAX_REBOOT_WATCHER_RESPONSE_TIME_SECONDS’ to return before the system power state is changed. The channel will be used once to send a notification to the watcher. Once the watcher responds or the timeout expires, the channel will be closed by the client of RebootMethodsWatcher.
RebootReason
Why the system reboots.
RebootReason2
Why the system reboots.
RebootWatcherEvent
RebootWatcherRequest
Allows components to be notified when Reboot related methods are called. Watchers will be given ‘MAX_REBOOT_WATCHER_RESPONSE_TIME_SECONDS’ to return before the system power state is changed. The channel will be used once to send a notification to the watcher. Once the watcher responds or the timeout expires, the channel will be closed by the client of RebootWatcher.

Constants§

MAX_REBOOT_REASONS
The maximum number of reboot reasons that can be attributed to a single reboot request.
MAX_REBOOT_WATCHER_RESPONSE_TIME_SECONDS
The maxium number of seconds the server will wait for responses from all RebootMethodsWatchers before changing the system power state.

Traits§

AdminProxyInterface
RebootMethodsWatcherProxyInterface
RebootMethodsWatcherRegisterProxyInterface
RebootWatcherProxyInterface

Type Aliases§

AdminMexecResult
AdminPerformRebootResult
AdminPowerFullyOnResult
AdminPoweroffResult
AdminRebootResult
AdminRebootToBootloaderResult
AdminRebootToRecoveryResult
AdminSuspendToRamResult