Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/
DEventHub.cpp899 mINotifyFd = inotify_init1(IN_CLOEXEC); in EventHub()
900 LOG_ALWAYS_FATAL_IF(mINotifyFd < 0, "Could not create inotify instance: %s", strerror(errno)); in EventHub()
923 eventItem.data.fd = mINotifyFd; in EventHub()
924 int result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mINotifyFd, &eventItem); in EventHub()
952 ::close(mINotifyFd); in ~EventHub()
963 mDeviceInputWd = inotify_add_watch(mINotifyFd, DEVICE_INPUT_PATH, IN_DELETE | IN_CREATE); in addDeviceInputInotify()
969 mDeviceWd = inotify_add_watch(mINotifyFd, DEVICE_PATH, IN_DELETE | IN_CREATE); in addDeviceInotify()
1941 if (eventItem.data.fd == mINotifyFd) { in getEvents()
2773 ALOGV("EventHub::readNotify nfd: %d\n", mINotifyFd); in readNotifyLocked()
2775 sizeRead = read(mINotifyFd, eventBuffer, sizeof(eventBuffer)); in readNotifyLocked()
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h802 int mINotifyFd; variable