Searched refs:mINotifyFd (Results 1 – 2 of 2) sorted by relevance
/hardware/libhardware/modules/input/evdev/ |
D | InputHub.cpp | 449 mINotifyFd = inotify_init(); in InputHub() 450 LOG_ALWAYS_FATAL_IF(mINotifyFd < 0, "Could not create inotify instance. errno=%d", errno); in InputHub() 458 eventItem.data.u32 = mINotifyFd; in InputHub() 459 int result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in InputHub() 476 ::close(mINotifyFd); in ~InputHub() 486 int wd = inotify_add_watch(mINotifyFd, path.c_str(), IN_DELETE | IN_CREATE); in registerDevicePath() 509 if (inotify_rm_watch(mINotifyFd, wd) != 0) { in unregisterDevicePath() 559 if (dataFd == mINotifyFd) { in poll() 673 ssize_t res = TEMP_FAILURE_RETRY(read(mINotifyFd, event_buf, sizeof(event_buf))); in readNotify()
|
D | InputHub.h | 214 int mINotifyFd; variable
|