Searched refs:mINotifyFd (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/inputflinger/ |
D | EventHub.cpp | 256 mINotifyFd = inotify_init(); in EventHub() 257 mInputWd = inotify_add_watch(mINotifyFd, DEVICE_PATH, IN_DELETE | IN_CREATE); in EventHub() 261 mVideoWd = inotify_add_watch(mINotifyFd, VIDEO_DEVICE_PATH, IN_DELETE | IN_CREATE); in EventHub() 272 eventItem.data.fd = mINotifyFd; in EventHub() 273 int result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in EventHub() 312 ::close(mINotifyFd); in ~EventHub() 892 if (eventItem.data.fd == mINotifyFd) { in getEvents() 1817 ALOGV("EventHub::readNotify nfd: %d\n", mINotifyFd); in readNotifyLocked() 1818 res = read(mINotifyFd, event_buf, sizeof(event_buf)); in readNotifyLocked()
|
D | EventHub.h | 467 int mINotifyFd; variable
|