Go to the source code of this file.
◆ UHardwareAlarm
Opaque type modelling access to the kernel/hw-level alarm capabilities.
Definition at line 58 of file alarm.h.
◆ UHardwareAlarmSleepBehavior
◆ UHardwareAlarmTimeReference
◆ UHardwareAlarmWaitResult
◆ UbuntuHardwareAlarmSleepBehavior
Describes if an alarm is able to wakup the device from sleep.
Enumerator |
---|
U_HARDWARE_ALARM_SLEEP_BEHAVIOR_WAKEUP_DEVICE | Alarm will wakeup the device from sleep.
|
U_HARDWARE_ALARM_SLEEP_BEHAVIOR_KEEP_DEVICE_ASLEEP | Alarm will not wakeup the device and will be delivered on the next wakeup of the device
|
Definition at line 38 of file alarm.h.
◆ UbuntuHardwareAlarmTimeReference
The time reference that alarms are setup to.
Enumerator |
---|
U_HARDWARE_ALARM_TIME_REFERENCE_BOOT | Relative to the device's boot time, including sleep.
|
U_HARDWARE_ALARM_TIME_REFERENCE_RTC | Wall clock time in UTC.
|
Definition at line 29 of file alarm.h.
◆ u_hardware_alarm_create()
Creates an instance and/or increments its refcount.
◆ u_hardware_alarm_get_elapsed_real_time()
Query the time that elapsed since boot, including deep sleeps.
◆ u_hardware_alarm_ref()
Increments the instance's ref count.
◆ u_hardware_alarm_set_relative_to_with_behavior()
◆ u_hardware_alarm_set_timezone()
Reports a timezone change to kernel and HW.
◆ u_hardware_alarm_unref()
Decrements the instance's ref count.
◆ u_hardware_alarm_wait_for_next_alarm()
Blocks until the next alarm occurs.