Searched refs:mINotifyFd (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 270 mINotifyFd = inotify_init(); in EventHub() 271 mInputWd = inotify_add_watch(mINotifyFd, DEVICE_PATH, IN_DELETE | IN_CREATE); in EventHub() 275 mVideoWd = inotify_add_watch(mINotifyFd, VIDEO_DEVICE_PATH, IN_DELETE | IN_CREATE); in EventHub() 286 eventItem.data.fd = mINotifyFd; in EventHub() 287 int result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in EventHub() 326 ::close(mINotifyFd); in ~EventHub() 901 if (eventItem.data.fd == mINotifyFd) { in getEvents() 1820 ALOGV("EventHub::readNotify nfd: %d\n", mINotifyFd); in readNotifyLocked() 1821 res = read(mINotifyFd, event_buf, sizeof(event_buf)); in readNotifyLocked()
|
/frameworks/native/services/inputflinger/reader/include/ |
D | EventHub.h | 463 int mINotifyFd; variable
|