Lines Matching refs:NO_ERROR
136 int rc = NO_ERROR; in set_preview_window()
148 if (rc == NO_ERROR) { in set_preview_window()
199 if (rc == NO_ERROR) { in set_CallBacks()
232 if (rc == NO_ERROR) { in enable_msg_type()
265 if (rc == NO_ERROR) { in disable_msg_type()
288 int ret = NO_ERROR; in msg_type_enabled()
300 if (ret == NO_ERROR) { in msg_type_enabled()
325 int ret = NO_ERROR; in prepare_preview()
338 if (ret == NO_ERROR) { in prepare_preview()
363 int ret = NO_ERROR; in start_preview()
381 if (ret == NO_ERROR) { in start_preview()
421 if (ret == NO_ERROR) { in stop_preview()
442 int ret = NO_ERROR; in preview_enabled()
454 if (ret == NO_ERROR) { in preview_enabled()
485 int ret = NO_ERROR; in store_meta_data_in_buffers()
497 if (ret == NO_ERROR) { in store_meta_data_in_buffers()
522 int ret = NO_ERROR; in restart_start_preview()
535 if (ret == NO_ERROR) { in restart_start_preview()
566 int ret = NO_ERROR; in restart_stop_preview()
579 if (ret == NO_ERROR) { in restart_stop_preview()
609 int ret = NO_ERROR; in pre_start_recording()
621 if (ret == NO_ERROR) { in pre_start_recording()
645 int ret = NO_ERROR; in start_recording()
661 if (ret != NO_ERROR) { in start_recording()
671 if (ret == NO_ERROR) { in start_recording()
710 if (ret == NO_ERROR) { in stop_recording()
731 int ret = NO_ERROR; in recording_enabled()
742 if (ret == NO_ERROR) { in recording_enabled()
767 int32_t ret = NO_ERROR; in release_recording_frame()
783 if (ret == NO_ERROR) { in release_recording_frame()
805 int ret = NO_ERROR; in auto_focus()
817 if (ret == NO_ERROR) { in auto_focus()
842 int ret = NO_ERROR; in cancel_auto_focus()
854 if (ret == NO_ERROR) { in cancel_auto_focus()
878 int ret = NO_ERROR; in pre_take_picture()
890 if (ret == NO_ERROR) { in pre_take_picture()
914 int ret = NO_ERROR; in take_picture()
954 if (ret != NO_ERROR) { in take_picture()
964 if (ret == NO_ERROR) { in take_picture()
989 if (ret != NO_ERROR) { in take_picture()
1002 if (ret == NO_ERROR) { in take_picture()
1031 int ret = NO_ERROR; in cancel_picture()
1043 if (ret == NO_ERROR) { in cancel_picture()
1070 int ret = NO_ERROR; in set_parameters()
1081 if (ret == NO_ERROR) { in set_parameters()
1089 if ((ret == NO_ERROR) && hw->getNeedRestart()) { in set_parameters()
1092 if (ret == NO_ERROR) { in set_parameters()
1098 if (ret == NO_ERROR) { in set_parameters()
1101 if (ret == NO_ERROR) { in set_parameters()
1107 if ((ret == NO_ERROR) && hw->getNeedRestart()) { in set_parameters()
1110 if (ret == NO_ERROR) { in set_parameters()
1138 int ret = NO_ERROR; in stop_after_set_params()
1151 if (ret == NO_ERROR) { in stop_after_set_params()
1181 int ret = NO_ERROR; in commit_params()
1194 if (ret == NO_ERROR) { in commit_params()
1224 int ret = NO_ERROR; in restart_after_set_params()
1237 if (ret == NO_ERROR) { in restart_after_set_params()
1275 if (rc == NO_ERROR) { in get_parameters()
1310 if (ret == NO_ERROR) { in put_parameters()
1338 int ret = NO_ERROR; in send_command()
1355 if (ret == NO_ERROR) { in send_command()
1386 int ret = NO_ERROR; in send_command_restart()
1402 if (ret == NO_ERROR) { in send_command_restart()
1435 if (ret == NO_ERROR) { in release()
1457 int ret = NO_ERROR; in dump()
1473 if (ret == NO_ERROR) { in dump()
1498 int ret = NO_ERROR; in close_camera_device()
1534 int ret = NO_ERROR; in register_face_image()
1549 if (ret == NO_ERROR) { in register_face_image()
1574 int ret = NO_ERROR; in prepare_snapshot()
1584 return NO_ERROR; in prepare_snapshot()
1595 if (ret == NO_ERROR) { in prepare_snapshot()
1837 int rc = NO_ERROR; in openCamera()
1849 if (rc == NO_ERROR){ in openCamera()
1877 int32_t rc = NO_ERROR; in openCamera()
1943 if(NO_ERROR != initCapabilities(mCameraId,mCameraHandle)) { in openCamera()
2030 return NO_ERROR; in openCamera()
2061 if (rc != NO_ERROR) { in bundleRelatedCameras()
2082 int32_t rc = NO_ERROR; in getCameraSessionId()
2208 return NO_ERROR; in setMpoComposition()
2258 int rc = NO_ERROR; in closeCamera()
2263 return NO_ERROR; in closeCamera()
2362 int rc = NO_ERROR; in getCapabilities()
2394 if (rc == NO_ERROR) { in getCapabilities()
2435 if (rc != NO_ERROR) { in getCapabilities()
2524 int rc = NO_ERROR; in getCapabilities()
2988 int rc = NO_ERROR; in allocateStreamBuf()
3109 if (rc != NO_ERROR) { in allocateStreamBuf()
3224 int rc = NO_ERROR; in allocateMoreStreamBuf()
3247 int rc = NO_ERROR; in allocateMiscBuf()
3302 int rc = NO_ERROR; in initStreamInfoBuf()
3496 int rc = NO_ERROR; in allocateStreamInfoBuf()
3556 int rc = NO_ERROR; in allocateStreamUserBuf()
3672 return NO_ERROR; in setPreviewWindow()
3703 return NO_ERROR; in setCallBacks()
3742 int32_t rc = NO_ERROR; in enableMsgType()
3760 if (rc != NO_ERROR) { in enableMsgType()
3785 int32_t rc = NO_ERROR; in disableMsgType()
3795 if (rc != NO_ERROR) { in disableMsgType()
3856 int32_t rc = NO_ERROR; in startPreview()
3881 if (rc == NO_ERROR) { in startPreview()
3888 if (rc != NO_ERROR) { in startPreview()
3897 if (rc != NO_ERROR) { in startPreview()
3928 int32_t rc = NO_ERROR; in updatePostPreviewParameters()
3930 return NO_ERROR; in updatePostPreviewParameters()
3972 return NO_ERROR; in stopPreview()
3990 return NO_ERROR; in storeMetaDataInBuffers()
4006 int32_t rc = NO_ERROR; in preStartRecording()
4019 if (rc == NO_ERROR) { in preStartRecording()
4048 int32_t rc = NO_ERROR; in startRecording()
4077 if (NO_ERROR != rc) { in startRecording()
4083 if (rc == NO_ERROR) { in startRecording()
4111 if (NO_ERROR != rc) { in startRecording()
4122 if (rc == NO_ERROR) { in startRecording()
4204 int rc = NO_ERROR; in autoFocus()
4227 if (NO_ERROR != rc) { in autoFocus()
4247 int rc = NO_ERROR; in cancelAutoFocus()
4295 if (NO_ERROR != waitDeferredWork(mInitPProcJob)) { in processUFDumps()
4348 int32_t rc = NO_ERROR; in unconfigureAdvancedCapture()
4364 if (rc != NO_ERROR) { in unconfigureAdvancedCapture()
4387 if (rc != NO_ERROR) { in unconfigureAdvancedCapture()
4417 int32_t rc = NO_ERROR; in configureAdvancedCapture()
4420 if (rc != NO_ERROR) { in configureAdvancedCapture()
4453 if (rc != NO_ERROR) { in configureAdvancedCapture()
4459 if (rc != NO_ERROR) { in configureAdvancedCapture()
4509 int32_t rc = NO_ERROR; in configureAFBracketing()
4532 if ( NO_ERROR != rc ) { in configureAFBracketing()
4558 int32_t rc = NO_ERROR; in configureHDRBracketing()
4603 if ( NO_ERROR != rc ) { in configureHDRBracketing()
4625 int32_t rc = NO_ERROR; in configureAEBracketing()
4628 if ( NO_ERROR != rc ) { in configureAEBracketing()
4649 int32_t rc = NO_ERROR; in configureOptiZoom()
4676 int32_t rc = NO_ERROR; in configureStillMore()
4684 if (rc != NO_ERROR) { in configureStillMore()
4748 int32_t rc = NO_ERROR; in configureHalPostProcess()
4785 int32_t rc = NO_ERROR; in stopAdvancedCapture()
4828 int32_t rc = NO_ERROR; in startAdvancedCapture()
4865 int32_t rc = NO_ERROR; in preTakePicture()
4877 if (rc == NO_ERROR) { in preTakePicture()
4879 if (rc != NO_ERROR) { in preTakePicture()
4909 int rc = NO_ERROR; in takePicture()
4929 if (rc != NO_ERROR) { in takePicture()
4975 if (rc != NO_ERROR) { in takePicture()
5037 if (NO_ERROR != waitDeferredWork(mReprocJob)) { in takePicture()
5046 if (rc != NO_ERROR) { in takePicture()
5071 if (rc != NO_ERROR) { in takePicture()
5073 if (NO_ERROR != waitDeferredWork(mReprocJob)) { in takePicture()
5077 if (NO_ERROR != waitDeferredWork(mJpegJob)) { in takePicture()
5091 if (rc != NO_ERROR) { in takePicture()
5093 if (NO_ERROR != waitDeferredWork(mReprocJob)) { in takePicture()
5097 if (NO_ERROR != waitDeferredWork(mJpegJob)) { in takePicture()
5121 if (NO_ERROR != rc) { in takePicture()
5126 if ((rc == NO_ERROR) && in takePicture()
5132 if (rc != NO_ERROR) { in takePicture()
5159 if (NO_ERROR != waitDeferredWork(mReprocJob)) { in takePicture()
5168 if (rc != NO_ERROR) { in takePicture()
5170 if (NO_ERROR != waitDeferredWork(mReprocJob)) { in takePicture()
5174 if (NO_ERROR != waitDeferredWork(mJpegJob)) { in takePicture()
5189 if (rc != NO_ERROR) { in takePicture()
5197 if (NO_ERROR != rc) { in takePicture()
5198 if (NO_ERROR != waitDeferredWork(mReprocJob)) { in takePicture()
5202 if (NO_ERROR != waitDeferredWork(mJpegJob)) { in takePicture()
5220 if (NO_ERROR != rc) { in takePicture()
5226 if (NO_ERROR != rc) { in takePicture()
5232 if (rc == NO_ERROR) { in takePicture()
5234 if (NO_ERROR != waitDeferredWork(mInitPProcJob)) { in takePicture()
5240 if (rc != NO_ERROR) { in takePicture()
5247 if (rc != NO_ERROR) { in takePicture()
5280 int rc = NO_ERROR; in configureOnlineRotation()
5303 if (rc != NO_ERROR) { in configureOnlineRotation()
5324 int rc = NO_ERROR; in declareSnapshotStreams()
5328 if (rc != NO_ERROR) { in declareSnapshotStreams()
5350 int32_t rc = NO_ERROR; in longShot()
5391 int rc = NO_ERROR; in stopCaptureChannel()
5397 if (destroy && (NO_ERROR == rc)) { in stopCaptureChannel()
5456 return NO_ERROR; in cancelPicture()
5477 if (rc != NO_ERROR) { in captureDone()
5523 int rc = NO_ERROR; in Int_Pic_thread()
5538 if (rc == NO_ERROR) { in Int_Pic_thread()
5561 int rc = NO_ERROR; in takeLiveSnapshot()
5587 int rc = NO_ERROR; in takePictureInternal()
5609 int rc = NO_ERROR; in checkIntPicPending()
5678 int rc = NO_ERROR; in takeBackendPic_internal()
5693 if (rc == NO_ERROR) { in takeBackendPic_internal()
5704 if (NO_ERROR != waitDeferredWork(mInitPProcJob)) { in takeBackendPic_internal()
5715 if (rc == NO_ERROR) { in takeBackendPic_internal()
5731 if (rc == NO_ERROR) { in takeBackendPic_internal()
5733 if (NO_ERROR != waitDeferredWork(mInitPProcJob)) { in takeBackendPic_internal()
5738 if (rc != NO_ERROR) { in takeBackendPic_internal()
5745 if (rc != NO_ERROR) { in takeBackendPic_internal()
5774 int rc = NO_ERROR; in clearIntPendingEvents()
5811 int rc = NO_ERROR; in takeLiveSnapshot_internal()
5824 if (rc != NO_ERROR) { in takeLiveSnapshot_internal()
5901 if (NO_ERROR != waitDeferredWork(mReprocJob)) { in takeLiveSnapshot_internal()
5921 if (rc != NO_ERROR) { in takeLiveSnapshot_internal()
5923 if (NO_ERROR != waitDeferredWork(mReprocJob)) { in takeLiveSnapshot_internal()
5926 if (NO_ERROR != waitDeferredWork(mJpegJob)) { in takeLiveSnapshot_internal()
5950 if (rc != NO_ERROR) { in takeLiveSnapshot_internal()
5958 if ((rc == NO_ERROR) && (NULL != pChannel)) { in takeLiveSnapshot_internal()
5992 if (NO_ERROR != rc) { in takeLiveSnapshot_internal()
5998 if (NO_ERROR != rc) { in takeLiveSnapshot_internal()
6007 if (rc != NO_ERROR) { in takeLiveSnapshot_internal()
6027 int rc = NO_ERROR; in cancelLiveSnapshot()
6052 int rc = NO_ERROR; in cancelLiveSnapshot_internal()
6086 if (rc != NO_ERROR) { in cancelLiveSnapshot_internal()
6111 return NO_ERROR; in putParameters()
6131 int rc = NO_ERROR; in sendCommand()
6220 rc = NO_ERROR; in sendCommand()
6244 int rc = NO_ERROR; in registerFaceImage()
6291 if (rc != NO_ERROR) { in registerFaceImage()
6340 return NO_ERROR; in release()
6367 return NO_ERROR; in dump()
6427 int rc = NO_ERROR; in processSyncEvt()
6431 if (rc == NO_ERROR) { in processSyncEvt()
6562 return NO_ERROR; in thermalEvtHandle()
6640 return NO_ERROR; in processAEInfo()
6656 return NO_ERROR; in processFocusPositionInfo()
6673 int32_t ret = NO_ERROR; in processAutoFocusEvent()
6823 int32_t ret = NO_ERROR; in processZoomEvent()
6846 int rc = NO_ERROR; in processZSLCaptureDone()
6868 int rc = NO_ERROR; in processRetroAECUnlock()
6872 if (NO_ERROR != rc) { in processRetroAECUnlock()
6878 if (NO_ERROR != rc) { in processRetroAECUnlock()
6902 int rc = NO_ERROR; in processHDRData()
6948 if (rc != NO_ERROR) { in processHDRData()
6976 int32_t rc = NO_ERROR; in processLEDCalibration()
7011 if (rc != NO_ERROR) { in processLEDCalibration()
7038 return NO_ERROR; in transAwbMetaToParams()
7057 int32_t ret = NO_ERROR; in processPrepSnapshotDoneEvent()
7119 if (rc != NO_ERROR) { in processASDUpdate()
7125 return NO_ERROR; in processASDUpdate()
7195 int32_t ret = NO_ERROR; in processCameraControl()
7201 if (ret != NO_ERROR) { in processCameraControl()
7242 int32_t ret = NO_ERROR; in switchCameraCb()
7248 if (ret != NO_ERROR) { in switchCameraCb()
7256 if (ret == NO_ERROR) { in switchCameraCb()
7392 int32_t rc = NO_ERROR; in prepareRawStream()
7457 int32_t rc = NO_ERROR; in getPaddingInfo()
7469 if (rc != NO_ERROR) { in getPaddingInfo()
7512 int32_t rc = NO_ERROR; in addStreamToChannel()
7553 if (rc != NO_ERROR) { in addStreamToChannel()
7572 if (rc != NO_ERROR) { in addStreamToChannel()
7594 int32_t rc = NO_ERROR; in addPreviewChannel()
7615 if (rc != NO_ERROR) { in addPreviewChannel()
7624 if (rc != NO_ERROR) { in addPreviewChannel()
7647 if (rc != NO_ERROR) { in addPreviewChannel()
7659 if (rc != NO_ERROR) { in addPreviewChannel()
7671 if ( rc != NO_ERROR ) { in addPreviewChannel()
7678 if (rc != NO_ERROR) { in addPreviewChannel()
7701 int32_t rc = NO_ERROR; in addVideoChannel()
7740 if (rc != NO_ERROR) { in addVideoChannel()
7765 int32_t rc = NO_ERROR; in addSnapshotChannel()
7790 if (rc != NO_ERROR) { in addSnapshotChannel()
7798 if (rc != NO_ERROR) { in addSnapshotChannel()
7821 int32_t rc = NO_ERROR; in addRawChannel()
7846 if (rc != NO_ERROR) { in addRawChannel()
7853 if (rc != NO_ERROR) { in addRawChannel()
7864 if (rc != NO_ERROR) { in addRawChannel()
7881 if (rc != NO_ERROR) { in addRawChannel()
7904 int32_t rc = NO_ERROR; in addZSLChannel()
7960 if (rc != NO_ERROR) { in addZSLChannel()
7977 if (rc != NO_ERROR) { in addZSLChannel()
7985 if (rc != NO_ERROR) { in addZSLChannel()
7994 if (rc != NO_ERROR) { in addZSLChannel()
8008 if (rc != NO_ERROR) { in addZSLChannel()
8035 int32_t rc = NO_ERROR; in addCaptureChannel()
8067 if (rc != NO_ERROR) { in addCaptureChannel()
8076 if (rc != NO_ERROR) { in addCaptureChannel()
8085 if (rc != NO_ERROR) { in addCaptureChannel()
8098 if (rc != NO_ERROR) { in addCaptureChannel()
8108 if (rc != NO_ERROR) { in addCaptureChannel()
8126 if (rc != NO_ERROR) { in addCaptureChannel()
8150 int32_t rc = NO_ERROR; in addMetaDataChannel()
8168 if (rc != NO_ERROR) { in addMetaDataChannel()
8176 if (rc != NO_ERROR) { in addMetaDataChannel()
8199 int32_t rc = NO_ERROR; in addCallbackChannel()
8215 if (rc != NO_ERROR) { in addCallbackChannel()
8224 if (rc != NO_ERROR) { in addCallbackChannel()
8248 int32_t rc = NO_ERROR; in addAnalysisChannel()
8264 if (rc != NO_ERROR) { in addAnalysisChannel()
8272 if (rc != NO_ERROR) { in addAnalysisChannel()
8300 int32_t rc = NO_ERROR; in getPPConfig()
8537 int32_t rc = NO_ERROR; in addReprocChannel()
8561 if (rc != NO_ERROR) { in addReprocChannel()
8573 if (rc != NO_ERROR){ in addReprocChannel()
8653 if (rc != NO_ERROR) { in addReprocChannel()
8681 int32_t rc = NO_ERROR; in addOfflineReprocChannel()
8692 if (rc != NO_ERROR) { in addOfflineReprocChannel()
8724 if (rc != NO_ERROR) { in addOfflineReprocChannel()
8807 return NO_ERROR; in delChannel()
8867 int32_t rc = NO_ERROR; in preparePreview()
8871 if (rc != NO_ERROR) { in preparePreview()
8883 if (rc != NO_ERROR) { in preparePreview()
8893 if (rc != NO_ERROR) { in preparePreview()
8931 if (rc != NO_ERROR) { in preparePreview()
8937 if (rc != NO_ERROR) { in preparePreview()
8945 if (!isRdiMode() && (rc != NO_ERROR)) { in preparePreview()
8957 if (rc != NO_ERROR) { in preparePreview()
8969 if (NO_ERROR != rc) { in preparePreview()
8975 if ((rc != NO_ERROR) && (isDualCamera())) { in preparePreview()
9088 return NO_ERROR; in processFaceDetectionResult()
9101 return NO_ERROR; in processFaceDetectionResult()
9106 return NO_ERROR; in processFaceDetectionResult()
9175 if (rc != NO_ERROR) { in processFaceDetectionResult()
9358 if (rc != NO_ERROR) { in processFaceDetectionResult()
9431 return NO_ERROR; in processHistogramStats()
9485 if (rc != NO_ERROR) { in processHistogramStats()
9490 return NO_ERROR; in processHistogramStats()
9643 return NO_ERROR; in calcThermalLevel()
9677 return NO_ERROR; in recalcFPSRange()
9694 int ret = NO_ERROR; in updateThermalLevel()
9705 return NO_ERROR; in updateThermalLevel()
9751 int rc = NO_ERROR; in updateParameters()
9782 int rc = NO_ERROR; in commitParameterChanges()
9784 if (rc == NO_ERROR) { in commitParameterChanges()
10002 int32_t rc = NO_ERROR; in getExifData()
10007 if(rc == NO_ERROR) { in getExifData()
10026 if (rc == NO_ERROR) { in getExifData()
10048 if(rc == NO_ERROR) { in getExifData()
10060 if(rc == NO_ERROR) { in getExifData()
10076 if(rc == NO_ERROR) { in getExifData()
10093 if(rc == NO_ERROR) { in getExifData()
10110 if(rc == NO_ERROR) { in getExifData()
10512 if (ret != NO_ERROR) { in deferredWorkRoutine()
10522 if (pme->m_postprocessor.start(pChannel) != NO_ERROR) { in deferredWorkRoutine()
10533 if (ret != NO_ERROR) { in deferredWorkRoutine()
10565 if (ret != NO_ERROR) { in deferredWorkRoutine()
10572 != NO_ERROR) { in deferredWorkRoutine()
10582 int32_t rc = NO_ERROR; in deferredWorkRoutine()
10598 if (rc != NO_ERROR) { in deferredWorkRoutine()
10622 if (rc != NO_ERROR) { in deferredWorkRoutine()
10667 int32_t rc = NO_ERROR; in deferredWorkRoutine()
10675 if (rc != NO_ERROR) { in deferredWorkRoutine()
10685 if (rc != NO_ERROR) { in deferredWorkRoutine()
10868 return NO_ERROR; in initJpegHandle()
10881 int32_t rc = NO_ERROR; in deinitJpegHandle()
10886 if (rc != NO_ERROR) { in deinitJpegHandle()
10922 return NO_ERROR; in setJpegHandleInfo()
10948 if (NO_ERROR != waitDeferredWork(mInitPProcJob)) { in getJpegHandleInfo()
10959 return NO_ERROR; in getJpegHandleInfo()
10983 if (jobStatus != NO_ERROR) { in dequeueDeferredWork()
10993 return NO_ERROR; in dequeueDeferredWork()
11016 if ( NO_ERROR != mDefOngoingJobs[i].mDefJobStatus ) { in getDefJobStatus()
11021 return NO_ERROR; in getDefJobStatus()
11024 return NO_ERROR; in getDefJobStatus()
11044 return (NO_ERROR == mDefOngoingJobs[i].mDefJobStatus); in checkDeferredWork()
11068 return NO_ERROR; in waitDeferredWork()
11277 int32_t rc = NO_ERROR; in startRAWChannel()
11297 if (NO_ERROR != rc) { in startRAWChannel()
11320 int32_t rc = NO_ERROR; in stopRAWChannel()
11403 if (rc != NO_ERROR) { in fillDualCameraFOVControl()