Lines Matching refs:NO_ERROR
252 status_t ret = NO_ERROR; in setParameters()
1045 if ( NO_ERROR != ret ) { in setParameters()
1060 if (ret != NO_ERROR) in setParameters()
1074 status_t ret = NO_ERROR; in allocPreviewBufs()
1114 if (ret != NO_ERROR) { in allocPreviewBufs()
1128 status_t ret = NO_ERROR; in freePreviewBufs()
1147 status_t ret = NO_ERROR; in allocPreviewDataBufs()
1154 if ( NO_ERROR == ret ) in allocPreviewDataBufs()
1162 if ( NO_ERROR == ret ) in allocPreviewDataBufs()
1179 if ( NO_ERROR == ret ) in allocPreviewDataBufs()
1199 status_t ret = NO_ERROR; in freePreviewDataBufs()
1203 if ( NO_ERROR == ret ) in freePreviewDataBufs()
1223 status_t ret = NO_ERROR; in allocImageBufs()
1232 return NO_ERROR; in allocImageBufs()
1235 if ( NO_ERROR == ret ) in allocImageBufs()
1252 if ( NO_ERROR == ret ) in allocImageBufs()
1272 status_t ret = NO_ERROR; in allocVideoBufs()
1280 if ( NO_ERROR == ret ){ in allocVideoBufs()
1289 if (ret != NO_ERROR){ in allocVideoBufs()
1345 status_t ret = NO_ERROR; in signalEndImageCapture()
1365 status_t ret = NO_ERROR; in freeImageBufs()
1369 if ( NO_ERROR == ret ) in freeImageBufs()
1394 status_t ret = NO_ERROR; in freeVideoBufs()
1431 status_t ret = NO_ERROR; in startPreview()
1456 if ( NO_ERROR != ret ){ in startPreview()
1475 if ( NO_ERROR != ret ){ in startPreview()
1479 return NO_ERROR; in startPreview()
1488 if ( NO_ERROR == ret ) in startPreview()
1492 if ( NO_ERROR != ret ) in startPreview()
1511 if ( NO_ERROR != ret ) in startPreview()
1523 if ( NO_ERROR != ret ) in startPreview()
1530 if ( NO_ERROR != ret ) { in startPreview()
1535 if ( NO_ERROR == ret ) in startPreview()
1561 if ( NO_ERROR != ret ) in startPreview()
1577 ret = NO_ERROR; in startPreview()
1579 else if ( NO_ERROR == ret ) { in startPreview()
1633 if ( ret != NO_ERROR ) in startPreview()
1646 if(ret!=NO_ERROR) in startPreview()
1689 status_t ret = NO_ERROR; in setPreviewWindow()
1708 return NO_ERROR; in setPreviewWindow()
1714 ret = NO_ERROR; in setPreviewWindow()
1715 if(!mDisplayAdapter.get() || ((ret=mDisplayAdapter->initialize())!=NO_ERROR)) in setPreviewWindow()
1717 if(ret!=NO_ERROR) in setPreviewWindow()
1743 if(ret!=NO_ERROR) in setPreviewWindow()
1757 if ( (NO_ERROR == ret) && previewEnabled() ) { in setPreviewWindow()
1761 ret = NO_ERROR; in setPreviewWindow()
1842 status_t ret = NO_ERROR; in startRecording()
1880 if ( NO_ERROR == ret ) in startRecording()
1889 if ( NO_ERROR != ret ) in startRecording()
1908 if ( NO_ERROR == ret ) in startRecording()
1913 if ( NO_ERROR == ret ) in startRecording()
1919 if ( NO_ERROR == ret ) in startRecording()
1946 status_t ret = NO_ERROR; in setVideoModeParameters()
2025 status_t ret = NO_ERROR; in resetVideoModeParameters()
2060 status_t ret = NO_ERROR; in restartPreview()
2196 status_t ret = NO_ERROR; in autoFocus()
2218 if (ret != NO_ERROR) in autoFocus()
2276 return NO_ERROR; in cancelAutoFocus()
2343 status_t ret = NO_ERROR; in startImageBracketing()
2366 if ( NO_ERROR == ret ) in startImageBracketing()
2371 if ( (NO_ERROR == ret) && ( NULL != mCameraAdapter ) ) in startImageBracketing()
2377 if ( NO_ERROR != ret ) in startImageBracketing()
2383 if ( NO_ERROR == ret ) in startImageBracketing()
2391 if ( NO_ERROR == ret ) in startImageBracketing()
2401 if ( NO_ERROR != ret ) in startImageBracketing()
2407 if ( (NO_ERROR == ret) && ( NULL != mCameraAdapter ) ) in startImageBracketing()
2420 if ( NO_ERROR == ret ) in startImageBracketing()
2442 status_t ret = NO_ERROR; in stopImageBracketing()
2470 status_t ret = NO_ERROR; in takePicture()
2514 if ( NO_ERROR == ret ) in takePicture()
2538 if (NO_ERROR == ret && in takePicture()
2557 if ((NO_ERROR == ret) && (mCameraAdapter->getState() == CameraAdapter::VIDEO_STATE)) { in takePicture()
2565 if ( (NO_ERROR == ret) && (NULL != mCameraAdapter) ) in takePicture()
2567 if ( NO_ERROR == ret ) in takePicture()
2572 if ( NO_ERROR != ret ) in takePicture()
2578 if ( NO_ERROR == ret ) in takePicture()
2588 if ( NO_ERROR != ret ) in takePicture()
2594 if ( (NO_ERROR == ret) && ( NULL != mCameraAdapter ) ) in takePicture()
2608 if ( ( NO_ERROR == ret ) && ( NULL != mCameraAdapter ) ) in takePicture()
2645 return NO_ERROR; in cancelPicture()
2713 status_t ret = NO_ERROR; in sendCommand()
2718 if ( ( NO_ERROR == ret ) && ( NULL == mCameraAdapter ) ) in sendCommand()
2736 return NO_ERROR; in sendCommand()
2740 if ( ( NO_ERROR == ret ) && ( !previewEnabled() )) in sendCommand()
2750 if ( NO_ERROR == ret ) in sendCommand()
2817 return NO_ERROR; in dump()
2984 if ( ( NULL == mCameraAdapter ) || (mCameraAdapter->initialize(properties)!=NO_ERROR)) in initialize()
2999 … if( ( NULL == mAppCallbackNotifier.get() ) || ( mAppCallbackNotifier->initialize() != NO_ERROR)) in initialize()
3010 if( ( NULL == mMemoryManager.get() ) || ( mMemoryManager->initialize() != NO_ERROR)) in initialize()
3034 if(mAppCallbackNotifier->start() != NO_ERROR) in initialize()
3047 if ( setParameters(mParameters) != NO_ERROR ) in initialize()
3055 if (mSensorListener->initialize() == NO_ERROR) { in initialize()
3067 return NO_ERROR; in initialize()
3082 status_t status = NO_ERROR; in isResolutionValid()
3209 return NO_ERROR; in doesSetParameterNeedUpdate()
3214 status_t ret = NO_ERROR; in parseResolution()
3229 if ( NO_ERROR == ret ) in parseResolution()
3245 if ( NO_ERROR == ret ) in parseResolution()
3327 status_t ret = NO_ERROR; in initDefaultParameters()
3334 if ( NO_ERROR == ret ) in initDefaultParameters()
3345 if ( NO_ERROR == ret ) in initDefaultParameters()
3356 if ( NO_ERROR == ret ) in initDefaultParameters()