Home
last modified time | relevance | path

Searched refs:guid (Results 1 - 11 of 11) sorted by relevance

/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dweb_download_item.cpp25 : guid(""), in WebDownloadItem()
52 : guid(""), in WebDownloadItem()
74 this->guid = std::string(WebDownloadItem_Guid(downloadItem)); in WebDownloadItem()
H A Dweb_download_item.h42 std::string guid; member in OHOS::NWeb::WebDownloadItem
H A Dnapi_web_download_item.cpp468 napi_value guid; in JS_GetGuid() local
469 napi_status status = napi_create_string_utf8(env, webDownloadItem->guid.c_str(), NAPI_AUTO_LENGTH, &guid); in JS_GetGuid()
474 return guid; in JS_GetGuid()
560 NWebDownloadItemState state = WebDownload_GetItemStateByGuid(webDownloadItem->guid); in JS_Pause()
592 NWebDownloadItemState state = WebDownload_GetItemStateByGuid(webDownloadItem->guid); in JS_Resume()
673 webDownloadPb.set_guid(webDownloadItem->guid); in SetWebDownloadPb()
766 webDownloadItem->guid = webDownloadPb.guid(); in JS_Deserialize()
H A Dweb_download_manager.cpp194 WebDownloadItem_SetGuid(downloadItem, webDownload->guid.c_str()); in ResumeDownload()
/base/web/webview/interfaces/kits/cj/src/
H A Dweb_download_item_impl.cpp24 : guid(""), in WebDownloadItemImpl()
50 : guid(""), in WebDownloadItemImpl()
72 this->guid = std::string(WebDownloadItem_Guid(downloadItem)); in WebDownloadItemImpl()
H A Dweb_download_manager_impl.cpp185 WebDownloadItem_SetGuid(downloadItem, webDownload->guid.c_str()); in ResumeDownload()
H A Dwebview_ffi.cpp1364 std::string guid = nativeWebDownloadItemImpl->guid; in FfiOHOSWebDownloadItemImplGetGuid() local
1366 ret.data = MallocCString(guid); in FfiOHOSWebDownloadItemImplGetGuid()
1588 webDownloadPb.set_guid(nativeWebDownloadItemImpl->guid); in FfiOHOSWebDownloadItemImplSerialize()
1636 webDownloadItem->guid = webDownloadPb.guid(); in FfiOHOSWebDownloadItemImplDeserialize()
/base/web/webview/ohos_nweb/include/
H A Dnweb_c_api.h78 NWEB_EXPORT NWebDownloadItemState WebDownload_GetItemStateByGuid(const std::string& guid);
100 NWEB_EXPORT void WebDownloadItem_SetGuid(NWebDownloadItem *downloadItem, const char *guid);
/base/web/webview/interfaces/kits/cj/include/
H A Dweb_download_item_impl.h39 std::string guid; member in OHOS::Webview::WebDownloadItemImpl
/base/web/webview/ohos_nweb/src/
H A Dnweb_helper.cpp269 extern "C" NWebDownloadItemState WebDownload_GetItemStateByGuid(const std::string& guid) in WebDownload_GetItemStateByGuid() argument
274 return g_nwebCApi->impl_WebDownload_GetItemStateByGuid(guid); in WebDownload_GetItemStateByGuid()
491 extern "C" void WebDownloadItem_SetGuid(NWebDownloadItem* downloadItem, const char* guid) in WebDownloadItem_SetGuid() argument
497 g_nwebCApi->impl_WebDownloadItem_SetGuid(downloadItem, guid); in WebDownloadItem_SetGuid()
/base/web/webview/test/unittest/nweb_helper_test/
H A Dnweb_helper_test.cpp449 char* guid = WebDownloadItem_Guid(downloadItem); in HWTEST_F() local
450 EXPECT_NE(guid, nullptr); in HWTEST_F()

Completed in 10 milliseconds