class ActivityGovernorAcquireWakeLease2Request

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

Public Methods

void ActivityGovernorAcquireWakeLease2Request (Storage_ storage)
void ActivityGovernorAcquireWakeLease2Request ()

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

void ActivityGovernorAcquireWakeLease2Request (ActivityGovernorAcquireWakeLease2Request && )

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

bool IsEmpty ()
const std::optional< ::std::string> & name ()

The name of the lease.

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

::std::optional< ::std::string> & name ()

The name of the lease.

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

ActivityGovernorAcquireWakeLease2Request & name (std::optional< ::std::string> value)

The name of the lease.

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

ActivityGovernorAcquireWakeLease2Request & operator= (ActivityGovernorAcquireWakeLease2Request && )

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

const std::optional< ::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`.

::std::optional< ::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`.

ActivityGovernorAcquireWakeLease2Request & server_token (std::optional< ::zx::eventpair> value)

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`.

const std::optional< ::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.

::std::optional< ::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.

ActivityGovernorAcquireWakeLease2Request & previous_client_token (std::optional< ::zx::eventpair> value)

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.

const std::optional<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.

::std::optional<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.

ActivityGovernorAcquireWakeLease2Request & unmonitored (std::optional<bool> value)

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.

void ActivityGovernorAcquireWakeLease2Request (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits