Home
last modified time | relevance | path

Searched refs:hostName (Results 1 - 15 of 15) sorted by relevance

/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/
H A Dark_web_engine_impl.h76 void SetHostIP(const ArkWebString& hostName, const ArkWebString& address, int32_t aliveTime) override;
78 void ClearHostIP(const ArkWebString& hostName) override;
H A Dark_web_engine_impl.cpp196 void ArkWebEngineImpl::SetHostIP(const ArkWebString& hostName, const ArkWebString& address, int32_t aliveTime) in SetHostIP() argument
198 nweb_engine_->SetHostIP(ArkWebStringStructToClass(hostName), ArkWebStringStructToClass(address), aliveTime); in SetHostIP()
201 void ArkWebEngineImpl::ClearHostIP(const ArkWebString& hostName) in ClearHostIP() argument
203 nweb_engine_->ClearHostIP(ArkWebStringStructToClass(hostName)); in ClearHostIP()
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/include/
H A Dark_web_engine.h101 virtual void SetHostIP(const ArkWebString& hostName, const ArkWebString& address, int32_t aliveTime) = 0;
104 virtual void ClearHostIP(const ArkWebString& hostName) = 0;
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/
H A Dark_web_engine_wrapper.cpp227 void ArkWebEngineWrapper::SetHostIP(const std::string& hostName, const std::string& address, int32_t aliveTime) in SetHostIP() argument
229 ark_web_engine_->SetHostIP(ArkWebStringClassToStruct(hostName), ArkWebStringClassToStruct(address), aliveTime); in SetHostIP()
232 void ArkWebEngineWrapper::ClearHostIP(const std::string& hostName) in ClearHostIP() argument
234 ark_web_engine_->ClearHostIP(ArkWebStringClassToStruct(hostName)); in ClearHostIP()
H A Dark_web_engine_wrapper.h75 void SetHostIP(const std::string& hostName, const std::string& address, int32_t aliveTime) override;
77 void ClearHostIP(const std::string& hostName) override;
/base/web/webview/ohos_nweb/include/
H A Dnweb_helper.h81 void SetHostIP(const std::string& hostName, const std::string& address, int32_t aliveTime);
82 void ClearHostIP(const std::string& hostName);
/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_engine.h76 virtual void SetHostIP(const std::string& hostName, const std::string& address, int32_t aliveTime) = 0;
78 virtual void ClearHostIP(const std::string& hostName) = 0;
/base/update/updater/services/flashd/daemon/
H A Ddaemon.cpp225 char hostName[BUF_SIZE_MEDIUM] = ""; in DaemonSessionHandshake() local
226 size_t len = sizeof(hostName); in DaemonSessionHandshake()
227 uv_os_gethostname(hostName, &len); in DaemonSessionHandshake()
229 handshake.buf = hostName; in DaemonSessionHandshake()
/base/web/webview/test/unittest/nweb_helper_test/
H A Dnweb_helper_test.cpp141 void SetHostIP(const std::string& hostName, const std::string& address, int32_t aliveTime) {} in SetHostIP() argument
143 void ClearHostIP(const std::string& hostName) {} in ClearHostIP() argument
559 std::string hostName = "hello"; in HWTEST_F() local
564 NWebHelper::Instance().SetHostIP(hostName, address, aliveTime); in HWTEST_F()
569 NWebHelper::Instance().SetHostIP(hostName, address, aliveTime); in HWTEST_F()
587 std::string hostName = "name"; in HWTEST_F() local
589 NWebHelper::Instance().ClearHostIP(hostName); in HWTEST_F()
594 NWebHelper::Instance().ClearHostIP(hostName); in HWTEST_F()
/base/web/webview/test/fuzztest/ohos_nweb/nwebhelper_fuzzer/
H A Dnwebhelper_fuzzer.cpp141 void SetHostIP(const std::string& hostName, const std::string& address, int32_t aliveTime) {} in SetHostIP() argument
143 void ClearHostIP(const std::string& hostName) {} in ClearHostIP() argument
/base/msdp/device_status/utils/common/include/
H A Dutil.h68 std::string hostName; member
/base/web/webview/ohos_nweb/src/
H A Dnweb_helper.cpp954 void NWebHelper::SetHostIP(const std::string& hostName, const std::string& address, int32_t aliveTime) in SetHostIP() argument
961 nwebEngine_->SetHostIP(hostName, address, aliveTime); in SetHostIP()
976 void NWebHelper::ClearHostIP(const std::string& hostName) in ClearHostIP() argument
983 nwebEngine_->ClearHostIP(hostName); in ClearHostIP()
/base/msdp/device_status/services/interaction/drag/src/
H A Ddrag_manager.cpp703 dragRadarInfo.hostName = ""; in OnDragUp()
1103 dragRadarInfo.hostName = packageName; in OnStopDrag()
1813 dragRadarInfo.hostName = packageName; in ReportStopDragRadarInfo()
1827 dragRadarInfo.hostName = packageName; in ReportStartDragRadarInfo()
1841 dragRadarInfo.hostName = packageName; in ReportStartDragFailedRadarInfo()
1865 "HOST_PKG", dragRadarInfo.hostName, in ReportDragRadarInfo()
/base/location/services/location_gnss/gnss/source/
H A Dgnss_ability.cpp1081 if (itDevicesInfo->hostName == LOCATION_HOST_NAME) { in IsDeviceLoaded()
1101 itDevicesInfo->hostName.c_str(), itDevInfo->servName.c_str()); in IsDeviceLoaded()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnapi_webview_controller.cpp5968 std::string hostName; in SetHostIP() local
5979 if (!NapiParseUtils::ParseString(env, argv[INTEGER_ZERO], hostName) || in SetHostIP()
5993 NWebHelper::Instance().SetHostIP(hostName, address, aliveTime); in SetHostIP()
6005 std::string hostName; in ClearHostIP() local
6014 if (!NapiParseUtils::ParseString(env, argv[INTEGER_ZERO], hostName)) { in ClearHostIP()
6016 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "hostName", "string")); in ClearHostIP()
6020 NWebHelper::Instance().ClearHostIP(hostName); in ClearHostIP()

Completed in 24 milliseconds