Lines Matching refs:iNotifyFd_
48 InputHub::InputHub(bool isPluginMonitor) : epollFd_(-1), iNotifyFd_(-1), inputWd_(-1),
71 iNotifyFd_ = inotify_init();
72 inputWd_ = inotify_add_watch(iNotifyFd_, DEVICE_PATH, IN_DELETE | IN_CREATE);
80 eventItem.data.fd = iNotifyFd_;
81 int result = epoll_ctl(epollFd_, EPOLL_CTL_ADD, iNotifyFd_, &eventItem);
101 if (iNotifyFd_ != -1) {
102 ::close(iNotifyFd_);
103 iNotifyFd_ = -1;
187 if (eventItem.data.fd == iNotifyFd_) {
458 if (eventItem.data.fd == iNotifyFd_) {
1082 DHLOGI("readNotify nfd: %{public}d\n", iNotifyFd_);
1083 res = static_cast<size_t>(read(iNotifyFd_, eventBuf, sizeof(eventBuf)));