Lines Matching refs:NO_ERROR
351 status_t ret = NO_ERROR; in setParameters()
1242 if (done == NO_ERROR) mTunnelSetup = true; in setParameters()
1280 if ( NO_ERROR != ret ) { in setParameters()
1297 if (ret == NO_ERROR) { in setParameters()
1308 if (ret != NO_ERROR) in setParameters()
1322 status_t ret = NO_ERROR; in allocPreviewBufs()
1354 if (ret != NO_ERROR) { in allocPreviewBufs()
1366 status_t ret = NO_ERROR; in freePreviewBufs()
1384 status_t ret = NO_ERROR; in allocPreviewDataBufs()
1391 if ( NO_ERROR == ret ) in allocPreviewDataBufs()
1399 if ( NO_ERROR == ret ) in allocPreviewDataBufs()
1416 if ( NO_ERROR == ret ) in allocPreviewDataBufs()
1436 status_t ret = NO_ERROR; in freePreviewDataBufs()
1440 if ( NO_ERROR == ret ) in freePreviewDataBufs()
1460 status_t ret = NO_ERROR; in allocImageBufs()
1467 return NO_ERROR; in allocImageBufs()
1470 if ( NO_ERROR == ret ) { in allocImageBufs()
1482 if ( NO_ERROR == ret ) { in allocImageBufs()
1501 status_t ret = NO_ERROR; in allocVideoBufs()
1509 if ( NO_ERROR == ret ){ in allocVideoBufs()
1520 if (ret != NO_ERROR){ in allocVideoBufs()
1551 status_t ret = NO_ERROR; in allocRawBufs()
1558 if (NO_ERROR == ret) { in allocRawBufs()
1565 if ( NO_ERROR == ret ) { in allocRawBufs()
1578 if ( NO_ERROR == ret ) { in allocRawBufs()
1618 status_t ret = NO_ERROR; in signalEndImageCapture()
1645 status_t ret = NO_ERROR; in freeImageBufs()
1668 status_t ret = NO_ERROR; in freeVideoBufs()
1694 status_t ret = NO_ERROR; in freeRawBufs()
1698 if ( NO_ERROR == ret ) { in freeRawBufs()
1765 if ( ret != NO_ERROR ) { in startPreview()
1787 if(ret!=NO_ERROR) { in startPreview()
1829 status_t ret = NO_ERROR; in cameraPreviewInitialization()
1842 return NO_ERROR; in cameraPreviewInitialization()
1857 if ( NO_ERROR != ret ){ in cameraPreviewInitialization()
1872 if ( NO_ERROR != ret ){ in cameraPreviewInitialization()
1876 return NO_ERROR; in cameraPreviewInitialization()
1885 if ( NO_ERROR == ret ) in cameraPreviewInitialization()
1889 if ( NO_ERROR != ret ) in cameraPreviewInitialization()
1909 if ( NO_ERROR != ret ) in cameraPreviewInitialization()
1921 if ( NO_ERROR != ret ) in cameraPreviewInitialization()
1928 if ( NO_ERROR != ret ) { in cameraPreviewInitialization()
1933 if ( NO_ERROR == ret ) in cameraPreviewInitialization()
1959 if ( NO_ERROR != ret ) in cameraPreviewInitialization()
1973 ret = NO_ERROR; in cameraPreviewInitialization()
1975 else if ( NO_ERROR == ret ) { in cameraPreviewInitialization()
1985 if (ret == NO_ERROR) mPreviewInitializationDone = true; in cameraPreviewInitialization()
2023 status_t ret = NO_ERROR; in setPreviewWindow()
2042 return NO_ERROR; in setPreviewWindow()
2051 ret = NO_ERROR; in setPreviewWindow()
2052 if(!mDisplayAdapter.get() || ((ret=mDisplayAdapter->initialize())!=NO_ERROR)) in setPreviewWindow()
2054 if(ret!=NO_ERROR) in setPreviewWindow()
2080 if(ret!=NO_ERROR) in setPreviewWindow()
2094 if ( (NO_ERROR == ret) && previewEnabled() ) { in setPreviewWindow()
2098 ret = NO_ERROR; in setPreviewWindow()
2127 status_t ret = NO_ERROR; in setTapoutLocked()
2135 return NO_ERROR; in setTapoutLocked()
2151 ret = NO_ERROR; in setTapoutLocked()
2159 if (ret != NO_ERROR) { in setTapoutLocked()
2177 if(ret != NO_ERROR) { in setTapoutLocked()
2192 if (NO_ERROR != ret) { in setTapoutLocked()
2195 if (NO_ERROR == ret) { in setTapoutLocked()
2233 status_t ret = NO_ERROR; in releaseTapoutLocked()
2241 return NO_ERROR; in releaseTapoutLocked()
2246 if (NO_ERROR != ret) { in releaseTapoutLocked()
2285 status_t ret = NO_ERROR; in setTapinLocked()
2293 return NO_ERROR; in setTapinLocked()
2308 ret = NO_ERROR; in setTapinLocked()
2316 if (ret != NO_ERROR) { in setTapinLocked()
2334 if(ret != NO_ERROR) { in setTapinLocked()
2360 status_t ret = NO_ERROR; in releaseTapinLocked()
2368 return NO_ERROR; in releaseTapinLocked()
2373 if (NO_ERROR != ret) { in releaseTapinLocked()
2416 status_t ret = NO_ERROR; in setBufferSource()
2426 if (ret != NO_ERROR) { in setBufferSource()
2432 if (ret != NO_ERROR) { in setBufferSource()
2459 status_t ret = NO_ERROR; in releaseBufferSource()
2468 if (ret != NO_ERROR) { in releaseBufferSource()
2475 if (ret != NO_ERROR) { in releaseBufferSource()
2560 status_t ret = NO_ERROR; in startRecording()
2602 if ( NO_ERROR == ret ) in startRecording()
2611 if ( NO_ERROR != ret ) in startRecording()
2630 if ( NO_ERROR == ret ) in startRecording()
2635 if ( NO_ERROR == ret ) in startRecording()
2641 if ( NO_ERROR == ret ) in startRecording()
2749 status_t ret = NO_ERROR; in resetVideoModeParameters()
2782 status_t ret = NO_ERROR; in restartPreview()
2911 status_t ret = NO_ERROR; in autoFocus()
2933 if (ret != NO_ERROR) in autoFocus()
2991 return NO_ERROR; in cancelAutoFocus()
3038 status_t ret = NO_ERROR; in startImageBracketing()
3064 if ( NO_ERROR == ret ) in startImageBracketing()
3069 if ( (NO_ERROR == ret) && ( NULL != mCameraAdapter ) ) in startImageBracketing()
3075 if ( NO_ERROR != ret ) in startImageBracketing()
3081 if ( NO_ERROR == ret ) in startImageBracketing()
3089 if ( NO_ERROR == ret ) in startImageBracketing()
3099 if ( NO_ERROR != ret ) in startImageBracketing()
3105 if ( (NO_ERROR == ret) && ( NULL != mCameraAdapter ) ) in startImageBracketing()
3118 if ( NO_ERROR == ret ) in startImageBracketing()
3140 status_t ret = NO_ERROR; in stopImageBracketing()
3187 status_t ret = NO_ERROR; in __takePicture()
3340 if ((burst == -1) && (NO_ERROR == ret)) { in __takePicture()
3377 if ( (NO_ERROR == ret) && (NULL != mDisplayAdapter.get()) ) { in __takePicture()
3394 if ((NO_ERROR == ret) && (mCameraAdapter->getState() == CameraAdapter::VIDEO_STATE)) { in __takePicture()
3402 if ( (NO_ERROR == ret) && (NULL != mCameraAdapter) ) in __takePicture()
3404 if ( NO_ERROR == ret ) in __takePicture()
3409 if ( NO_ERROR != ret ) in __takePicture()
3427 if (NO_ERROR != ret) { in __takePicture()
3441 if ( NO_ERROR == ret ) { in __takePicture()
3448 if ( NO_ERROR != ret ) { in __takePicture()
3461 if ( (NO_ERROR == ret) && ( NULL != mCameraAdapter ) ) in __takePicture()
3474 if ( NO_ERROR == ret ) { in __takePicture()
3481 if ( NO_ERROR != ret ) { in __takePicture()
3486 if ((NO_ERROR == ret) && ( NULL != mCameraAdapter )) { in __takePicture()
3506 if ((ret == NO_ERROR) && mBufferSourceAdapter_Out.get()) { in __takePicture()
3510 if ((NO_ERROR == ret) && (NULL != mCameraAdapter)) { in __takePicture()
3543 status_t ret = NO_ERROR; in cancelPicture()
3546 return NO_ERROR; in cancelPicture()
3628 status_t ret = NO_ERROR; in reprocess()
3709 if (ret != NO_ERROR) { in reprocess()
3722 if (ret != NO_ERROR) { in reprocess()
3741 status_t ret = NO_ERROR; in cancel_reprocess()
3744 return NO_ERROR; in cancel_reprocess()
3764 status_t ret = NO_ERROR; in sendCommand()
3768 if ( ( NO_ERROR == ret ) && ( NULL == mCameraAdapter ) ) in sendCommand()
3807 if ( NO_ERROR == ret ) in sendCommand()
3900 return NO_ERROR; in dump()
4096 if ( ( NULL == mCameraAdapter ) || (mCameraAdapter->initialize(properties)!=NO_ERROR)) in initialize()
4111 … if( ( NULL == mAppCallbackNotifier.get() ) || ( mAppCallbackNotifier->initialize() != NO_ERROR)) in initialize()
4122 if( ( NULL == mMemoryManager.get() ) || ( mMemoryManager->initialize() != NO_ERROR)) in initialize()
4146 if(mAppCallbackNotifier->start() != NO_ERROR) in initialize()
4159 if ( setParameters(mParameters) != NO_ERROR ) in initialize()
4167 if (mSensorListener->initialize() == NO_ERROR) { in initialize()
4179 return NO_ERROR; in initialize()
4194 status_t status = NO_ERROR; in isResolutionValid()
4329 return NO_ERROR; in doesSetParameterNeedUpdate()
4334 status_t ret = NO_ERROR; in parseResolution()
4363 if ( NO_ERROR == ret ) in parseResolution()
4459 status_t ret = NO_ERROR; in initDefaultParameters()
4469 if ( NO_ERROR == ret ) in initDefaultParameters()
4480 if ( NO_ERROR == ret ) in initDefaultParameters()
4491 if ( NO_ERROR == ret ) in initDefaultParameters()