Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | ANDROID_ALARM_CLEAR(type) _IO('a', 0 | ((type) << 4)) |
#define | ANDROID_ALARM_WAIT _IO('a', 1) |
#define | ALARM_IOW(c, type, size) _IOW('a', (c) | ((type) << 4), size) |
#define | ANDROID_ALARM_SET(type) ALARM_IOW(2, type, struct timespec) |
#define | ANDROID_ALARM_SET_AND_WAIT(type) ALARM_IOW(3, type, struct timespec) |
#define | ANDROID_ALARM_GET_TIME(type) ALARM_IOW(4, type, struct timespec) |
#define | ANDROID_ALARM_SET_RTC _IOW('a', 5, struct timespec) |
#define | ANDROID_ALARM_BASE_CMD(cmd) (cmd & ~(_IOC(0, 0, 0xf0, 0))) |
#define | ANDROID_ALARM_IOCTL_TO_TYPE(cmd) (_IOC_NR(cmd) >> 4) |
Enumerations | |
enum | android_alarm_type { ANDROID_ALARM_RTC_WAKEUP, ANDROID_ALARM_RTC, ANDROID_ALARM_ELAPSED_REALTIME_WAKEUP, ANDROID_ALARM_ELAPSED_REALTIME, ANDROID_ALARM_SYSTEMTIME, ANDROID_ALARM_TYPE_COUNT } |
enum | android_alarm_return_flags { ANDROID_ALARM_RTC_WAKEUP_MASK = 1U << ANDROID_ALARM_RTC_WAKEUP, ANDROID_ALARM_RTC_MASK = 1U << ANDROID_ALARM_RTC, ANDROID_ALARM_ELAPSED_REALTIME_WAKEUP_MASK, ANDROID_ALARM_ELAPSED_REALTIME_MASK, ANDROID_ALARM_SYSTEMTIME_MASK = 1U << ANDROID_ALARM_SYSTEMTIME, ANDROID_ALARM_TIME_CHANGE_MASK = 1U << 16 } |
Definition at line 53 of file android_alarm.h.
Definition at line 59 of file android_alarm.h.
Definition at line 48 of file android_alarm.h.
Definition at line 57 of file android_alarm.h.
Definition at line 60 of file android_alarm.h.
Definition at line 55 of file android_alarm.h.
Definition at line 56 of file android_alarm.h.
Definition at line 58 of file android_alarm.h.
Definition at line 51 of file android_alarm.h.
ANDROID_ALARM_RTC_WAKEUP_MASK | |
ANDROID_ALARM_RTC_MASK | |
ANDROID_ALARM_ELAPSED_REALTIME_WAKEUP_MASK | |
ANDROID_ALARM_ELAPSED_REALTIME_MASK | |
ANDROID_ALARM_SYSTEMTIME_MASK | |
ANDROID_ALARM_TIME_CHANGE_MASK |
Definition at line 36 of file android_alarm.h.
enum android_alarm_type |
ANDROID_ALARM_RTC_WAKEUP | |
ANDROID_ALARM_RTC | |
ANDROID_ALARM_ELAPSED_REALTIME_WAKEUP | |
ANDROID_ALARM_ELAPSED_REALTIME | |
ANDROID_ALARM_SYSTEMTIME | |
ANDROID_ALARM_TYPE_COUNT |
Definition at line 22 of file android_alarm.h.