Lines Matching refs:OK
75 if (res != OK) { in initialize()
83 if (res != OK) { in initialize()
146 return OK; in initialize()
459 return OK; in connect()
471 return OK; in lock()
480 return OK; in lock()
500 return OK; in unlock()
514 if ( (res = checkPid(__FUNCTION__) ) != OK) return res; in setPreviewTarget()
560 if (res != OK) { in setPreviewWindowL()
571 if (res != OK) { in setPreviewWindowL()
583 return OK; in setPreviewWindowL()
591 if ( checkPid(__FUNCTION__) != OK) return; in setPreviewCallbackFlag()
598 status_t res = OK; in setPreviewCallbackFlagL()
625 if (res != OK) { in setPreviewCallbackFlagL()
637 if (res != OK) { in setPreviewCallbackFlagL()
652 if ( (res = checkPid(__FUNCTION__) ) != OK) return res; in setPreviewCallbackTarget()
660 if (res != OK) { in setPreviewCallbackTarget()
689 if (res != OK) { in setPreviewCallbackTarget()
695 return OK; in setPreviewCallbackTarget()
704 if ( (res = checkPid(__FUNCTION__) ) != OK) return res; in startPreview()
722 return OK; in startPreviewL()
733 return OK; in startPreviewL()
739 if (res != OK) { in startPreviewL()
756 if (res != OK) { in startPreviewL()
775 if (res != OK) { in startPreviewL()
781 if (res != OK) { in startPreviewL()
790 if (res != OK) { in startPreviewL()
804 if (res != OK) { in startPreviewL()
812 if (res != OK) { in startPreviewL()
825 if (res != OK) { in startPreviewL()
837 if (res != OK) { in startPreviewL()
847 if (res != OK) { in startPreviewL()
854 return OK; in startPreviewL()
862 if ( (res = checkPid(__FUNCTION__) ) != OK) return; in stopPreview()
889 if (res != OK) { in stopPreviewL()
894 if (res != OK) { in stopPreviewL()
915 if ( (res = checkPid(__FUNCTION__) ) != OK) return false; in previewEnabled()
925 if ( (res = checkPid(__FUNCTION__) ) != OK) return res; in storeMetaDataInBuffers()
942 return OK; in storeMetaDataInBuffers()
950 if ( (res = checkPid(__FUNCTION__) ) != OK) return res; in startRecording()
964 if (res != OK) return res; in startRecordingL()
973 if (!restart) return OK; in startRecordingL()
992 if (res != OK) { in startRecordingL()
1005 if (res != OK) { in startRecordingL()
1011 if (res != OK) { in startRecordingL()
1026 if (res != OK) { in startRecordingL()
1038 if (res != OK) { in startRecordingL()
1048 return OK; in startRecordingL()
1058 if ( (res = checkPid(__FUNCTION__) ) != OK) return; in stopRecording()
1078 if (res != OK) { in stopRecording()
1088 if ( checkPid(__FUNCTION__) != OK) return false; in recordingEnabled()
1104 if ( checkPid(__FUNCTION__) != OK) return; in releaseRecordingFrame()
1114 if ( (res = checkPid(__FUNCTION__) ) != OK) return res; in autoFocus()
1158 return OK; in autoFocus()
1183 return OK; in autoFocus()
1191 if ( (res = checkPid(__FUNCTION__) ) != OK) return res; in cancelAutoFocus()
1199 return OK; in cancelAutoFocus()
1219 return OK; in cancelAutoFocus()
1226 return OK; in cancelAutoFocus()
1233 if ( (res = checkPid(__FUNCTION__) ) != OK) return res; in takePicture()
1248 if (res != OK) { in takePicture()
1269 if (res != OK) { in takePicture()
1283 if (res != OK) { in takePicture()
1296 if ( (res = checkPid(__FUNCTION__) ) != OK) return res; in setParameters()
1301 if (res != OK) return res; in setParameters()
1312 if ( checkPid(__FUNCTION__) != OK) return String8(); in getParameters()
1323 if ( (res = checkPid(__FUNCTION__) ) != OK) return res; in sendCommand()
1360 return OK; in commandStartSmoothZoomL()
1365 return OK; in commandStopSmoothZoomL()
1382 return OK; in commandSetDisplayOrientationL()
1389 return OK; in commandEnableShutterSoundL()
1407 return OK; in commandEnableShutterSoundL()
1412 return OK; in commandPlayRecordingSoundL()
1441 if (l.mParameters.enableFaceDetect) return OK; in commandStartFaceDetectionL()
1451 status_t res = OK; in commandStopFaceDetectionL()
1455 if (!params.enableFaceDetect) return OK; in commandStopFaceDetectionL()
1472 return OK; in commandEnableFocusMoveMsgL()
1479 return OK; in commandPingL()
1685 if (res != OK) { in updateRequests()
1692 if (res != OK) { in updateRequests()
1698 if (res != OK) { in updateRequests()
1706 if (res != OK) { in updateRequests()
1714 if (res != OK) { in updateRequests()
1758 if (activeRequestId == 0) return OK; in syncWithDevice()
1764 } else if (res != OK) { in syncWithDevice()
1799 if (res != OK) { in updateProcessorStream()
1805 if (res != OK) { in updateProcessorStream()
1811 if (res != OK) { in updateProcessorStream()
1818 if (res != OK) { in updateProcessorStream()