Home
last modified time | relevance | path

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

/device/generic/goldfish/camera/
DEmulatedCameraDevice.h368 mThreadControl(-1), in WorkerThread()
375 ALOGW_IF(mThreadControl >= 0 || mControlFD >= 0, in ~WorkerThread()
378 if (mThreadControl >= 0) { in ~WorkerThread()
379 close(mThreadControl); in ~WorkerThread()
456 int mThreadControl; variable
DEmulatedCameraDevice.cpp290 ALOGW_IF(mThreadControl >= 0 || mControlFD >= 0, in readyToRun()
295 mThreadControl = thread_fds[1]; in readyToRun()
311 if (mThreadControl >= 0) { in stopThread()
315 TEMP_FAILURE_RETRY(write(mThreadControl, &msg, sizeof(msg))); in stopThread()
321 if (mThreadControl >= 0) { in stopThread()
322 close(mThreadControl); in stopThread()
323 mThreadControl = -1; in stopThread()