Home
last modified time | relevance | path

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

/device/generic/goldfish/camera/
DEmulatedCameraDevice.cpp290 ALOGW_IF(mThreadControl >= 0 || mControlFD >= 0, in readyToRun()
296 mControlFD = thread_fds[0]; in readyToRun()
325 if (mControlFD >= 0) { in stopThread()
326 close(mControlFD); in stopThread()
327 mControlFD = -1; in stopThread()
352 const int fd_num = (fd >= 0) ? max(fd, mControlFD) + 1 : in Select()
353 mControlFD + 1; in Select()
355 FD_SET(mControlFD, fds); in Select()
372 } else if (FD_ISSET(mControlFD, fds)) { in Select()
375 res = TEMP_FAILURE_RETRY(read(mControlFD, &msg, sizeof(msg))); in Select()
DEmulatedCameraDevice.h369 mControlFD(-1) in WorkerThread()
375 ALOGW_IF(mThreadControl >= 0 || mControlFD >= 0, in ~WorkerThread()
381 if (mControlFD >= 0) { in ~WorkerThread()
382 close(mControlFD); in ~WorkerThread()
459 int mControlFD; variable