/foundation/communication/netmanager_base/frameworks/js/napi/connection/async_context/src/ |
H A D | setglobalhttpproxy_context.cpp | 51 httpProxy_.SetHost(NapiUtils::GetStringPropertyUtf8(GetEnv(), params[0], "host")); in ParseParams() 52 httpProxy_.SetPort(static_cast<uint16_t>(NapiUtils::GetUint32Property(GetEnv(), params[0], "port"))); in ParseParams() 55 httpProxy_.SetUserName(secData); in ParseParams() 59 httpProxy_.SetPassword(secData); in ParseParams() 69 httpProxy_.SetExclusionList(exclusionList); in ParseParams()
|
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/ |
H A D | net_link_info.cpp | 40 httpProxy_ = linkInfo.httpProxy_; in NetLinkInfo() 53 httpProxy_ = linkInfo.httpProxy_; in operator =() 98 if (!httpProxy_.Marshalling(parcel)) { in Marshalling() 151 !HttpProxy::Unmarshalling(parcel, ptr->httpProxy_)) { in Unmarshalling() 200 if (!object->httpProxy_.Marshalling(parcel)) { in Marshalling() 267 str.append(httpProxy_.ToString()); in ToString()
|
/foundation/communication/netmanager_ext/frameworks/native/ethernetclient/src/ |
H A D | interface_configuration.cpp | 34 if (!httpProxy_.Marshalling(parcel)) { in Marshalling() 35 NETMGR_EXT_LOG_E("write httpProxy_ to parcel failed"); in Marshalling() 59 if (!HttpProxy::Unmarshalling(parcel, ptr->httpProxy_)) { in Unmarshalling()
|
/foundation/communication/netmanager_ext/frameworks/js/napi/ethernet/context/ |
H A D | set_iface_config_context.cpp | 109 config_->httpProxy_.SetHost(std::move(host)); in ParseHttpProxy() 110 config_->httpProxy_.SetPort(port); in ParseHttpProxy() 111 config_->httpProxy_.SetExclusionList(exclusionList); in ParseHttpProxy()
|
/foundation/communication/netmanager_ext/services/ethernetmanager/src/ |
H A D | dev_interface_state.cpp | 203 if (httpProxy == ifCfg_->httpProxy_) { in UpdateNetHttpProxy() 207 ifCfg_->httpProxy_ = httpProxy; in UpdateNetHttpProxy() 213 linkInfo_->httpProxy_ = httpProxy; in UpdateNetHttpProxy() 250 linkInfo_->httpProxy_ = ifCfg_->httpProxy_; in UpdateLinkInfo() 345 linkInfo_->httpProxy_ = ifCfg_->httpProxy_; in UpdateLinkInfo()
|
H A D | ethernet_configuration.cpp | 567 cfg->httpProxy_.SetHost(fileContent.substr(pos, fileContent.find(WRAP, pos) - pos)); in ParserFileHttpProxy() 574 cfg->httpProxy_.SetPort(static_cast<uint16_t>(port)); in ParserFileHttpProxy() 585 cfg->httpProxy_.SetExclusionList(exclusionList); in ParserFileHttpProxy() 674 const auto &exclusionList = cfg->httpProxy_.GetExclusionList(); in GenHttpProxyContent() 681 fileContent = fileContent + KEY_PROXY_HOST + cfg->httpProxy_.GetHost() + WRAP; in GenHttpProxyContent() 682 fileContent = fileContent + KEY_PROXY_PORT + std::to_string(cfg->httpProxy_.GetPort()) + WRAP; in GenHttpProxyContent()
|
H A D | ethernet_management.cpp | 280 fit->second->UpdateNetHttpProxy(cfg->httpProxy_); in UpdateDevInterfaceCfg()
|
/foundation/communication/netmanager_base/frameworks/js/napi/connection/async_context/include/ |
H A D | setglobalhttpproxy_context.h | 37 HttpProxy httpProxy_; member in OHOS::NetManagerStandard::SetGlobalHttpProxyContext
|
H A D | gethttpproxy_context.h | 37 HttpProxy httpProxy_; member in OHOS::NetManagerStandard::GetHttpProxyContext
|
/foundation/communication/netmanager_ext/interfaces/innerkits/ethernetclient/include/ |
H A D | interface_configuration.h | 33 HttpProxy httpProxy_; member
|
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/ |
H A D | net_link_info.h | 38 HttpProxy httpProxy_; member
|
/foundation/communication/netmanager_base/frameworks/js/napi/connection/connection_exec/src/ |
H A D | connection_exec.cpp | 280 int32_t errorCode = NetConnClient::GetInstance().GetDefaultHttpProxy(context->httpProxy_); in ExecGetDefaultHttpProxy() 290 napi_value host = NapiUtils::CreateStringUtf8(context->GetEnv(), context->httpProxy_.GetHost()); in GetDefaultHttpProxyCallback() 291 napi_value port = NapiUtils::CreateInt32(context->GetEnv(), context->httpProxy_.GetPort()); in GetDefaultHttpProxyCallback() 292 auto lists = context->httpProxy_.GetExclusionList(); in GetDefaultHttpProxyCallback() 308 int32_t errorCode = NetConnClient::GetInstance().GetGlobalHttpProxy(context->httpProxy_); in ExecGetGlobalHttpProxy() 318 napi_value host = NapiUtils::CreateStringUtf8(context->GetEnv(), context->httpProxy_.GetHost()); in GetGlobalHttpProxyCallback() 319 napi_value port = NapiUtils::CreateInt32(context->GetEnv(), context->httpProxy_.GetPort()); in GetGlobalHttpProxyCallback() 320 auto lists = context->httpProxy_.GetExclusionList(); in GetGlobalHttpProxyCallback() 336 int32_t errorCode = NetConnClient::GetInstance().SetGlobalHttpProxy(context->httpProxy_); in ExecSetGlobalHttpProxy() 351 int32_t errorCode = NetConnClient::GetInstance().SetAppHttpProxy(context->httpProxy_); in ExecSetAppHttpProxy() [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/ |
H A D | wifi_net_agent.cpp | 270 netLinkInfo->httpProxy_.SetHost(std::move(wifiProxyConfig.manualProxyConfig.serverHostName)); 271 netLinkInfo->httpProxy_.SetPort(wifiProxyConfig.manualProxyConfig.serverPort); 272 netLinkInfo->httpProxy_.SetExclusionList(tmpExclusionList); 274 netLinkInfo->httpProxy_.SetHost(""); 275 netLinkInfo->httpProxy_.SetPort(0);
|
/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | net_http_probe.cpp | 583 } else if (!netLinkInfo_.httpProxy_.GetHost().empty()) { in LoadProxy() 584 proxyHost = netLinkInfo_.httpProxy_.GetHost(); in LoadProxy() 585 proxyPort = static_cast<int32_t>(netLinkInfo_.httpProxy_.GetPort()); in LoadProxy()
|
H A D | net_supplier.cpp | 211 httpProxy = network_->GetNetLinkInfo().httpProxy_; in GetHttpProxy()
|
H A D | net_conn_service.cpp | 969 if (oldHttpProxy != netLinkInfo->httpProxy_) { in UpdateNetLinkInfoAsync() 970 SendHttpProxyChangeBroadcast(netLinkInfo->httpProxy_); in UpdateNetLinkInfoAsync() 1795 httpProxy = iter->second->GetNetLinkInfo().httpProxy_; in GetDefaultHttpProxy()
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_info_test/ |
H A D | net_link_info_test.cpp | 77 netLinkInfo->httpProxy_ = {TEST_IPV4_ADDR, 80, {"localhost"}}; in GetNetLinkInfo()
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/ |
H A D | net_link_info_test.cpp | 77 netLinkInfo->httpProxy_ = {TEST_IPV4_ADDR, 80, {"localhost"}}; in GetNetLinkInfo()
|
H A D | native_net_conn_test.cpp | 119 netLinkInfo->httpProxy_ = httpProxy; in GetNetLinkInfoSample() 449 netLinkInfo->httpProxy_.SetExclusionList(exclusionList); in HWTEST_F()
|
H A D | net_http_probe_test.cpp | 228 netLinkInfo.httpProxy_ = {"127.0.0.1", 80, {"localhost"}}; in HWTEST_F()
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/ |
H A D | ethernet_service_proxy_test.cpp | 96 ic->httpProxy_ = {TEST_PROXY_HOST, TEST_PROXY_PORT, {}}; in GetIfaceConfig()
|
H A D | ethernet_manager_test.cpp | 164 ic->httpProxy_ = {TEST_PROXY_HOST, TEST_PROXY_PORT, {}}; in GetIfaceConfig()
|
/foundation/communication/netmanager_ext/test/ethernetmanager/unittest/ethernet_manager_test/ |
H A D | ethernet_service_proxy_test.cpp | 96 ic->httpProxy_ = {TEST_PROXY_HOST, TEST_PROXY_PORT, {}}; in GetIfaceConfig()
|
/foundation/communication/netmanager_base/interfaces/kits/c/netconnclient/src/ |
H A D | net_connection_adapter.cpp | 197 ret = Conv2HttpProxy(infoObj.httpProxy_, &(prop->httpProxy)); in Conv2NetLinkInfo()
|
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/ |
H A D | net_conn_service_test.cpp | 257 netLinkInfo->httpProxy_.SetHost(TEST_HOST); in HWTEST_F() 865 netLinkInfo->httpProxy_.SetHost(TEST_HOST); in HWTEST_F()
|