Searched refs:retVal (Results 1 – 6 of 6) sorted by relevance
112 int32_t retVal = 0; in registerCallbacks() local114 return retVal; in registerCallbacks()137 int32_t retVal = 0; in initFlash() local159 retVal = -EINVAL; in initFlash()164 retVal = -EBUSY; in initFlash()176 retVal = -EBUSY; in initFlash()180 retVal = ioctl(m_flashFds[camera_id], in initFlash()183 if (retVal < 0) { in initFlash()193 return retVal; in initFlash()214 int32_t retVal = 0; in setFlashMode() local[all …]
391 int retVal(0); in setTorchMode() local405 retVal = -EINVAL; in setTorchMode()408 retVal = flash.initFlash(cameraIdInt); in setTorchMode()410 if (retVal == 0) { in setTorchMode()411 retVal = flash.setFlashMode(cameraIdInt, on); in setTorchMode()412 if ((retVal == 0) && (mCallbacks != NULL)) { in setTorchMode()416 } else if (retVal == -EALREADY) { in setTorchMode()418 retVal = 0; in setTorchMode()423 retVal = flash.setFlashMode(cameraIdInt, on); in setTorchMode()425 if (retVal == 0) { in setTorchMode()[all …]
38 status_t retVal = NO_ERROR; in setPreviewWindow() local49 return retVal; in setPreviewWindow()
67 #define setErrorReturn(error, retVal) \ argument70 return setErrorFunc(error, retVal); \80 #define setErrorReturn(error, retVal) return setErrorFunc(error, retVal); argument
1813 status_t retVal = NO_ERROR; in startPreview() local1831 retVal = startPreview2(); in startPreview()1832 if(retVal == NO_ERROR) in startPreview()1846 retVal = UNKNOWN_ERROR; in startPreview()1849 return retVal; in startPreview()2804 status_t retVal = NO_ERROR; in setPreviewWindow() local2817 retVal = startPreview2(); in setPreviewWindow()2818 if(retVal == NO_ERROR) in setPreviewWindow()2837 retVal = UNKNOWN_ERROR; in setPreviewWindow()2841 return retVal; in setPreviewWindow()
533 bool retVal = FALSE; in isValidDimension() local552 retVal = TRUE; in isValidDimension()557 return retVal; in isValidDimension()