class ActivityGovernorAcquireWakeLease2Request

Defined at line 862 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/wire_types.h

Public Methods

void ActivityGovernorAcquireWakeLease2Request ()

Defined at line 864 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/wire_types.h

void ActivityGovernorAcquireWakeLease2Request (const ActivityGovernorAcquireWakeLease2Request & other)

Defined at line 865 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/wire_types.h

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

void _CloseHandles ()
::fidl::WireTableBuilder< ::fuchsia_power_system::wire::ActivityGovernorAcquireWakeLease2Request> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_power_system::wire::ActivityGovernorAcquireWakeLease2Request> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_power_system::wire::ActivityGovernorAcquireWakeLease2Request>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

::fidl::StringView & name ()

The name of the lease.

Required. The name cannot be empty but is not required to be globally unique.

bool has_name ()
bool has_previous_client_token ()
ActivityGovernorAcquireWakeLease2Request & operator= (const ActivityGovernorAcquireWakeLease2Request & other)

Defined at line 866 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/wire_types.h

void ActivityGovernorAcquireWakeLease2Request (ActivityGovernorAcquireWakeLease2Request && other)

Defined at line 867 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/wire_types.h

ActivityGovernorAcquireWakeLease2Request & operator= (ActivityGovernorAcquireWakeLease2Request && other)

Defined at line 868 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/wire_types.h

::zx::eventpair & server_token ()

The server side of the token that blocks hardware platform

suspension.

Required. The caller should give out handles to the client side

of the `LeaseToken` which is peered to this `server_token`.

bool has_server_token ()
::zx::eventpair & previous_client_token ()

Optional predecessor client token for the lease being exchanged.

If present, SAG holds this handle until the new wake lease is

registered in SAG's internal tracking structures, and records in

Inspect that the new wake lease is associated with the predecessor

lease (`replaces_lease_id`). Providing `previous_client_token` does

not destroy the previous lease if other handles to its client token

remain open.

bool & unmonitored ()

Optional flag indicating whether the wake lease is unmonitored.

If present and true, behaves like `AcquireUnmonitoredWakeLease`:

SAG does not monitor the duration of this lease and will not file a

crash report if it exceeds preconfigured alert thresholds.

Defaults to false if absent.

bool has_unmonitored ()
ActivityGovernorAcquireWakeLease2Request & set_name (::fidl::ObjectView< ::fidl::StringView> elem)
ActivityGovernorAcquireWakeLease2Request & set_name (std::nullptr_t )
ActivityGovernorAcquireWakeLease2Request & clear_name ()
ActivityGovernorAcquireWakeLease2Request & clear_server_token ()
void ~ActivityGovernorAcquireWakeLease2Request ()

Defined at line 870 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/wire_types.h

template <typename... Args>
ActivityGovernorAcquireWakeLease2Request & set_name (::fidl::AnyArena & allocator, Args &&... args)

Defined at line 927 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/wire_types.h

ActivityGovernorAcquireWakeLease2Request & set_server_token (::zx::eventpair elem)
ActivityGovernorAcquireWakeLease2Request & set_previous_client_token (::zx::eventpair elem)
ActivityGovernorAcquireWakeLease2Request & clear_previous_client_token ()
ActivityGovernorAcquireWakeLease2Request & set_unmonitored (bool elem)
ActivityGovernorAcquireWakeLease2Request & clear_unmonitored ()
void ActivityGovernorAcquireWakeLease2Request (::fidl::AnyArena & allocator)
void ActivityGovernorAcquireWakeLease2Request (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_power_system::wire::ActivityGovernorAcquireWakeLease2Request>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_power_system::wire::ActivityGovernorAcquireWakeLease2Request>> && frame_ptr)

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder