Lines Matching refs:lk
253 std::lock_guard<std::mutex> lk(mV4l2BufferLock); in dumpState() local
515 int ExternalCameraDeviceSession::waitForV4L2BufferReturnLocked(std::unique_lock<std::mutex>& lk) { in waitForV4L2BufferReturnLocked() argument
519 auto st = mV4L2BufferReturned.wait_for(lk, timeout); in waitForV4L2BufferReturnLocked()
627 std::unique_lock<std::mutex> lk(mV4l2BufferLock); in processOneCaptureRequest() local
630 int waitRet = waitForV4L2BufferReturnLocked(lk); in processOneCaptureRequest()
673 std::lock_guard<std::mutex> lk(mInflightFramesLock); in processOneCaptureRequest() local
733 std::lock_guard<std::mutex> lk(mInflightFramesLock); in processCaptureRequestError() local
787 std::lock_guard<std::mutex> lk(mInflightFramesLock); in processCaptureResult() local
1735 std::unique_lock<std::mutex> lk(mBufferLock); in threadLoop() local
1758 lk.unlock(); in threadLoop()
1790 lk.unlock(); in threadLoop()
1822 lk.unlock(); in threadLoop()
1831 lk.unlock(); in threadLoop()
1840 lk.unlock(); in threadLoop()
1847 lk.unlock(); in threadLoop()
1859 std::lock_guard<std::mutex> lk(mBufferLock); in allocateIntermediateBuffers() local
1932 std::unique_lock<std::mutex> lk(mRequestListLock); in submitRequest() local
1934 lk.unlock(); in submitRequest()
1947 std::unique_lock<std::mutex> lk(mRequestListLock); in flush() local
1952 auto st = mRequestDoneCond.wait_for(lk, timeout); in flush()
1959 lk.unlock(); in flush()
1973 std::unique_lock<std::mutex> lk(mRequestListLock); in waitForNextRequest() local
1980 auto st = mRequestCond.wait_for(lk, timeout); in waitForNextRequest()
1996 std::unique_lock<std::mutex> lk(mRequestListLock); in signalRequestDone() local
1999 lk.unlock(); in signalRequestDone()
2004 std::lock_guard<std::mutex> lk(mRequestListLock); in dump() local
2102 std::lock_guard<std::mutex> lk(mV4l2BufferLock); in v4l2StreamOffLocked() local
2347 std::unique_lock<std::mutex> lk(mV4l2BufferLock); in dequeueV4l2FrameLocked() local
2349 int waitRet = waitForV4L2BufferReturnLocked(lk); in dequeueV4l2FrameLocked()
2392 std::lock_guard<std::mutex> lk(mV4l2BufferLock); in dequeueV4l2FrameLocked() local
2416 std::lock_guard<std::mutex> lk(mV4l2BufferLock); in enqueueV4l2Frame() local
2468 std::lock_guard<std::mutex> lk(mInflightFramesLock); in configureStreams() local
2778 std::lock_guard<std::mutex> lk(mAfTriggerLock); in fillCaptureResult() local