Home
last modified time | relevance | path

Searched refs:N_ANDROID_TIMERFDS (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_AlarmManagerService.cpp43 static const size_t N_ANDROID_TIMERFDS = ANDROID_ALARM_TYPE_COUNT + 1; variable
44 static const clockid_t android_alarm_to_clockid[N_ANDROID_TIMERFDS] = {
83 AlarmImplTimerFd(int fds[N_ANDROID_TIMERFDS], int epollfd) : in AlarmImplTimerFd() argument
84 AlarmImpl(fds, N_ANDROID_TIMERFDS), epollfd(epollfd) { } in AlarmImplTimerFd()
134 for (size_t i = 0; i < N_ANDROID_TIMERFDS; i++) { in ~AlarmImplTimerFd()
206 epoll_event events[N_ANDROID_TIMERFDS]; in waitForAlarm()
208 int nevents = epoll_wait(epollfd, events, N_ANDROID_TIMERFDS, -1); in waitForAlarm()
289 int fds[N_ANDROID_TIMERFDS]; in init_timerfd()
291 epollfd = epoll_create(N_ANDROID_TIMERFDS); in init_timerfd()
293 ALOGV("epoll_create(%u) failed: %s", N_ANDROID_TIMERFDS, in init_timerfd()
[all …]