Home
last modified time | relevance | path

Searched refs:iNotifyFd_ (Results 1 - 2 of 2) sorted by relevance

/foundation/distributedhardware/distributed_input/common/include/
H A Dinput_hub.cpp48 InputHub::InputHub(bool isPluginMonitor) : epollFd_(-1), iNotifyFd_(-1), inputWd_(-1), in InputHub()
71 iNotifyFd_ = inotify_init(); in Initialize()
72 inputWd_ = inotify_add_watch(iNotifyFd_, DEVICE_PATH, IN_DELETE | IN_CREATE); in Initialize()
80 eventItem.data.fd = iNotifyFd_; in Initialize()
81 int result = epoll_ctl(epollFd_, EPOLL_CTL_ADD, iNotifyFd_, &eventItem); in Initialize()
101 if (iNotifyFd_ != -1) { in Release()
102 ::close(iNotifyFd_); in Release()
103 iNotifyFd_ = -1; in Release()
187 if (eventItem.data.fd == iNotifyFd_) { in GetEvents()
458 if (eventItem.data.fd == iNotifyFd_) { in GetDeviceHandler()
[all...]
H A Dinput_hub.h214 int iNotifyFd_; member in OHOS::DistributedHardware::DistributedInput::InputHub

Completed in 3 milliseconds