/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | picture_napi.cpp | 567 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 D | auxiliary_picture_napi.cpp | 451 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 D | pixel_map_napi.cpp | 1512 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 D | image_creator_napi.cpp | 236 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 D | image_receiver_napi.cpp | 317 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 D | image_napi_utils.cpp | 240 napi_value ImageNapiUtils::ThrowExceptionError(napi_env env, const int32_t errCode, in ThrowExceptionError() function in OHOS::Media::ImageNapiUtils
|
H A D | image_source_napi.cpp | 2092 …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 D | image_napi.cpp | 726 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 D | metadata_napi.cpp | 570 …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 D | sendable_pixel_map_napi.cpp | 1128 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 D | sendable_image_receiver_napi.cpp | 315 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 D | sendable_image_napi.cpp | 710 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 D | picture_napi.h | 54 static napi_value ThrowExceptionError(napi_env env,
|
H A D | pixel_map_napi.h | 100 static napi_value ThrowExceptionError(napi_env env,
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/include/ |
H A D | image_napi_utils.h | 158 …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 D | sendable_pixel_map_napi.h | 82 static napi_value ThrowExceptionError(napi_env env,
|