Loading camera/device/3.2/default/CameraDeviceSession.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -588,8 +588,7 @@ void CameraDeviceSession::ResultBatcher::notify(NotifyMsg& msg) { void CameraDeviceSession::ResultBatcher::invokeProcessCaptureResultCallback( hidl_vec<CaptureResult> &results, bool tryWriteFmq) { if (mProcessCaptureResultLock.tryLock() != OK) { ALOGW("%s: previous call is not finished! waiting 1s...", __FUNCTION__); ALOGV("%s: previous call is not finished! waiting 1s...", __FUNCTION__); if (mProcessCaptureResultLock.timedLock(1000000000 /* 1s */) != OK) { ALOGE("%s: cannot acquire lock in 1s, cannot proceed", __FUNCTION__); Loading Loading
camera/device/3.2/default/CameraDeviceSession.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -588,8 +588,7 @@ void CameraDeviceSession::ResultBatcher::notify(NotifyMsg& msg) { void CameraDeviceSession::ResultBatcher::invokeProcessCaptureResultCallback( hidl_vec<CaptureResult> &results, bool tryWriteFmq) { if (mProcessCaptureResultLock.tryLock() != OK) { ALOGW("%s: previous call is not finished! waiting 1s...", __FUNCTION__); ALOGV("%s: previous call is not finished! waiting 1s...", __FUNCTION__); if (mProcessCaptureResultLock.timedLock(1000000000 /* 1s */) != OK) { ALOGE("%s: cannot acquire lock in 1s, cannot proceed", __FUNCTION__); Loading