Home
last modified time | relevance | path

Searched refs:ParseArgGetPhotoAsset (Results 1 - 3 of 3) sorted by relevance

/foundation/multimedia/media_library/interfaces/kits/js/include/
H A Dcloud_enhancement_napi.h69 static napi_status ParseArgGetPhotoAsset(napi_env env, napi_value arg, int &fileId, std::string &uri,
/foundation/multimedia/media_library/frameworks/js/src/
H A Dcloud_enhancement_napi.cpp404 napi_status CloudEnhancementNapi::ParseArgGetPhotoAsset(napi_env env, napi_value arg, int &fileId, std::string &uri, in ParseArgGetPhotoAsset() function in OHOS::Media::CloudEnhancementNapi
408 NapiError::ThrowError(env, OHOS_INVALID_PARAM_CODE, "ParseArgGetPhotoAsset failed to get photoAsset"); in ParseArgGetPhotoAsset()
526 if (CloudEnhancementNapi::ParseArgGetPhotoAsset(env, context->argv[PARAM0], context->fileId, context->photoUri, in ParseArgPrioritize()
528 NAPI_ERR_LOG("requestMedia ParseArgGetPhotoAsset error"); in ParseArgPrioritize()
529 NapiError::ThrowError(env, OHOS_INVALID_PARAM_CODE, "requestMedia ParseArgGetPhotoAsset error"); in ParseArgPrioritize()
745 if (CloudEnhancementNapi::ParseArgGetPhotoAsset(env, context->argv[PARAM0], context->fileId, context->photoUri, in ParseArgQuery()
747 NAPI_ERR_LOG("requestMedia ParseArgGetPhotoAsset error"); in ParseArgQuery()
748 NapiError::ThrowError(env, OHOS_INVALID_PARAM_CODE, "requestMedia ParseArgGetPhotoAsset error"); in ParseArgQuery()
H A Dmedia_asset_manager_napi.cpp502 napi_status ParseArgGetPhotoAsset(napi_env env, napi_value arg, int &fileId, std::string &uri, in ParseArgGetPhotoAsset() function
506 NapiError::ThrowError(env, OHOS_INVALID_PARAM_CODE, "ParseArgGetPhotoAsset failed to get photoAsset"); in ParseArgGetPhotoAsset()
665 if (ParseArgGetPhotoAsset(env, asyncContext->argv[PARAM1], asyncContext->fileId, asyncContext->photoUri, in ParseRequestMediaArgs()
667 NAPI_ERR_LOG("requestMedia ParseArgGetPhotoAsset error"); in ParseRequestMediaArgs()
668 NapiError::ThrowError(env, OHOS_INVALID_PARAM_CODE, "requestMedia ParseArgGetPhotoAsset error"); in ParseRequestMediaArgs()
717 if (ParseArgGetPhotoAsset(env, asyncContext->argv[PARAM1], asyncContext->fileId, asyncContext->photoUri, in ParseEfficentRequestMediaArgs()
719 NAPI_ERR_LOG("requestMedia ParseArgGetPhotoAsset error"); in ParseEfficentRequestMediaArgs()
720 NapiError::ThrowError(env, OHOS_INVALID_PARAM_CODE, "requestMedia ParseArgGetPhotoAsset error"); in ParseEfficentRequestMediaArgs()

Completed in 6 milliseconds