Structs§
- Container
Waking Proxy - A proxy wrapper that manages a
zx::Counterto allow the container to suspend after events are being processed. - Container
Waking Stream - A stream wrapper that manages a
zx::Counterto allow the container to suspend after events are being processed. - Owned
Message Counter - Owns a
zx::Counterto track pending messages that prevent the container from suspending. - Power
State File - Power
Sync OnSuspend File - Power
Wake Lock File - Power
Wake Unlock File - Power
Wakeup Count File - This file allows user space to put the system into a sleep state while taking into account the concurrent arrival of wakeup events.
- Shared
Message Counter - Wrapper around a Weak
OwnedMessageCounterthat can be passed around to keep the container awake. - Suspend
Resume Manager - Manager for suspend and resume.
- Suspend
Resume Manager Inner - Manager for suspend and resume.
- Suspend
Stats - Suspend statistics collection.
Enums§
- Lock
Source - The source of a wake lock.
- Suspend
Event - Suspend
State
Traits§
Functions§
- create_
proxy_ for_ wake_ events_ counter - Creates a proxy between
remote_channeland the returnedzx::Channel. - create_
proxy_ for_ wake_ events_ counter_ zero - Creates a proxy between
remote_channeland the returnedzx::Channel. - create_
watcher_ for_ wake_ events - Creates a watcher between clients and the Starnix runner.
- mark_
all_ proxy_ messages_ handled - Marks all messages tracked by
counteras handled. - mark_
proxy_ message_ handled - Marks a message handled by decrementing
counter.