Home
last modified time | relevance | path

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

/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp209 pollfd &inotifyFd = myFds[IDX_INOTIFY]; in doRun() local
213 if (init_inotify(&inotifyFd)) { in doRun()
228 wait_on_dev_lock(inotifyFd); in doRun()
/device/google/contexthub/sensorhal/
Dhubconnection.cpp1129 int inotifyFd = inotify_init1(IN_NONBLOCK); in initNanohubLock() local
1130 if (inotifyFd < 0) { in initNanohubLock()
1132 } else if (inotify_add_watch(inotifyFd, NANOHUB_LOCK_DIR, IN_CREATE | IN_DELETE) < 0) { in initNanohubLock()
1134 close(inotifyFd); in initNanohubLock()
1136 mPollFds[mNumPollFds].fd = inotifyFd; in initNanohubLock()