Home
last modified time | relevance | path

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

/hardware/libhardware/modules/input/evdev/
DInputHub.cpp463 mINotifyFd = inotify_init(); in InputHub()
464 LOG_ALWAYS_FATAL_IF(mINotifyFd < 0, "Could not create inotify instance. errno=%d", errno); in InputHub()
472 eventItem.data.u32 = mINotifyFd; in InputHub()
473 int result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in InputHub()
490 ::close(mINotifyFd); in ~InputHub()
500 int wd = inotify_add_watch(mINotifyFd, path.c_str(), IN_DELETE | IN_CREATE); in registerDevicePath()
523 if (inotify_rm_watch(mINotifyFd, wd) != 0) { in unregisterDevicePath()
573 if (dataFd == mINotifyFd) { in poll()
687 ssize_t res = TEMP_FAILURE_RETRY(read(mINotifyFd, event_buf, sizeof(event_buf))); in readNotify()
DInputHub.h214 int mINotifyFd; variable