Searched refs:N_ANDROID_TIMERFDS (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/core/jni/ |
D | com_android_server_AlarmManagerService.cpp | 47 static const size_t N_ANDROID_TIMERFDS = ANDROID_ALARM_TYPE_COUNT + 1; variable 48 static const clockid_t android_alarm_to_clockid[N_ANDROID_TIMERFDS] = { 87 AlarmImplTimerFd(int fds[N_ANDROID_TIMERFDS], int epollfd, int rtc_id) : in AlarmImplTimerFd() argument 88 AlarmImpl(fds, N_ANDROID_TIMERFDS), epollfd(epollfd), rtc_id(rtc_id) { } in AlarmImplTimerFd() 139 for (size_t i = 0; i < N_ANDROID_TIMERFDS; i++) { in ~AlarmImplTimerFd() 218 epoll_event events[N_ANDROID_TIMERFDS]; in waitForAlarm() 220 int nevents = epoll_wait(epollfd, events, N_ANDROID_TIMERFDS, -1); in waitForAlarm() 361 int fds[N_ANDROID_TIMERFDS]; in init_timerfd() 363 epollfd = epoll_create(N_ANDROID_TIMERFDS); in init_timerfd() 365 ALOGV("epoll_create(%zu) failed: %s", N_ANDROID_TIMERFDS, in init_timerfd() [all …]
|