Lines Matching refs:STATUS_ERROR

830         return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION,  in createDefaultRequest()
836 return STATUS_ERROR(ERROR_DISCONNECTED, "Camera subsystem is not available"); in createDefaultRequest()
845 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in createDefaultRequest()
893 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, in isSessionConfigurationWithParametersSupported()
899 return STATUS_ERROR(ERROR_DISCONNECTED, "Camera subsystem is not available"); in isSessionConfigurationWithParametersSupported()
908 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in isSessionConfigurationWithParametersSupported()
916 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in isSessionConfigurationWithParametersSupported()
958 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.c_str()); in isSessionConfigurationWithParametersSupportedUnsafe()
966 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in isSessionConfigurationWithParametersSupportedUnsafe()
977 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in isSessionConfigurationWithParametersSupportedUnsafe()
993 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in getSessionCharacteristics()
999 return STATUS_ERROR(ERROR_DISCONNECTED, "Camera subsystem is not available"); in getSessionCharacteristics()
1008 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in getSessionCharacteristics()
1036 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in getSessionCharacteristics()
1054 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.c_str()); in getSessionCharacteristics()
1064 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in getSessionCharacteristics()
1075 return STATUS_ERROR(CameraService::ERROR_INVALID_OPERATION, msg.c_str()); in getSessionCharacteristics()
1155 return STATUS_ERROR(ERROR_PERMISSION_DENIED, in injectSessionParams()
1162 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, in injectSessionParams()
1217 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in getCameraInfo()
1227 return STATUS_ERROR(ERROR_DISCONNECTED, in getCameraInfo()
1237 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, in getCameraInfo()
1295 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, "cameraInfo is NULL"); in getCameraCharacteristics()
1301 return STATUS_ERROR(ERROR_DISCONNECTED, in getCameraCharacteristics()
1311 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in getCameraCharacteristics()
1353 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in getTorchStrengthLevel()
1359 return STATUS_ERROR(ERROR_DISCONNECTED, "Camera HAL couldn't be initialized."); in getTorchStrengthLevel()
1364 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, "Strength level should not be null."); in getTorchStrengthLevel()
1390 return STATUS_ERROR(ERROR_DISCONNECTED, "Camera subsystem not available"); in getCameraVendorTagDescriptor()
1404 return STATUS_ERROR(ERROR_DISCONNECTED, in getCameraVendorTagCache()
1458 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, in filterGetInfoErrorCode()
1461 return STATUS_ERROR(ERROR_DISCONNECTED, in filterGetInfoErrorCode()
1631 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, "Parameters must not be null"); in getLegacyParametersLazy()
1680 return STATUS_ERROR(ERROR_INVALID_OPERATION, "Unable to initialize legacy parameters"); in getLegacyParametersLazy()
2149 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in connect()
2262 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in connectDevice()
2272 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in connectDevice()
2286 return STATUS_ERROR(ERROR_DISABLED, msg.c_str()); in connectDevice()
2298 return STATUS_ERROR(ERROR_PERMISSION_DENIED, msg.c_str()); in connectDevice()
2835 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, in turnOnTorchWithStrengthLevel()
2846 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in turnOnTorchWithStrengthLevel()
2939 return STATUS_ERROR(errorCode, msg.c_str()); in turnOnTorchWithStrengthLevel()
2972 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, in setTorchMode()
2983 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in setTorchMode()
3072 return STATUS_ERROR(errorCode, msg.c_str()); in setTorchMode()
3261 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, "concurrentCameraIds is NULL"); in getConcurrentCameraIds()
3267 return STATUS_ERROR(ERROR_DISCONNECTED, in getConcurrentCameraIds()
3316 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, "isSupported is NULL"); in isConcurrentSessionConfigurationSupported()
3321 return STATUS_ERROR(ERROR_DISCONNECTED, in isConcurrentSessionConfigurationSupported()
3332 return STATUS_ERROR(CameraService::ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in isConcurrentSessionConfigurationSupported()
3345 return STATUS_ERROR(ERROR_PERMISSION_DENIED, in isConcurrentSessionConfigurationSupported()
3384 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, "Null listener given to addListener"); in addListenerHelper()
3399 return STATUS_ERROR(ERROR_ALREADY_EXISTS, "Listener already registered"); in addListenerHelper()
3412 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in addListenerHelper()
3501 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, "Null listener given to removeListener"); in removeListener()
3521 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, "Unregistered listener given to removeListener"); in removeListener()
3531 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, "Parameters must not be null"); in getLegacyParameters()
3562 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in supportsCameraApi()
3573 return STATUS_ERROR(ERROR_ILLEGAL_ARGUMENT, msg.c_str()); in supportsCameraApi()
3605 return STATUS_ERROR(ERROR_INVALID_OPERATION, msg.c_str()); in supportsCameraApi()
3636 return STATUS_ERROR(ERROR_PERMISSION_DENIED, in injectCamera()
3644 return STATUS_ERROR(ICameraInjectionCallback::ERROR_INJECTION_UNSUPPORTED, in injectCamera()
3650 return STATUS_ERROR(ICameraInjectionCallback::ERROR_INJECTION_UNSUPPORTED, in injectCamera()
5292 return STATUS_ERROR(ICameraInjectionCallback::ERROR_INJECTION_SERVICE, in stopInjection()
5304 return STATUS_ERROR(ICameraInjectionCallback::ERROR_INJECTION_SESSION, in stopInjection()