Home
last modified time | relevance | path

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

/packages/services/Car/cpp/evs/sampleDriver/hidl/
DEvsEnumerator.cpp76 int notifyFd = inotify_init(); in EvsHotplugThread() local
77 if (notifyFd < 0) { in EvsHotplugThread()
82 auto watchFd = inotify_add_watch(notifyFd, kDevicePath.data(), IN_CREATE | IN_DELETE); in EvsHotplugThread()
92 size_t len = read(notifyFd, eventBuf, sizeof(eventBuf)); in EvsHotplugThread()
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DEvsEnumerator.cpp87 auto notifyFd = inotify_init(); in EvsHotplugThread() local
88 if (notifyFd < 0) { in EvsHotplugThread()
93 int watchFd = inotify_add_watch(notifyFd, kDevicePath.data(), IN_CREATE | IN_DELETE); in EvsHotplugThread()
103 size_t len = read(notifyFd, eventBuf, sizeof(eventBuf)); in EvsHotplugThread()