Home
last modified time | relevance | path

Searched refs:mINotifyFD (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/camera/provider/default/
DExternalCameraProvider.cpp274 if (mINotifyFD >= 0) { in ~HotplugThread()
275 close(mINotifyFD); in ~HotplugThread()
285 mINotifyFD = inotify_init(); in initialize()
286 if (mINotifyFD < 0) { in initialize()
292 mWd = inotify_add_watch(mINotifyFD, kDevicePath, IN_CREATE | IN_DELETE); in initialize()
298 mPollFd = {.fd = mINotifyFD, .events = POLLIN}; in initialize()
337 ssize_t ret = read(mINotifyFD, mEventBuf, sizeof(mEventBuf)); in threadLoop()
DExternalCameraProvider.h96 int mINotifyFD = -1; variable
/hardware/interfaces/camera/provider/2.4/default/
DExternalCameraProviderImpl_2_4.cpp322 mINotifyFD = inotify_init(); in threadLoop()
323 if (mINotifyFD < 0) { in threadLoop()
328 mWd = inotify_add_watch(mINotifyFD, kDevicePath, IN_CREATE | IN_DELETE); in threadLoop()
340 int ret = read(mINotifyFD, eventBuf, sizeof(eventBuf)); in threadLoop()
DExternalCameraProviderImpl_2_4.h97 int mINotifyFD = -1; member
/hardware/interfaces/camera/provider/2.7/default/
DExternalCameraProviderImpl_2_7.cpp317 mINotifyFD = inotify_init(); in threadLoop()
318 if (mINotifyFD < 0) { in threadLoop()
323 mWd = inotify_add_watch(mINotifyFD, kDevicePath, IN_CREATE | IN_DELETE); in threadLoop()
333 int ret = read(mINotifyFD, eventBuf, sizeof(eventBuf)); in threadLoop()
DExternalCameraProviderImpl_2_7.h115 int mINotifyFD = -1; member