Lines Matching refs:lk

284             std::lock_guard<std::mutex> lk(mV4l2BufferLock);  in dumpState()  local
607 int ExternalCameraDeviceSession::waitForV4L2BufferReturnLocked(std::unique_lock<std::mutex>& lk) { in waitForV4L2BufferReturnLocked() argument
611 auto st = mV4L2BufferReturned.wait_for(lk, timeout); in waitForV4L2BufferReturnLocked()
719 std::unique_lock<std::mutex> lk(mV4l2BufferLock); in processOneCaptureRequest() local
722 int waitRet = waitForV4L2BufferReturnLocked(lk); in processOneCaptureRequest()
765 std::lock_guard<std::mutex> lk(mInflightFramesLock); in processOneCaptureRequest() local
825 std::lock_guard<std::mutex> lk(mInflightFramesLock); in processCaptureRequestError() local
881 std::lock_guard<std::mutex> lk(mInflightFramesLock); in processCaptureResult() local
1836 std::unique_lock<std::mutex> lk(mBufferLock); in threadLoop() local
1842 lk.unlock(); in threadLoop()
1859 lk.unlock(); in threadLoop()
1875 lk.unlock(); in threadLoop()
1905 lk.unlock(); in threadLoop()
1947 lk.unlock(); in threadLoop()
1956 lk.unlock(); in threadLoop()
1965 lk.unlock(); in threadLoop()
1972 lk.unlock(); in threadLoop()
1985 std::lock_guard<std::mutex> lk(mBufferLock); in allocateIntermediateBuffers() local
2060 std::unique_lock<std::mutex> lk(mRequestListLock); in submitRequest() local
2062 lk.unlock(); in submitRequest()
2075 std::unique_lock<std::mutex> lk(mRequestListLock); in flush() local
2080 auto st = mRequestDoneCond.wait_for(lk, timeout); in flush()
2087 lk.unlock(); in flush()
2101 std::unique_lock<std::mutex> lk(mRequestListLock); in waitForNextRequest() local
2108 auto st = mRequestCond.wait_for(lk, timeout); in waitForNextRequest()
2124 std::unique_lock<std::mutex> lk(mRequestListLock); in signalRequestDone() local
2127 lk.unlock(); in signalRequestDone()
2132 std::lock_guard<std::mutex> lk(mRequestListLock); in dump() local
2238 std::lock_guard<std::mutex> lk(mV4l2BufferLock); in v4l2StreamOffLocked() local
2481 std::unique_lock<std::mutex> lk(mV4l2BufferLock); in dequeueV4l2FrameLocked() local
2483 int waitRet = waitForV4L2BufferReturnLocked(lk); in dequeueV4l2FrameLocked()
2526 std::lock_guard<std::mutex> lk(mV4l2BufferLock); in dequeueV4l2FrameLocked() local
2550 std::lock_guard<std::mutex> lk(mV4l2BufferLock); in enqueueV4l2Frame() local
2617 std::lock_guard<std::mutex> lk(mInflightFramesLock); in configureStreams() local
2931 std::lock_guard<std::mutex> lk(mAfTriggerLock); in fillCaptureResult() local