Modules§
- admin_
ordinals - reboot_
methods_ watcher_ ordinals - reboot_
methods_ watcher_ register_ ordinals - reboot_
watcher_ ordinals - shutdown_
watcher_ ordinals - shutdown_
watcher_ register_ ordinals
Macros§
- Reboot
Reason2 Unknown - Pattern that matches an unknown
RebootReason2
member. - Shutdown
Action Unknown - Pattern that matches an unknown
ShutdownAction
member. - Shutdown
Reason Unknown - Pattern that matches an unknown
ShutdownReason
member.
Structs§
- Admin
Control Handle - Admin
Event Stream - Admin
Marker - Admin
Mexec Request - Admin
Mexec Responder - Admin
Perform Reboot Request - Admin
Perform Reboot Responder - Admin
Power Fully OnResponder - Admin
Poweroff Responder - Admin
Proxy - Admin
Reboot Request - Admin
Reboot Responder - Admin
Reboot ToBootloader Responder - Admin
Reboot ToRecovery Responder - Admin
Request Stream - A Stream of incoming requests for fuchsia.hardware.power.statecontrol/Admin.
- Admin
Shutdown Request - Admin
Shutdown Responder - Admin
Suspend ToRam Responder - Admin
Synchronous Proxy - Reboot
Methods Watcher Control Handle - Reboot
Methods Watcher Event Stream - Reboot
Methods Watcher Marker - Reboot
Methods Watcher OnReboot Request - Reboot
Methods Watcher OnReboot Responder - Reboot
Methods Watcher Proxy - Reboot
Methods Watcher Register Control Handle - Reboot
Methods Watcher Register Event Stream - Reboot
Methods Watcher Register Marker - Reboot
Methods Watcher Register Proxy - Reboot
Methods Watcher Register Register Request - Reboot
Methods Watcher Register Register Watcher Request - Reboot
Methods Watcher Register Register Watcher Responder - Reboot
Methods Watcher Register Register With AckRequest - Reboot
Methods Watcher Register Register With AckResponder - Reboot
Methods Watcher Register Request Stream - A Stream of incoming requests for fuchsia.hardware.power.statecontrol/RebootMethodsWatcherRegister.
- Reboot
Methods Watcher Register Synchronous Proxy - Reboot
Methods Watcher Request Stream - A Stream of incoming requests for fuchsia.hardware.power.statecontrol/RebootMethodsWatcher.
- Reboot
Methods Watcher Synchronous Proxy - Reboot
Options - The options specified when a reboot is requested.
- Reboot
Watcher Control Handle - Reboot
Watcher Event Stream - Reboot
Watcher Marker - Reboot
Watcher OnReboot Request - Reboot
Watcher OnReboot Responder - Reboot
Watcher Proxy - Reboot
Watcher Request Stream - A Stream of incoming requests for fuchsia.hardware.power.statecontrol/RebootWatcher.
- Reboot
Watcher Synchronous Proxy - Shutdown
Options - The options specified when a shutdown is requested.
- Shutdown
Watcher Control Handle - Shutdown
Watcher Event Stream - Shutdown
Watcher Marker - Shutdown
Watcher OnShutdown Request - Shutdown
Watcher OnShutdown Responder - Shutdown
Watcher Proxy - Shutdown
Watcher Register Control Handle - Shutdown
Watcher Register Event Stream - Shutdown
Watcher Register Marker - Shutdown
Watcher Register Proxy - Shutdown
Watcher Register Register Watcher Request - Shutdown
Watcher Register Register Watcher Responder - Shutdown
Watcher Register Request Stream - A Stream of incoming requests for fuchsia.hardware.power.statecontrol/ShutdownWatcherRegister.
- Shutdown
Watcher Register Synchronous Proxy - Shutdown
Watcher Request Stream - A Stream of incoming requests for fuchsia.hardware.power.statecontrol/ShutdownWatcher.
- Shutdown
Watcher Synchronous Proxy
Enums§
- Admin
Event - Admin
Request - Provides methods to request that the system be transitioned into a supported power state.
- Reboot
Methods Watcher Event - Reboot
Methods Watcher Register Event - Reboot
Methods Watcher Register Request - 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.
- Reboot
Methods Watcher Request - 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.
- Reboot
Reason - Why the system reboots.
- Reboot
Reason2 - Why the system reboots.
- Reboot
Watcher Event - Reboot
Watcher Request - 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.
- Shutdown
Action - Shutdown
Reason - Why the system is shutting down.
- Shutdown
Watcher Event - Shutdown
Watcher Register Event - Shutdown
Watcher Register Request - Allows components to register a callback that will be executed when the Shutdown method is called. The main purpose of this protocol is to be able to track shutdown reasons. Consider relying on Component Framework’s orderly shutdown if you’re looking at using this protocol.
- Shutdown
Watcher Request - Allows components to be notified when the Shutdown method is called. Watchers will be given ‘MAX_SHUTDOWN_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 ShutdownWatcher.
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.
- MAX_
SHUTDOWN_ REASONS - The maximum number of shutdown reasons that can be attributed to a single shutdown request.
- MAX_
SHUTDOWN_ WATCHER_ RESPONSE_ TIME_ SECONDS - The maximum number of seconds the server will wait for responses from all ShutdownWatchers before changing the system power state.
Traits§
- Admin
Proxy Interface - Reboot
Methods Watcher Proxy Interface - Reboot
Methods Watcher Register Proxy Interface - Reboot
Watcher Proxy Interface - Shutdown
Watcher Proxy Interface - Shutdown
Watcher Register Proxy Interface