Home
last modified time | relevance | path

Searched refs:DlpNapiThrow (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/security/dlp_permission_service/interfaces/kits/napi_common/src/
H A Dnapi_common.cpp401 void DlpNapiThrow(napi_env env, int32_t nativeErrCode) in DlpNapiThrow() function
407 void DlpNapiThrow(napi_env env, int32_t jsErrCode, const std::string &jsErrMsg) in DlpNapiThrow() function
415 DlpNapiThrow(env, ERR_JS_PARAMETER_ERROR, msg); in ThrowParamError()
607 DlpNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg); in NapiCheckArgc()
708 DlpNapiThrow(env, ERR_JS_INVALID_PARAMETER, GetJsErrMsg(ERR_JS_INVALID_PARAMETER)); in GetIsDlpFileParams()
1126 DlpNapiThrow(env, ERR_JS_INVALID_PARAMETER, GetJsErrMsg(ERR_JS_INVALID_PARAMETER)); in GetOriginalFilenameParams()
1131 DlpNapiThrow(env, ERR_JS_INVALID_PARAMETER, GetJsErrMsg(ERR_JS_INVALID_PARAMETER)); in GetOriginalFilenameParams()
1151 DlpNapiThrow(env, ERR_JS_INVALID_PARAMETER, GetJsErrMsg(ERR_JS_INVALID_PARAMETER)); in GetSandboxAppConfigParams()
1723 DlpNapiThrow(env, ERR_JS_URI_NOT_EXIST, "uri not exist in want"); in ParseWantReq()
1776 DlpNapiThrow(asyncContext->env, ERR_JS_INVALID_PARAMETER, "abilityContext is null"); in StartUIExtensionAbility()
[all …]
/ohos5.0/base/security/dlp_permission_service/interfaces/kits/napi_common/include/
H A Dnapi_common.h282 void DlpNapiThrow(napi_env env, int32_t nativeErrCode);
283 void DlpNapiThrow(napi_env env, int32_t jsErrCode, const std::string &jsErrMsg);
/ohos5.0/base/security/dlp_permission_service/interfaces/kits/dlp_permission/napi/src/
H A Dnapi_dlp_permission.cpp1125 DlpNapiThrow(env, result); in RegisterSandboxChangeCallback()
1151 DlpNapiThrow(env, result); in UnregisterSandboxChangeCallback()
1211 DlpNapiThrow(env, result); in SubscribeOpenDlpFile()
1279 DlpNapiThrow(env, result); in UnSubscribeOpenDlpFile()
1295 DlpNapiThrow(env, result); in UnSubscribeOpenDlpFile()
1865 DlpNapiThrow(env, ERR_JS_PARAMETER_ERROR, errMsg); in StartDLPManagerForResult()
1872 DlpNapiThrow(env, ERR_JS_INVALID_PARAMETER, "get context failed"); in StartDLPManagerForResult()