/ohos5.0/base/web/webview/interfaces/kits/cj/src/ |
H A D | webview_ffi.cpp | 146 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 D | webview_controller_impl.cpp | 84 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 D | webview_javascript_execute_callback.cpp | 26 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 D | web_cookie_manager.cpp | 33 errCode = NWebError::INVALID_URL; in CjGetCookie() 36 errCode = NWebError::NO_ERROR; in CjGetCookie()
|
H A D | web_errors.cpp | 49 namespace NWebError { namespace
|
/ohos5.0/base/web/webview/interfaces/kits/napi/webdatabase/ |
H A D | napi_web_data_base.cpp | 146 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 D | napi_geolocation_permission.cpp | 134 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 D | napi_native_media_player.cpp | 248 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 D | webview_controller.cpp | 89 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 D | napi_webview_controller.cpp | 51 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 D | napi_web_scheme_handler_request.cpp | 30 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 D | webview_createpdf_execute_callback.cpp | 26 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 D | webview_javascript_execute_callback.cpp | 24 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 D | napi_back_forward_cache_options.cpp | 29 using namespace OHOS::NWebError;
|
H A D | napi_web_download_manager.cpp | 33 using namespace NWebError;
|
/ohos5.0/base/web/webview/interfaces/kits/napi/webadsblockmanager/ |
H A D | napi_web_adsblock_manager.cpp | 83 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 D | napi_web_cookie_manager.cpp | 162 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 D | napi_web_storage.cpp | 89 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 D | napi_parse_utils.cpp | 534 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 D | business_error.h | 23 namespace NWebError {
|
H A D | business_error.cpp | 21 namespace NWebError { namespace
|
H A D | web_errors.h | 37 namespace NWebError {
|
H A D | web_errors.cpp | 63 namespace NWebError { namespace
|
/ohos5.0/base/web/webview/interfaces/kits/cj/include/ |
H A D | web_errors.h | 24 namespace NWebError {
|
/ohos5.0/base/web/webview/interfaces/kits/napi/webfunction/ |
H A D | napi_webview_function.cpp | 29 using namespace NWebError;
|