/base/theme/wallpaper_mgr/interfaces/kits/napi/wallpaperextension/ |
D | wallpaper_extension.js | 54 setUiContent(url) { argument 58 loadUiContent(url); 61 this.wallpaperURL = url; 65 loadUiContent(url) { argument 66 console.log(WindowName + 'initUiContent' + url); 69 console.log(WindowName + JSON.stringify(this.wallpaperWindow.loadContent(url))); 70 this.wallpaperWindow.loadContent(url).then(() => {
|
/base/web/webview/ohos_nweb/include/ |
D | nweb_cookie_manager.h | 81 virtual void ReturnCookie(const std::string &url, 90 virtual std::string ReturnCookie(const std::string &url) = 0; 99 virtual void SetCookie(const std::string &url, 110 virtual int SetCookie(const std::string &url,
|
D | nweb_handler.h | 169 virtual void OnPageLoadEnd(int httpStatusCode, const std::string& url) {} in OnPageLoadEnd() argument 177 virtual void OnPageLoadBegin(const std::string& url) {} in OnPageLoadBegin() argument 197 virtual bool OnHandleInterceptUrlLoading(const std::string& url) { in OnHandleInterceptUrlLoading() argument 207 virtual void OnResource(const std::string& url) {} in OnResource() argument 323 virtual bool OnAlertDialogByJS(const std::string& url, in OnAlertDialogByJS() argument 339 virtual bool OnBeforeUnloadByJS(const std::string& url, in OnBeforeUnloadByJS() argument 356 virtual bool OnPromptDialogByJS(const std::string& url, in OnPromptDialogByJS() argument 373 virtual bool OnConfirmDialogByJS(const std::string& url, in OnConfirmDialogByJS() argument 414 virtual void OnRefreshAccessedHistory(const std::string& url, bool isReload) {} in OnRefreshAccessedHistory() argument 506 virtual void OnPageVisible(const std::string& url) {} in OnPageVisible() argument
|
D | nweb_download_callback.h | 38 virtual void OnDownloadStart(const std::string& url,
|
/base/web/webview/test/ohos_nweb/ |
D | nweb_js_dialog_impl_test.h | 32 bool OnAlertDialogByJS(const std::string &url, 35 bool OnBeforeUnloadByJS(const std::string &url, 38 bool OnPromptDialogByJS(const std::string &url, 42 bool OnConfirmDialogByJS(const std::string &url,
|
D | nweb_js_dialog_impl_test.cpp | 25 bool NWebJSDialogImplTest::OnAlertDialogByJS(const std::string &url, in OnAlertDialogByJS() argument 34 bool NWebJSDialogImplTest::OnBeforeUnloadByJS(const std::string &url, in OnBeforeUnloadByJS() argument 43 bool NWebJSDialogImplTest::OnPromptDialogByJS(const std::string &url, in OnPromptDialogByJS() argument 54 bool NWebJSDialogImplTest::OnConfirmDialogByJS(const std::string &url, in OnConfirmDialogByJS() argument
|
D | nweb_handler_impl_test.cpp | 126 void NWebHandlerImplTest::OnPageLoadEnd(int httpStatusCode, const std::string& url) in OnPageLoadEnd() argument 128 TESTLOG_I("NWebHandlerImplTest::OnPageLoadend called, url=%{public}s", url.c_str()); in OnPageLoadEnd() 135 if (url.find(EXECUTE_JAVASCRIPT_CALLBACK_HTML) != std::string::npos) { in OnPageLoadEnd() 143 void NWebHandlerImplTest::OnPageLoadBegin(const std::string& url) in OnPageLoadBegin() argument 145 TESTLOG_I("NWebHandlerImplTest::OnPageLoadBegin called, url=%{public}s", url.c_str()); in OnPageLoadBegin() 155 bool NWebHandlerImplTest::OnHandleInterceptUrlLoading(const std::string& url) in OnHandleInterceptUrlLoading() argument 157 … TESTLOG_I("NWebHandlerImplTest::OnHandleInterceptUrlLoading called, url=%{public}s", url.c_str()); in OnHandleInterceptUrlLoading() 228 void NWebHandlerImplTest::OnResource(const std::string &url) in OnResource() argument 230 TESTLOG_I("NWebHandlerImplTest::OnResource url=%{public}s", url.c_str()); in OnResource()
|
D | nweb_handler_impl_test.h | 31 void OnPageLoadEnd(int httpStatusCode, const std::string& url) override; 32 void OnPageLoadBegin(const std::string& url) override; 36 bool OnHandleInterceptUrlLoading(const std::string& url) override; 51 void OnResource(const std::string &url) override;
|
D | nweb_downloadlistener_impl_test.cpp | 22 void NWebDownloadListenerImplTest::OnDownloadStart(const std::string &url, const std::string &userA… in OnDownloadStart() argument 28 TESTLOG_I("url=%{public}s", url.c_str()); in OnDownloadStart()
|
D | nweb_handler_impl_test_for_intercept.cpp | 92 std::string url = request->Url(); in OnHandleInterceptRequest() local 93 if (strstr(url.c_str(), ".png") != nullptr) { in OnHandleInterceptRequest()
|
D | nweb_downloadlistener_impl_test.h | 26 void OnDownloadStart(const std::string &url, const std::string &userAgent,
|
/base/request/request/upload/frameworks/libs/src/ |
D | curl_adp.cpp | 137 curl_easy_setopt(curl, CURLOPT_URL, config_->url.c_str()); in SetNetworkOpt() 293 for (auto url : curlArray_) { in ClearCurlResource() local 294 curl_multi_remove_handle(curlMulti_, url); in ClearCurlResource() 295 curl_easy_cleanup(url); in ClearCurlResource() 327 std::shared_ptr<CUrlAdp> url = fData->adp; in ProgressCallback() local 328 std::lock_guard<std::mutex> lock(url->curlMutex_); in ProgressCallback() 339 if (url->uploadTask_) { in ProgressCallback() 341 for (auto &vmem : url->fileDatas_) { in ProgressCallback() 349 url->uploadTask_->OnProgress(totalulnow); in ProgressCallback() 361 std::shared_ptr<CUrlAdp> url = fData->adp; in HeaderCallback() local [all …]
|
/base/request/request/test/unittest/common/napi/requestTest/ |
D | RequestJsunit.test.js | 52 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png', property 103 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png', property 147 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png', property 197 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png', property 246 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.pngkfkew', property 260 downloadConfig.url += '123456' 291 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png', property 339 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png', property 384 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png', property 429 url: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png', property [all …]
|
/base/request/request/test/download/ |
D | download.test.ets | 19 url: 'https://mirror.bjtu.edu.cn/kernel/linux/libs/libc5/libc5.cvs.tar.gz',// Resource address. 29 …url: 'https://mirror.bjtu.edu.cn/kernel/linux/devel/binutils/binutils-2.10.91.0.2-1.i386.rpm',// R… 39 …url: 'https://mirror.bjtu.edu.cn/kernel/linux/devel/binutils/binutils-2.11.90.0.23-2.11.90.0.24.si… 54 …url: 'https://mirror.bjtu.edu.cn/kernel/linux/devel/binutils/autoconf-2.13-10.tar.gz',// Resource … 64 …url: 'https://mirror.bjtu.edu.cn/kernel/linux/devel/binutils/automake-1.4-8.3.tar.gz',// Resource … 74 …url: 'https://mirror.bjtu.edu.cn/kernel/linux/devel/binutils/binutils-2.10.91.0.2-2.10.91.0.4.diff… 84 …url: 'https://mirror.bjtu.edu.cn/kernel/linux/devel/binutils/binutils-2.11.90.0.23-2.11.90.0.24.si… 94 …url: 'https://mirror.bjtu.edu.cn/kernel/linux/devel/binutils/binutils-2.11.90.0.5-2.11.90.0.6.diff… 104 …url: 'https://mirror.bjtu.edu.cn/kernel/linux/devel/binutils/binutils-2.11.90.0.6-2.11.90.0.7.diff… 114 …url: 'https://mirror.bjtu.edu.cn/kernel/linux/devel/binutils/binutils-2.11.90.0.7-2.11.90.0.8.diff… [all …]
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
D | webview_controller.cpp | 489 ErrCode WebviewController::LoadUrl(std::string url) in LoadUrl() argument 495 return nweb_ptr->Load(url); in LoadUrl() 498 ErrCode WebviewController::LoadUrl(std::string url, std::map<std::string, std::string> httpHeaders) in LoadUrl() argument 504 return nweb_ptr->Load(url, httpHeaders); in LoadUrl() 719 std::string url = ""; in GetUrl() local 722 url = nweb_ptr->GetUrl(); in GetUrl() 724 return url; in GetUrl() 729 std::string url = ""; in GetOriginalUrl() local 732 url = nweb_ptr->GetOriginalUrl(); in GetOriginalUrl() 734 return url; in GetOriginalUrl()
|
/base/request/request/upload/interfaces/kits/napi/src/ |
D | js_util.cpp | 222 if (!CheckUrl(config.url)) { in CheckConfig() 231 bool JSUtil::CheckUrl(const std::string &url) in CheckUrl() argument 233 if (url.empty()) { in CheckUrl() 236 return regex_match(url, std::regex("^http(s)?:\\/\\/.+")); in CheckUrl() 306 if (!SetMandatoryParam(env, jsConfig, "url", config.url)) { in ToUploadOption() 326 napi_value url = GetNamedProperty(env, jsConfig, "url"); in ToUploadConfig() local 327 if (url == nullptr) { in ToUploadConfig() 330 config.url = Convert2String(env, url); in ToUploadConfig() 363 napi_set_named_property(env, jsConfig, "url", Convert2JSString(env, config.url)); in Convert2JSUploadConfig()
|
/base/request/request/download/interfaces/kits/js/napi/download_single/src/ |
D | download_config.cpp | 25 void DownloadConfig::SetUrl(const std::string &url) in SetUrl() argument 27 url_ = url; in SetUrl()
|
D | download_task_napi.cpp | 221 std::string url = NapiUtils::GetStringPropertyUtf8(env, configValue, PARAM_KEY_URI); in ParseUrl() local 222 if (!regex_match(url, std::regex("^http(s)?:\\/\\/.+"))) { in ParseUrl() 225 config.SetUrl(url); in ParseUrl()
|
/base/web/webview/test/fuzztest/loadurl_fuzzer/ |
D | loadurl_fuzzer.cpp | 129 std::string url((const char *)data, size); in DoSomethingInterestingWithMyAPI() local 131 g_nweb->Load(url, additionalHttpHeaders); in DoSomethingInterestingWithMyAPI()
|
/base/web/webview/test/fuzztest/load_fuzzer/ |
D | load_fuzzer.cpp | 129 std::string url((const char *)data, size); in DoSomethingInterestingWithMyAPI() local 130 g_nweb->Load(url); in DoSomethingInterestingWithMyAPI()
|
/base/web/webview/interfaces/kits/napi/webcookiemanager/ |
D | napi_web_cookie_manager.cpp | 120 std::string url; in JsGetCookie() local 121 if (!GetStringPara(env, argv[INTEGER_ZERO], url)) { in JsGetCookie() 131 cookieContent = cookieManager->ReturnCookie(url); in JsGetCookie() 154 std::string url; in JsSetCookie() local 156 if (!GetStringPara(env, argv[INTEGER_ZERO], url)) { in JsSetCookie() 170 isSet = cookieManager->SetCookie(url, value); in JsSetCookie()
|
/base/request/request/upload/frameworks/libs/include/ |
D | upload_config.h | 43 std::string url; member
|
/base/web/webview/ |
D | README_ZH.md | 56 以上命令会默认加载百度首页,--url=xxx.com命令行参数可以设置你想加载的网页。
|
/base/request/request/download/interfaces/kits/js/napi/download_single/src/legacy/ |
D | download_manager.cpp | 132 std::string DownloadManager::GetFilenameFromUrl(std::string &url) in GetFilenameFromUrl() argument 134 auto pos = url.rfind('/'); in GetFilenameFromUrl() 136 return url.substr(pos + 1); in GetFilenameFromUrl() 138 return url; in GetFilenameFromUrl()
|
/base/update/updateservice/services/engine/src/ |
D | progress_thread.cpp | 82 int32_t DownloadThread::StartDownload(const std::string &fileName, const std::string &url) in StartDownload() argument 85 serverUrl_ = url; in StartDownload()
|