Searched refs:inotify_fd (Results 1 – 1 of 1) sorted by relevance
150 android::base::unique_fd inotify_fd(inotify_init1(IN_CLOEXEC)); in ev_init() local151 if (inotify_fd.get() == -1) { in ev_init()155 if (inotify_add_watch(inotify_fd, INPUT_DEV_DIR, IN_CREATE) < 0) { in ev_init()198 ev_add_fd(std::move(inotify_fd), inotify_cb); in ev_init()