class StartAndWait2
Defined at line 245 of file fidling/gen/sdk/fidl/fuchsia.hardware.hrtimer/fuchsia.hardware.hrtimer/cpp/fidl/fuchsia.hardware.hrtimer/cpp/markers.h
Start timer `id` and wait for it to expire after `ticks` ticks.
The driver will not respond to this call (hang) until the timer has triggered.
Calling `Stop` on the timer will abort this call and return `CANCELED`. Note that this
may race with the expiration of the timer.
This method keeps the system awake (prevents suspension) while the timer is setup using the
mandatory passed-in `setup_keep_alive` `LeaseToken`.
When the timer expires this method returns a second `expiration_keep_alive`
`LeaseToken` to prevent suspension at the time of expiration.
These keep alive wake lease tokens are provided by the Power Framework's System Activity
Governor. A driver supporting this call must be able to get `expiration_keep_alive` from
System Activity Governor.
When `expiration_keep_alive` is closed, then this driver created wake lease keeping the
system from suspending at the time of the timer expiration is dropped. Hence, to guarantee
that the system is not suspended by the Power Framework a client must either keep this
`expiration_keep_alive` for as long as the system needs to stay awake, or a client must
get its own wake lease from the Power Framework before it drops `expiration_keep_alive` to
prevent suspension.
Errors:
* INVALID_ARGS: The specified `id` is invalid.
* NOT_SUPPORTED: This method is not supported for the given `id`.
* BAD_STATE: The driver is in a bad state, for instance it does not have an
`expiration_keep_alive` token to provide to the client.
* INTERNAL_ERROR: The driver encountered an internal error.
Public Members
static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal