Home
last modified time | relevance | path

Searched refs:NWebError (Results 1 – 25 of 28) sorted by relevance

12

/ohos5.0/base/web/webview/interfaces/kits/cj/src/
H A Dwebview_ffi.cpp146 return NWebError::NO_ERROR; in FfiOHOSWebviewCtlRefresh()
220 return NWebError::NO_ERROR; in FfiOHOSWebviewCtlRunJavaScript()
244 return NWebError::NO_ERROR; in FfiOHOSWebviewCtlRegisterJavaScriptProxy()
282 return NWebError::NO_ERROR; in FfiOHOSWebviewCtlPageUp()
292 return NWebError::NO_ERROR; in FfiOHOSWebviewCtlPageDown()
353 return NWebError::NO_ERROR; in FfiOHOSWebviewCtlScrollTo()
363 return NWebError::NO_ERROR; in FfiOHOSWebviewCtlScrollBy()
373 return NWebError::NO_ERROR; in FfiOHOSWebviewCtlForward()
383 return NWebError::NO_ERROR; in FfiOHOSWebviewCtlBackward()
458 return NWebError::NO_ERROR; in FfiOHOSWebviewCtlClearHistory()
[all …]
H A Dwebview_controller_impl.cpp84 return NWebError::INIT_ERROR; in LoadUrl()
93 return NWebError::INIT_ERROR; in LoadUrl()
103 return NWebError::INIT_ERROR; in LoadData()
156 return NWebError::INIT_ERROR; in SetCustomUserAgent()
160 return NWebError::INIT_ERROR; in SetCustomUserAgent()
163 return NWebError::NO_ERROR; in SetCustomUserAgent()
270 return NWebError::INIT_ERROR; in BackOrForward()
273 return NWebError::NO_ERROR; in BackOrForward()
300 return NWebError::INIT_ERROR; in Zoom()
312 return NWebError::INIT_ERROR; in ZoomIn()
[all …]
H A Dwebview_javascript_execute_callback.cpp26 RetDataCString ret = { .code = NWebError::INVALID_RESOURCE, .data = nullptr }; in OnReceiveValue()
35 ret.code = NWebError::NO_ERROR; in OnReceiveValue()
38 ret.code = NWebError::NEW_OOM; in OnReceiveValue()
H A Dweb_cookie_manager.cpp33 errCode = NWebError::INVALID_URL; in CjGetCookie()
36 errCode = NWebError::NO_ERROR; in CjGetCookie()
H A Dweb_errors.cpp49 namespace NWebError { namespace
/ohos5.0/base/web/webview/interfaces/kits/napi/webdatabase/
H A Dnapi_web_data_base.cpp146 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSaveHttpAuthCredentials()
152 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSaveHttpAuthCredentials()
158 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSaveHttpAuthCredentials()
164 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSaveHttpAuthCredentials()
169 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSaveHttpAuthCredentials()
175 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSaveHttpAuthCredentials()
182 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSaveHttpAuthCredentials()
205 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetHttpAuthCredentials()
212 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetHttpAuthCredentials()
219 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetHttpAuthCredentials()
[all …]
H A Dnapi_geolocation_permission.cpp134 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in ProcessActionByType()
141 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in ProcessActionByType()
159 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_ORIGIN); in ProcessActionByType()
165 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_ORIGIN); in ProcessActionByType()
347 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetAccessibleGeolocation()
353 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetAccessibleGeolocation()
363 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetAccessibleGeolocation()
368 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetAccessibleGeolocation()
534 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetStoredGeolocation()
544 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetStoredGeolocation()
[all …]
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnapi_native_media_player.cpp248 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandleStatusChanged()
255 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandleStatusChanged()
286 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandleVolumeChanged()
293 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandleVolumeChanged()
299 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandleVolumeChanged()
324 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandleMutedChanged()
331 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandleMutedChanged()
356 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandlePlaybackRateChanged()
363 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandlePlaybackRateChanged()
369 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in HandlePlaybackRateChanged()
[all …]
H A Dwebview_controller.cpp89 using namespace NWebError;
358 return NWebError::NO_ERROR; in SetCustomUserAgent()
389 return NWebError::NO_ERROR; in BackOrForward()
452 jsResult = NWebError::BusinessError::CreateError(env, NWebError::INIT_ERROR); in StoreWebArchivePromise()
506 return NWebError::NO_ERROR; in PostWebMessage()
522 return NWebError::NO_ERROR; in ClosePort()
537 return NWebError::NO_ERROR; in PostPortMessage()
993 jsResult = NWebError::BusinessError::CreateError(env, NWebError::INIT_ERROR); in RunJavaScriptPromise()
1040 jsResult = NWebError::BusinessError::CreateError(env, NWebError::INIT_ERROR); in RunJavaScriptPromiseExt()
1085 pdfResult = NWebError::BusinessError::CreateError(env, NWebError::INIT_ERROR); in CreatePDFPromiseExt()
[all …]
H A Dnapi_webview_controller.cpp51 using namespace NWebError;
52 using NWebError::NO_ERROR;
2684 BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in StoreWebArchive()
2690 BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in StoreWebArchive()
2696 BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in StoreWebArchive()
3441 return NWebError::NEW_OOM; in ConstructFlowbuf()
3633 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in HasImage()
3643 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in HasImage()
4416 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in SetScrollable()
6496 NWebError::FormatString( in TrimMemoryByPressureLevel()
[all …]
H A Dnapi_web_scheme_handler_request.cpp30 using namespace OHOS::NWebError;
500 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "url", "string")); in JS_SetUrl()
545 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "code", "int")); in JS_SetStatus()
597 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "text", "string")); in JS_SetStatusText()
647 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "type", "string")); in JS_SetMimeType()
825 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "code", "int")); in JS_SetNetErrorCode()
1107 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "code", "int")); in JS_DidFailWithError()
1197 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JS_Initialize()
1204 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR); in JS_Initialize()
1231 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in CheckReadParamsNumber()
[all …]
H A Dwebview_createpdf_execute_callback.cpp26 using namespace NWebError;
143 setResult[INTEGER_ZERO] = BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in UvAfterWorkCbAsync()
187 … setResult[INTEGER_ZERO] = NWebError::BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in UvAfterWorkCbPromise()
H A Dwebview_javascript_execute_callback.cpp24 using namespace NWebError;
146 setResult[INTEGER_ZERO] = BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in UvAfterWorkCbAsync()
192 … setResult[INTEGER_ZERO] = NWebError::BusinessError::CreateError(env, NWebError::INVALID_RESOURCE); in UvAfterWorkCbPromise()
H A Dnapi_back_forward_cache_options.cpp29 using namespace OHOS::NWebError;
H A Dnapi_web_download_manager.cpp33 using namespace NWebError;
/ohos5.0/base/web/webview/interfaces/kits/napi/webadsblockmanager/
H A Dnapi_web_adsblock_manager.cpp83 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSetAdsBlockRules()
92 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSetAdsBlockRules()
99 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSetAdsBlockRules()
107 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSetAdsBlockRules()
131 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsAddAdsBlockDisallowedList()
140 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsAddAdsBlockDisallowedList()
164 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsRemoveAdsBlockDisallowedList()
173 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsRemoveAdsBlockDisallowedList()
211 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsAddAdsBlockAllowedList()
220 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsAddAdsBlockAllowedList()
[all …]
/ohos5.0/base/web/webview/interfaces/kits/napi/webcookiemanager/
H A Dnapi_web_cookie_manager.cpp162 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsFetchCookieAsync()
169 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsFetchCookieAsync()
216 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetCookie()
223 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetCookie()
230 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetCookie()
246 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_URL); in JsGetCookie()
261 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSetCookie()
269 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSetCookie()
274 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSetCookie()
281 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsSetCookie()
[all …]
/ohos5.0/base/web/webview/interfaces/kits/napi/webstorage/
H A Dnapi_web_storage.cpp89 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsDeleteOrigin()
97 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsDeleteOrigin()
103 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsDeleteOrigin()
111 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsDeleteOrigin()
119 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::INVALID_ORIGIN); in JsDeleteOrigin()
292 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetOrigins()
301 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetOrigins()
461 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetOriginUsageOrQuota()
468 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetOriginUsageOrQuota()
475 NWebError::BusinessError::ThrowErrorByErrcode(env, NWebError::PARAM_CHECK_ERROR, in JsGetOriginUsageOrQuota()
[all …]
/ohos5.0/base/web/webview/interfaces/kits/napi/common/
H A Dnapi_parse_utils.cpp534 return NWebError::PARAM_CHECK_ERROR; in ConstructStringFlowbuf()
540 return NWebError::PARAM_CHECK_ERROR; in ConstructStringFlowbuf()
547 return NWebError::NEW_OOM; in ConstructStringFlowbuf()
551 return NWebError::NEW_OOM; in ConstructStringFlowbuf()
560 return NWebError::PARAM_CHECK_ERROR; in ConstructStringFlowbuf()
562 return NWebError::NO_ERROR; in ConstructStringFlowbuf()
570 return NWebError::PARAM_CHECK_ERROR; in ConstructArrayBufFlowbuf()
589 return NWebError::NEW_OOM; in ConstructArrayBufFlowbuf()
593 return NWebError::NEW_OOM; in ConstructArrayBufFlowbuf()
599 return NWebError::NEW_OOM; in ConstructArrayBufFlowbuf()
[all …]
H A Dbusiness_error.h23 namespace NWebError {
H A Dbusiness_error.cpp21 namespace NWebError { namespace
H A Dweb_errors.h37 namespace NWebError {
H A Dweb_errors.cpp63 namespace NWebError { namespace
/ohos5.0/base/web/webview/interfaces/kits/cj/include/
H A Dweb_errors.h24 namespace NWebError {
/ohos5.0/base/web/webview/interfaces/kits/napi/webfunction/
H A Dnapi_webview_function.cpp29 using namespace NWebError;

12