template <>

class WireWeakAsyncBufferClientImpl

Defined at line 4013 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.statecontrol/fuchsia.hardware.power.statecontrol/cpp/fidl/fuchsia.hardware.power.statecontrol/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_power_statecontrol::Admin::PowerFullyOn> PowerFullyOn ()

Asks the device to enter a fully on state.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_power_statecontrol::Admin::Shutdown> Shutdown (::fuchsia_hardware_power_statecontrol::wire::ShutdownOptions options)

Asks the device to enter the state specified by `options.action`.

Arguments:

- options: The options with which to perform this request.

`ZX_ERR_INVALID_ARGS` is returned if `action` is absent.

`reasons` may be omitted, but adding a new enum value

instead is strongly encouraged.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_power_statecontrol::Admin::PerformReboot> PerformReboot (::fuchsia_hardware_power_statecontrol::wire::RebootOptions options)

Asks the device to reboot.

Arguments:

- options: The options with which to perform this requests.

`ZX_ERR_INVALID_ARGS` is returned if the options are

malformed (i.e. `reasons` is absent or empty).

# Deprecation

Use Shutdown, which allows callers to specify the intended action and reasons for the

action.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_power_statecontrol::Admin::RebootToBootloader> RebootToBootloader ()

Asks the device to reboot into the bootloader.

# Deprecation

Use Shutdown, which allows callers to specify reasons why they are requesting a reboot to

bootloader.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_power_statecontrol::Admin::RebootToRecovery> RebootToRecovery ()

Asks the device to reboot into the recovery partition.

# Deprecation

Use Shutdown, which allows callers to specify reasons why they are requesting a reboot to

recovery.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_power_statecontrol::Admin::Poweroff> Poweroff ()

Asks all devices to enter a powered off state.

# Deprecation

Use Shutdown, which allows callers to specify reasons why they are requesting a poweroff.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_power_statecontrol::Admin::Mexec> Mexec (::zx::vmo && kernel_zbi, ::zx::vmo && data_zbi)

Performs a kernel mexec.

It is expected that the ZBI items specified by

`zx_system_mexec_payload_get()` have not yet been appended to the

provided data ZBI.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_power_statecontrol::Admin::SuspendToRam> SuspendToRam ()

Asks the device to enter the suspend to RAM (S3) power state. Currently only supported on

x64. If a system state transition is already in progress then ZX_ERR_ALREADY_EXISTS is

returned. If the device fails to reach the suspend power state then ZX_ERR_INTERNAL is

returned. If the device successfully suspends, ZX_OK is returned when the device resumes.

Caller provides the backing storage for FIDL message.