Home
last modified time | relevance | path

Searched refs:ThrowExceptionError (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dpicture_napi.cpp567 napi_value PictureNapi::ThrowExceptionError(napi_env env, in ThrowExceptionError() function in OHOS::Media::PictureNapi
594 return PictureNapi::ThrowExceptionError(env, in CreatePictureFromParcel()
624 return PictureNapi::ThrowExceptionError(env, in CreatePictureFromParcel()
674 return ImageNapiUtils::ThrowExceptionError( in Marshalling()
679 return ImageNapiUtils::ThrowExceptionError( in Marshalling()
686 return ImageNapiUtils::ThrowExceptionError( in Marshalling()
691 return ImageNapiUtils::ThrowExceptionError( in Marshalling()
696 return ImageNapiUtils::ThrowExceptionError( in Marshalling()
829 return ImageNapiUtils::ThrowExceptionError( in GetMetadata()
886 return ImageNapiUtils::ThrowExceptionError( in SetMetadata()
[all …]
H A Dauxiliary_picture_napi.cpp451 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(status), ImageNapiUtils::ThrowExceptionError(env, in GetMetadata()
457 return ImageNapiUtils::ThrowExceptionError( in GetMetadata()
462 return ImageNapiUtils::ThrowExceptionError( in GetMetadata()
515 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(status), ImageNapiUtils::ThrowExceptionError(env, in SetMetadata()
579 return ImageNapiUtils::ThrowExceptionError( in GetAuxiliaryPictureInfoNapiValue()
584 return ImageNapiUtils::ThrowExceptionError( in GetAuxiliaryPictureInfoNapiValue()
632 ImageNapiUtils::ThrowExceptionError( in ParseColorSpace()
638 ImageNapiUtils::ThrowExceptionError( in ParseColorSpace()
699 IMG_NAPI_CHECK_RET_D(IMG_IS_OK(status), ImageNapiUtils::ThrowExceptionError( in SetAuxiliaryPictureInfo()
710 ImageNapiUtils::ThrowExceptionError(env, IMAGE_BAD_PARAMETER, "Parameter error."), in SetAuxiliaryPictureInfo()
[all …]
H A Dpixel_map_napi.cpp1512 return ImageNapiUtils::ThrowExceptionError( in Unmarshalling()
1533 return ImageNapiUtils::ThrowExceptionError( in Unmarshalling()
3491 return ImageNapiUtils::ThrowExceptionError( in GetColorSpace()
3495 return ImageNapiUtils::ThrowExceptionError( in GetColorSpace()
3504 return ImageNapiUtils::ThrowExceptionError( in GetColorSpace()
3509 return ImageNapiUtils::ThrowExceptionError( in GetColorSpace()
3515 return ImageNapiUtils::ThrowExceptionError( in GetColorSpace()
3530 return ImageNapiUtils::ThrowExceptionError( in SetColorSpace()
3534 return ImageNapiUtils::ThrowExceptionError( in SetColorSpace()
3544 return ImageNapiUtils::ThrowExceptionError( in SetColorSpace()
[all …]
H A Dimage_creator_napi.cpp236 return ImageNapiUtils::ThrowExceptionError(env, COMMON_ERR_INVALID_PARAMETER, in JSCreateImageCreator()
241 return ImageNapiUtils::ThrowExceptionError(env, COMMON_ERR_INVALID_PARAMETER, errMsg); in JSCreateImageCreator()
604 ImageNapiUtils::ThrowExceptionError(env, static_cast<int32_t>(napi_invalid_arg), in JsQueueArgs()
610 ImageNapiUtils::ThrowExceptionError(env, static_cast<int32_t>(napi_invalid_arg), in JsQueueArgs()
621 ImageNapiUtils::ThrowExceptionError(env, static_cast<int32_t>(napi_invalid_arg), in JsQueueArgs()
628 ImageNapiUtils::ThrowExceptionError(env, static_cast<int32_t>(napi_invalid_arg), in JsQueueArgs()
767 ImageNapiUtils::ThrowExceptionError(args.env, static_cast<int32_t>(napi_invalid_arg), in JsOnQueryArgs()
773 ImageNapiUtils::ThrowExceptionError(args.env, static_cast<int32_t>(napi_invalid_arg), in JsOnQueryArgs()
898 ImageNapiUtils::ThrowExceptionError(args.env, static_cast<int32_t>(napi_invalid_arg), in JsOffOneArg()
905 ImageNapiUtils::ThrowExceptionError(args.env, static_cast<int32_t>(napi_invalid_arg), in JsOffOneArg()
[all …]
H A Dimage_receiver_napi.cpp317 return ImageNapiUtils::ThrowExceptionError(env, COMMON_ERR_INVALID_PARAMETER, errMsg); in JSCreateImageReceiver()
321 … return ImageNapiUtils::ThrowExceptionError(env, COMMON_ERR_INVALID_PARAMETER, "Invalid type"); in JSCreateImageReceiver()
874 … ImageNapiUtils::ThrowExceptionError(args.env, static_cast<int32_t>(napi_invalid_arg), in JsOnQueryArgs()
880 … ImageNapiUtils::ThrowExceptionError(args.env, static_cast<int32_t>(napi_invalid_arg), in JsOnQueryArgs()
888 ImageNapiUtils::ThrowExceptionError(args.env, static_cast<int32_t>(napi_invalid_arg), in JsOnQueryArgs()
894 ImageNapiUtils::ThrowExceptionError(args.env, static_cast<int32_t>(napi_invalid_arg), in JsOnQueryArgs()
1025 ImageNapiUtils::ThrowExceptionError(args.env, static_cast<int32_t>(napi_invalid_arg), in JsOffOneArg()
1032 ImageNapiUtils::ThrowExceptionError(args.env, static_cast<int32_t>(napi_invalid_arg), in JsOffOneArg()
1037 ImageNapiUtils::ThrowExceptionError(args.env, static_cast<int32_t>(napi_invalid_arg), in JsOffOneArg()
1042 ImageNapiUtils::ThrowExceptionError(args.env, static_cast<int32_t>(napi_invalid_arg), in JsOffOneArg()
H A Dimage_napi_utils.cpp240 napi_value ImageNapiUtils::ThrowExceptionError(napi_env env, const int32_t errCode, in ThrowExceptionError() function in OHOS::Media::ImageNapiUtils
H A Dimage_source_napi.cpp2092 …return ImageNapiUtils::ThrowExceptionError(env, COMMON_ERR_INVALID_PARAMETER, "async context unwra… in ModifyImageProperty()
2128 …return ImageNapiUtils::ThrowExceptionError(env, COMMON_ERR_INVALID_PARAMETER, "async context unwra… in GetImageProperty()
2488 return ImageNapiUtils::ThrowExceptionError(env, ERR_IMAGE_DATA_ABNORMAL, in CreatePixelMapList()
2574 return ImageNapiUtils::ThrowExceptionError(env, ERR_IMAGE_DATA_ABNORMAL, in GetDelayTime()
2658 return ImageNapiUtils::ThrowExceptionError(env, ERR_IMAGE_DATA_ABNORMAL, in GetDisposalType()
2735 return ImageNapiUtils::ThrowExceptionError(env, ERR_IMAGE_DATA_ABNORMAL, in GetFrameCount()
2914 return ImageNapiUtils::ThrowExceptionError(env, IMAGE_BAD_PARAMETER, in CreatePicture()
H A Dimage_napi.cpp726 return ImageNapiUtils::ThrowExceptionError(env, static_cast<int32_t>(napi_invalid_arg), in JsGetComponent()
731 return ImageNapiUtils::ThrowExceptionError(env, static_cast<int32_t>(napi_invalid_arg), in JsGetComponent()
H A Dmetadata_napi.cpp570 …return ImageNapiUtils::ThrowExceptionError(env, IMAGE_BAD_PARAMETER, "Async context unwrap failed"… in GetProperties()
592 …return ImageNapiUtils::ThrowExceptionError(env, IMAGE_BAD_PARAMETER, "Async context unwrap failed"… in SetProperties()
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/
H A Dsendable_pixel_map_napi.cpp1128 return ImageNapiUtils::ThrowExceptionError( in Unmarshalling()
1139 return ImageNapiUtils::ThrowExceptionError( in Unmarshalling()
1153 return ImageNapiUtils::ThrowExceptionError( in Unmarshalling()
2923 return ImageNapiUtils::ThrowExceptionError( in GetColorSpace()
2927 return ImageNapiUtils::ThrowExceptionError( in GetColorSpace()
2936 return ImageNapiUtils::ThrowExceptionError( in GetColorSpace()
2941 return ImageNapiUtils::ThrowExceptionError( in GetColorSpace()
2947 return ImageNapiUtils::ThrowExceptionError( in GetColorSpace()
2963 return ImageNapiUtils::ThrowExceptionError( in SetColorSpace()
2967 return ImageNapiUtils::ThrowExceptionError( in SetColorSpace()
[all …]
H A Dsendable_image_receiver_napi.cpp315 return ImageNapiUtils::ThrowExceptionError(env, COMMON_ERR_INVALID_PARAMETER, errMsg); in JSCreateImageReceiver()
319 … return ImageNapiUtils::ThrowExceptionError(env, COMMON_ERR_INVALID_PARAMETER, "Invalid type"); in JSCreateImageReceiver()
872 … ImageNapiUtils::ThrowExceptionError(args.env, static_cast<int32_t>(napi_invalid_arg), in JsOnQueryArgs()
878 … ImageNapiUtils::ThrowExceptionError(args.env, static_cast<int32_t>(napi_invalid_arg), in JsOnQueryArgs()
886 ImageNapiUtils::ThrowExceptionError(args.env, static_cast<int32_t>(napi_invalid_arg), in JsOnQueryArgs()
892 ImageNapiUtils::ThrowExceptionError(args.env, static_cast<int32_t>(napi_invalid_arg), in JsOnQueryArgs()
H A Dsendable_image_napi.cpp710 return ImageNapiUtils::ThrowExceptionError(env, static_cast<int32_t>(napi_invalid_arg), in JsGetComponent()
715 return ImageNapiUtils::ThrowExceptionError(env, static_cast<int32_t>(napi_invalid_arg), in JsGetComponent()
/ohos5.0/foundation/multimedia/image_framework/interfaces/kits/js/common/include/
H A Dpicture_napi.h54 static napi_value ThrowExceptionError(napi_env env,
H A Dpixel_map_napi.h100 static napi_value ThrowExceptionError(napi_env env,
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/include/
H A Dimage_napi_utils.h158 …static napi_value ThrowExceptionError(napi_env env, const int32_t errCode, const std::string errMs…
/ohos5.0/foundation/multimedia/image_framework/interfaces/kits/js/common/include/sendable/
H A Dsendable_pixel_map_napi.h82 static napi_value ThrowExceptionError(napi_env env,