/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/ |
H A D | ark_web_engine_impl.h | 76 void SetHostIP(const ArkWebString& hostName, const ArkWebString& address, int32_t aliveTime) override; 78 void ClearHostIP(const ArkWebString& hostName) override;
|
H A D | ark_web_engine_impl.cpp | 196 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 D | ark_web_engine.h | 101 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 D | ark_web_engine_wrapper.cpp | 227 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 D | ark_web_engine_wrapper.h | 75 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 D | nweb_helper.h | 81 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 D | nweb_engine.h | 76 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 D | daemon.cpp | 225 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 D | nweb_helper_test.cpp | 141 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 D | nwebhelper_fuzzer.cpp | 141 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 D | util.h | 68 std::string hostName; member
|
/base/web/webview/ohos_nweb/src/ |
H A D | nweb_helper.cpp | 954 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 D | drag_manager.cpp | 703 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 D | gnss_ability.cpp | 1081 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 D | napi_webview_controller.cpp | 5968 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()
|