/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | net_http_probe.cpp | 405 int32_t proxyPort = 0; in SetProxyOption() local 407 if (!LoadProxy(proxyHost, proxyPort)) { in SetProxyOption() 422 if (!SetProxyInfo(httpCurl_, proxyHost, proxyPort)) { in SetProxyOption() 425 ret &= SetResolveOption(ProbeType::PROBE_HTTP, proxyDomain, proxyIpAddress, proxyPort); in SetProxyOption() 429 if (!SetProxyInfo(httpsCurl_, proxyHost, proxyPort)) { in SetProxyOption() 432 ret &= SetResolveOption(ProbeType::PROBE_HTTPS, proxyDomain, proxyIpAddress, proxyPort); in SetProxyOption() 438 bool NetHttpProbe::SetProxyInfo(CURL *curlHandler, const std::string &proxyHost, int32_t proxyPort) in SetProxyInfo() argument 446 NETPROBE_CURL_EASY_SET_OPTION(curlHandler, CURLOPT_PROXYPORT, proxyPort); in SetProxyInfo() 679 int32_t NetHttpProbe::LoadProxy(std::string &proxyHost, int32_t &proxyPort) in LoadProxy() argument 684 proxyPort = static_cast<int32_t>(globalHttpProxy_.GetPort()); in LoadProxy() [all …]
|
H A D | net_http_proxy_tracker.cpp | 74 std::string proxyPort; in ReadFromSettingsData() local 83 ret = dataShareHelperUtils->Query(keyUri.portUri_, KEY_GLOBAL_PROXY_PORT, proxyPort); in ReadFromSettingsData() 87 …uint16_t port = (proxyPort.empty() || host.empty()) ? 0 : static_cast<uint16_t>(CommonUtils::StrTo… in ReadFromSettingsData()
|
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/include/ |
H A D | net_http_probe.h | 70 int32_t LoadProxy(std::string &proxyHost, int32_t &proxyPort); 72 bool SetProxyInfo(CURL *curlHandler, const std::string &proxyHost, int32_t proxyPort);
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_buscenter/src/ |
H A D | lnn_ip_network_impl.c | 219 int32_t proxyPort; in OpenProxyPort() local 220 if (LnnGetLocalNumInfo(NUM_KEY_PROXY_PORT, &proxyPort) != SOFTBUS_OK) { in OpenProxyPort() 222 proxyPort = 0; in OpenProxyPort() 229 .port = proxyPort, in OpenProxyPort() 245 if (proxyPort == 0) { in OpenProxyPort()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/ |
H A D | lnn_connect_info.h | 40 int proxyPort; member
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_connection_fsm_mock_test.cpp | 103 oldNodeInfo.connectInfo.proxyPort = PORT1; 104 newNodeInfo.connectInfo.proxyPort = PORT1; 123 newNodeInfo.connectInfo.proxyPort = PORT2;
|
H A D | lnn_net_builder_deps_mock.cpp | 338 int32_t LnnSetDLProxyPort(const char *id, IdCategory type, int32_t proxyPort) in LnnSetDLProxyPort() argument 340 return GetNetBuilderDepsInterface()->LnnSetDLProxyPort(id, type, proxyPort); in LnnSetDLProxyPort()
|
H A D | lnn_connection_fsm_test.cpp | 802 .connectInfo.proxyPort = PORT, 807 .connectInfo.proxyPort = PORT, 819 oldNodeInfo.connectInfo.proxyPort = PORT + 1;
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/include/ |
H A D | lnn_distributed_net_ledger.h | 91 int32_t LnnSetDLProxyPort(const char *id, IdCategory type, int32_t proxyPort);
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/ |
H A D | lnn_node_info.c | 259 return info->connectInfo.proxyPort; in LnnGetProxyPort() 268 info->connectInfo.proxyPort = port; in LnnSetProxyPort()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/include/ |
H A D | lnn_net_builder.h | 63 int32_t proxyPort; member
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
H A D | lnn_distributed_net_ledger.c | 228 newInfo->connectInfo.proxyPort = oldInfo->connectInfo.proxyPort; in NewBrBleDiscovered() 719 oldInfo->connectInfo.proxyPort = newInfo->connectInfo.proxyPort; in LnnUpdateNodeInfo() 767 oldInfo->connectInfo.proxyPort = info->connectInfo.proxyPort; in LnnAddMetaInfo()
|
H A D | lnn_distributed_net_ledger_manager.c | 1769 int32_t LnnSetDLProxyPort(const char *id, IdCategory type, int32_t proxyPort) in LnnSetDLProxyPort() argument 1781 nodeInfo->connectInfo.proxyPort = proxyPort; in LnnSetDLProxyPort()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_net_builder.c | 830 !GetJsonObjectNumberItem(json, JSON_KEY_NODE_PROXY_PORT, &addr->proxyPort) || in LnnUnpackNodeAddr() 867 if (addr.proxyPort > 0) { in OnReceiveNodeAddrChangedMsg() 868 (void)LnnSetDLProxyPort(networkId, CATEGORY_NETWORK_ID, addr.proxyPort); in OnReceiveNodeAddrChangedMsg()
|
H A D | lnn_connection_fsm.c | 1367 if (newNodeInfo->connectInfo.proxyPort != oldNodeInfo->connectInfo.proxyPort) { in IsWifiConnectInfoChanged()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/ |
H A D | lnn_disctributed_net_ledger_test.cpp | 779 int32_t proxyPort = 0; variable 780 int32_t ret = LnnSetDLProxyPort(nullptr, type, proxyPort);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/include/ |
H A D | lnn_net_builder_deps_mock.h | 124 virtual int32_t LnnSetDLProxyPort(const char *id, IdCategory type, int32_t proxyPort);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_session_message_test.cpp | 679 info->connectInfo.proxyPort = 80;
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_json.c | 1759 (void)JSON_GetInt32FromOject(json, PROXY_PORT, &info->connectInfo.proxyPort); in UnpackWiFi()
|