Home
last modified time | relevance | path

Searched refs:httpProxy_ (Results 1 - 25 of 27) sorted by relevance

12

/foundation/communication/netmanager_base/frameworks/js/napi/connection/async_context/src/
H A Dsetglobalhttpproxy_context.cpp51 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 Dnet_link_info.cpp40 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 Dinterface_configuration.cpp34 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 Dset_iface_config_context.cpp109 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 Ddev_interface_state.cpp203 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 Dethernet_configuration.cpp567 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 Dethernet_management.cpp280 fit->second->UpdateNetHttpProxy(cfg->httpProxy_); in UpdateDevInterfaceCfg()
/foundation/communication/netmanager_base/frameworks/js/napi/connection/async_context/include/
H A Dsetglobalhttpproxy_context.h37 HttpProxy httpProxy_; member in OHOS::NetManagerStandard::SetGlobalHttpProxyContext
H A Dgethttpproxy_context.h37 HttpProxy httpProxy_; member in OHOS::NetManagerStandard::GetHttpProxyContext
/foundation/communication/netmanager_ext/interfaces/innerkits/ethernetclient/include/
H A Dinterface_configuration.h33 HttpProxy httpProxy_; member
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/
H A Dnet_link_info.h38 HttpProxy httpProxy_; member
/foundation/communication/netmanager_base/frameworks/js/napi/connection/connection_exec/src/
H A Dconnection_exec.cpp280 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 Dwifi_net_agent.cpp270 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 Dnet_http_probe.cpp583 } 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 Dnet_supplier.cpp211 httpProxy = network_->GetNetLinkInfo().httpProxy_; in GetHttpProxy()
H A Dnet_conn_service.cpp969 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 Dnet_link_info_test.cpp77 netLinkInfo->httpProxy_ = {TEST_IPV4_ADDR, 80, {"localhost"}}; in GetNetLinkInfo()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/
H A Dnet_link_info_test.cpp77 netLinkInfo->httpProxy_ = {TEST_IPV4_ADDR, 80, {"localhost"}}; in GetNetLinkInfo()
H A Dnative_net_conn_test.cpp119 netLinkInfo->httpProxy_ = httpProxy; in GetNetLinkInfoSample()
449 netLinkInfo->httpProxy_.SetExclusionList(exclusionList); in HWTEST_F()
H A Dnet_http_probe_test.cpp228 netLinkInfo.httpProxy_ = {"127.0.0.1", 80, {"localhost"}}; in HWTEST_F()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/
H A Dethernet_service_proxy_test.cpp96 ic->httpProxy_ = {TEST_PROXY_HOST, TEST_PROXY_PORT, {}}; in GetIfaceConfig()
H A Dethernet_manager_test.cpp164 ic->httpProxy_ = {TEST_PROXY_HOST, TEST_PROXY_PORT, {}}; in GetIfaceConfig()
/foundation/communication/netmanager_ext/test/ethernetmanager/unittest/ethernet_manager_test/
H A Dethernet_service_proxy_test.cpp96 ic->httpProxy_ = {TEST_PROXY_HOST, TEST_PROXY_PORT, {}}; in GetIfaceConfig()
/foundation/communication/netmanager_base/interfaces/kits/c/netconnclient/src/
H A Dnet_connection_adapter.cpp197 ret = Conv2HttpProxy(infoObj.httpProxy_, &(prop->httpProxy)); in Conv2NetLinkInfo()
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/
H A Dnet_conn_service_test.cpp257 netLinkInfo->httpProxy_.SetHost(TEST_HOST); in HWTEST_F()
865 netLinkInfo->httpProxy_.SetHost(TEST_HOST); in HWTEST_F()

Completed in 21 milliseconds

12