Loading camera/ndk/NdkCameraCaptureSession.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -40,7 +40,6 @@ void ACameraCaptureSession_close(ACameraCaptureSession* session) { if (session != nullptr) { session->closeByApp(); } return; } Loading Loading @@ -192,6 +191,7 @@ camera_status_t ACameraCaptureSession_updateSharedOutput(ACameraCaptureSession* } return session->updateOutputConfiguration(output); } EXPORT camera_status_t ACameraCaptureSession_setWindowPreparedCallback( ACameraCaptureSession* session, ACameraCaptureSession_prepareCallbacks *cb) { Loading camera/ndk/impl/ACameraDevice.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1093,7 +1093,7 @@ void CameraDevice::CallbackHandler::onMessageReceived( ACameraCaptureSession_prepareCallback onWindowPrepared; found = msg->findPointer(kCallbackFpKey, (void**) &onWindowPrepared); if (!found) { ALOGE("%s: Cannot find state callback!", __FUNCTION__); ALOGE("%s: Cannot find window prepared callback!", __FUNCTION__); return; } if (onWindowPrepared == nullptr) { Loading camera/ndk/ndk_vendor/tests/AImageReaderVendorTest.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -330,7 +330,7 @@ class CameraHelper { } void incPendingPrepared(ACameraWindowType *anw) { std::lock_guard<std::mutex> lock(mMutex); if (!(mPendingPreparedCbs.find(anw) == mPendingPreparedCbs.end())) { if ((mPendingPreparedCbs.find(anw) == mPendingPreparedCbs.end())) { mPendingPreparedCbs[anw] = 1; return; } Loading Loading
camera/ndk/NdkCameraCaptureSession.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -40,7 +40,6 @@ void ACameraCaptureSession_close(ACameraCaptureSession* session) { if (session != nullptr) { session->closeByApp(); } return; } Loading Loading @@ -192,6 +191,7 @@ camera_status_t ACameraCaptureSession_updateSharedOutput(ACameraCaptureSession* } return session->updateOutputConfiguration(output); } EXPORT camera_status_t ACameraCaptureSession_setWindowPreparedCallback( ACameraCaptureSession* session, ACameraCaptureSession_prepareCallbacks *cb) { Loading
camera/ndk/impl/ACameraDevice.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -1093,7 +1093,7 @@ void CameraDevice::CallbackHandler::onMessageReceived( ACameraCaptureSession_prepareCallback onWindowPrepared; found = msg->findPointer(kCallbackFpKey, (void**) &onWindowPrepared); if (!found) { ALOGE("%s: Cannot find state callback!", __FUNCTION__); ALOGE("%s: Cannot find window prepared callback!", __FUNCTION__); return; } if (onWindowPrepared == nullptr) { Loading
camera/ndk/ndk_vendor/tests/AImageReaderVendorTest.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -330,7 +330,7 @@ class CameraHelper { } void incPendingPrepared(ACameraWindowType *anw) { std::lock_guard<std::mutex> lock(mMutex); if (!(mPendingPreparedCbs.find(anw) == mPendingPreparedCbs.end())) { if ((mPendingPreparedCbs.find(anw) == mPendingPreparedCbs.end())) { mPendingPreparedCbs[anw] = 1; return; } Loading