Searched refs:mINotifyFd (Results 1 – 2 of 2) sorted by relevance
/hardware/libhardware/modules/input/evdev/ |
D | InputHub.cpp | 433 mINotifyFd = inotify_init(); in InputHub() 434 LOG_ALWAYS_FATAL_IF(mINotifyFd < 0, "Could not create inotify instance. errno=%d", errno); in InputHub() 442 eventItem.data.u32 = mINotifyFd; in InputHub() 443 int result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in InputHub() 460 ::close(mINotifyFd); in ~InputHub() 470 int wd = inotify_add_watch(mINotifyFd, path.c_str(), IN_DELETE | IN_CREATE); in registerDevicePath() 493 if (inotify_rm_watch(mINotifyFd, wd) != 0) { in unregisterDevicePath() 543 if (dataFd == mINotifyFd) { in poll() 657 ssize_t res = TEMP_FAILURE_RETRY(read(mINotifyFd, event_buf, sizeof(event_buf))); in readNotify()
|
D | InputHub.h | 188 int mINotifyFd; variable
|