Home
last modified time | relevance | path

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

/development/tools/emulator/system/camera/
DEmulatedCameraDevice.h324 mThreadControl(-1), in WorkerThread()
331 LOGW_IF(mThreadControl >= 0 || mControlFD >= 0, in ~WorkerThread()
334 if (mThreadControl >= 0) { in ~WorkerThread()
335 close(mThreadControl); in ~WorkerThread()
412 int mThreadControl; variable
DEmulatedCameraDevice.cpp236 LOGW_IF(mThreadControl >= 0 || mControlFD >= 0, in readyToRun()
241 mThreadControl = thread_fds[1]; in readyToRun()
257 if (mThreadControl >= 0) { in stopThread()
261 TEMP_FAILURE_RETRY(write(mThreadControl, &msg, sizeof(msg))); in stopThread()
267 if (mThreadControl >= 0) { in stopThread()
268 close(mThreadControl); in stopThread()
269 mThreadControl = -1; in stopThread()