/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
H A D | napi_webview_controller.cpp | 397 BusinessError::ThrowErrorByErrcode( in ParsePDFConfigArgs() 2049 BusinessError::ThrowErrorByErrcode(env, ret); in Close() 2129 BusinessError::ThrowErrorByErrcode(env, ret); in PostMessageEvent() 2182 BusinessError::ThrowErrorByErrcode(env, ret); in PostMessageEventExt() 2226 BusinessError::ThrowErrorByErrcode(env, ret); in OnMessageEventExt() 2472 BusinessError::ThrowErrorByErrcode(env, ret); in OnMessageEvent() 2492 BusinessError::ThrowErrorByErrcode(env, ret); in ZoomIn() 2513 BusinessError::ThrowErrorByErrcode(env, ret); in ZoomOut() 2597 BusinessError::ThrowErrorByErrcode(env, ret); in SetCustomUserAgent() 2664 BusinessError::ThrowErrorByErrcode(env, ret); in BackOrForward() [all …]
|
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 | napi_web_scheme_handler_request.cpp | 499 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetUrl() 544 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetStatus() 596 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetStatusText() 646 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetMimeType() 697 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetEncoding() 755 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetHeaderByName() 761 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetHeaderByName() 767 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetHeaderByName() 773 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetHeaderByName() 819 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_SetNetErrorCode() [all …]
|
H A D | webview_javascript_execute_callback.cpp | 353 BusinessError::ThrowErrorByErrcode(env, TYPE_NOT_MATCH_WITCH_VALUE); in GetString() 378 BusinessError::ThrowErrorByErrcode(env, TYPE_NOT_MATCH_WITCH_VALUE); in GetNumber() 403 BusinessError::ThrowErrorByErrcode(env, TYPE_NOT_MATCH_WITCH_VALUE); in GetBoolean() 427 BusinessError::ThrowErrorByErrcode(env, TYPE_NOT_MATCH_WITCH_VALUE); in GetArrayBuffer() 450 BusinessError::ThrowErrorByErrcode(env, TYPE_NOT_MATCH_WITCH_VALUE); in GetArray()
|
H A D | napi_web_download_manager.cpp | 71 BusinessError::ThrowErrorByErrcode(env, NO_DOWNLOAD_DELEGATE_SET); in JS_ResumeDownload()
|
H A D | napi_web_download_item.cpp | 564 BusinessError::ThrowErrorByErrcode(env, DOWNLOAD_NOT_START); in JS_Pause() 595 BusinessError::ThrowErrorByErrcode(env, DOWNLOAD_NOT_PAUSED); in JS_Resume() 656 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_Start() 748 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR, in JS_Deserialize()
|
/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/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/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 | business_error.h | 33 static void ThrowErrorByErrcode(napi_env env, int32_t errCode); 35 static void ThrowErrorByErrcode(napi_env env, int32_t errCode, const std::string& errorMsg);
|
H A D | business_error.cpp | 35 void BusinessError::ThrowErrorByErrcode(napi_env env, int32_t errCode) in ThrowErrorByErrcode() function in OHOS::NWebError::BusinessError 40 void BusinessError::ThrowErrorByErrcode(napi_env env, int32_t errCode, const std::string& errorMsg) in ThrowErrorByErrcode() function in OHOS::NWebError::BusinessError
|
/ohos5.0/base/web/webview/interfaces/kits/napi/webfunction/ |
H A D | napi_webview_function.cpp | 53 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR); in JsOnce() 62 BusinessError::ThrowErrorByErrcode(env, PARAM_CHECK_ERROR); in JsOnce()
|