Home
last modified time | relevance | path

Searched refs:port (Results 1 – 25 of 135) sorted by relevance

123456

/base/iothardware/peripheral/interfaces/inner_api/
Diot_pwm.h53 unsigned int IoTPwmInit(unsigned int port);
64 unsigned int IoTPwmDeinit(unsigned int port);
79 unsigned int IoTPwmStart(unsigned int port, unsigned short duty, unsigned int freq);
90 unsigned int IoTPwmStop(unsigned int port);
/base/request/request/services/src/manage/config/
Dsystem_proxy.rs31 pub(crate) fn port(&self) -> String { in port() method
56 let port = system_proxy_manager.port(); in test_system_proxy_manager() localVariable
58 println!("host: {}, port: {}, exlist: {}", host, port, exlist); in test_system_proxy_manager()
/base/request/request/services/include/
Dget_proxy.h47 …void GetHttpProxy(const std::string proxyContent, std::string &host, std::string &port, std::strin…
48 void InitProxy(std::string &host, std::string &port, std::string &exclusion);
49 void SetHttpProxy(std::string host, std::string port, std::string list) in SetHttpProxy() argument
52 REQUEST_HILOGD("SysNetProxyManager SetHttpProxy port is %{public}s", port.c_str()); in SetHttpProxy()
56 port_ = port; in SetHttpProxy()
/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/network/rule/
Dfirewall_chain_rule_test.cpp149 std::string port; variable
152 EXPECT_EQ(FirewallChainRule::PortToParameter(port, portType, option), parameter);
155 port = "80";
158 EXPECT_EQ(FirewallChainRule::PortToParameter(port, portType, option), parameter);
161 port = "90";
164 EXPECT_EQ(FirewallChainRule::PortToParameter(port, portType, option), parameter);
167 port = "90,100";
170 EXPECT_EQ(FirewallChainRule::PortToParameter(port, portType, option), parameter);
/base/telephony/sms_mms/test/fuzztest/databasedsmsdelivery_fuzzer/
Ddatabasedsmsdelivery_fuzzer.cpp50 std::uint16_t port = static_cast<uint16_t>(size); in DoSomethingInterestingWithMyAPI() local
63 …smsInterfaceManager->DataBasedSmsDelivery(desAddr, scAddr, port, data, size, sendCallback, deliver… in DoSomethingInterestingWithMyAPI()
68 …smsSendManager->DataBasedSmsDelivery(desAddr, scAddr, port, data, size, sendCallback, deliveryCall… in DoSomethingInterestingWithMyAPI()
72 desAddr, scAddr, port, data, size, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
76 desAddr, scAddr, port, data, size, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_nweb/selectcertrequest_fuzzer/
Dselectcertrequest_fuzzer.cpp38 int port; in SelectCertRequestFuzzTest() local
39 if (memcpy_s(&port, sizeof(int), data, sizeof(int)) != 0) { in SelectCertRequestFuzzTest()
44 handler.OnSslSelectCertRequestByJS(result, host, port, keyTypes, issuers); in SelectCertRequestFuzzTest()
/base/request/request/services/src/cxx/
Dget_proxy.cpp77 void SysNetProxyManager::InitProxy(std::string &host, std::string &port, std::string &exclusion) in InitProxy() argument
103 port = port_res; in InitProxy()
115 std::string port; in OnReceiveEvent() local
118 SysNetProxyManager::GetInstance().GetHttpProxy(proxyContent, host, port, exclusionList); in OnReceiveEvent()
120 SysNetProxyManager::GetInstance().SetHttpProxy(host, port, exclusionList); in OnReceiveEvent()
125 … const std::string proxyContent, std::string &host, std::string &port, std::string &exclusionList) in GetHttpProxy() argument
137 port = portContent; in GetHttpProxy()
/base/web/webview/test/unittest/ohos_adapter/net_proxy_adapter_test/
Dnet_proxy_adapter_test.cpp182 void Changed(const std::string& host, const uint16_t& port, const std::string& pacUrl, in Changed() argument
219 uint16_t port; variable
225 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion);
229 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion);
269 uint16_t port; variable
272 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion);
274 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion);
279 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion);
297 uint16_t port; variable
300 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion);
/base/web/webview/ohos_glue/ohos_adapter/cpptoc/
Dark_net_proxy_adapter_cpptoc.cpp58 uint16_t* port, ArkWebString* pacUrl, ArkWebString* exclusion) in ark_net_proxy_adapter_get_property() argument
66 ARK_WEB_CPPTOC_CHECK_PARAM(port, ); in ark_net_proxy_adapter_get_property()
73 ArkNetProxyAdapterCppToC::Get(self)->GetProperty(*host, *port, *pacUrl, *exclusion); in ark_net_proxy_adapter_get_property()
/base/web/webview/ohos_glue/ohos_adapter/ctocpp/
Dark_net_proxy_event_callback_adapter_ctocpp.cpp24 …const ArkWebString& host, const uint16_t& port, const ArkWebString& pacUrl, const ArkWebStringVect… in Changed() argument
34 _struct->changed(_struct, &host, &port, &pacUrl, &exclusionList); in Changed()
Dark_net_proxy_event_callback_adapter_ctocpp.h37 void Changed(const ArkWebString& host, const uint16_t& port, const ArkWebString& pacUrl,
/base/web/webview/ohos_glue/ohos_adapter/include/
Dark_net_proxy_adapter.h29 virtual void Changed(const ArkWebString& host, const uint16_t& port, const ArkWebString& pacUrl,
46 …virtual void GetProperty(ArkWebString& host, uint16_t& port, ArkWebString& pacUrl, ArkWebString& e…
/base/web/webview/ohos_glue/ohos_adapter/bridge/
Dark_net_proxy_event_callback_adapter_wrapper.cpp27 void ArkNetProxyEventCallbackAdapterWrapper::Changed(const std::string& host, const uint16_t& port, in Changed() argument
33 ctocpp_->Changed(ark_host, port, ark_pacUrl, ark_exclusionList); in Changed()
Dark_net_proxy_adapter_impl.cpp46 ArkWebString& host, uint16_t& port, ArkWebString& pacUrl, ArkWebString& exclusion) in GetProperty() argument
52 real_.GetProperty(s_host, port, s_pacUrl, s_exclusion); in GetProperty()
Dark_net_proxy_event_callback_adapter_wrapper.h29 void Changed(const std::string& host, const uint16_t& port, const std::string& pacUrl,
/base/web/webview/ohos_glue/ohos_adapter/capi/
Dark_net_proxy_adapter_capi.h34 const uint16_t* port, const ArkWebString* pacUrl, const ArkWebStringVector* exclusionList);
50 …_CALLBACK* get_property)(struct _ark_net_proxy_adapter_t* self, ArkWebString* host, uint16_t* port,
/base/web/webview/ohos_interface/include/ohos_adapter/
Dnet_proxy_adapter.h28 virtual void Changed(const std::string& host, const uint16_t& port, const std::string& pacUrl,
43 …virtual void GetProperty(std::string& host, uint16_t& port, std::string& pacUrl, std::string& excl…
/base/web/webview/ohos_adapter/net_proxy_adapter/src/
Dnet_proxy_adapter_impl.cpp264 uint16_t port = httpProxy.GetPort(); in StartListenAppProxy() local
270 … WVLOG_D("App netproxy config change, host is %{public}s, port is %{public}d", host.c_str(), port); in StartListenAppProxy()
271 cb_->Changed(host, port, "", exclusionList); in StartListenAppProxy()
319 uint16_t port; in OnReceiveEvent() local
322 port = httpProxy.GetPort(); in OnReceiveEvent()
331 eventCallback_->Changed(host, port, "", exclusionList); in OnReceiveEvent()
334 void NetProxyAdapterImpl::GetProperty(std::string& host, uint16_t& port, std::string& pacUrl, std::… in GetProperty() argument
363 port = httpProxy.GetPort(); in GetProperty()
366 port, exclusion.c_str()); in GetProperty()
/base/security/device_auth/frameworks/deviceauth_lite/source/base/product_header/
Dhilink_osadapter.h83 const char *rip, unsigned short port);
85 char *rip, unsigned short ripLen, unsigned short *port);
86 int hilink_tcp_connect(const char *dst, unsigned short port);
/base/customization/enterprise_device_management/services/edm_plugin/src/network/rule/
Dfirewall_chain_rule.cpp119 std::string FirewallChainRule::PortToParameter(const std::string &port, const std::string &portType, in PortToParameter() argument
122 if (port.empty()) { in PortToParameter()
126 parameterString << portOption << portType << SPACE_OPTION << port; in PortToParameter()
/base/useriam/fingerprint_auth/
Dcfi_blocklist.txt1 src:*/third_party/googletest/googletest/include/gtest/internal/gtest-port.h
/base/security/access_token/
Dcfi_blocklist.txt1 src:*/third_party/googletest/googletest/include/gtest/internal/gtest-port.h
/base/account/os_account/
Dcfi_blocklist.txt1 src:*/third_party/googletest/googletest/include/gtest/internal/gtest-port.h
/base/security/selinux_adapter/sepolicy/ohos_policy/web/webview/system/
Dsystem_basic_hap.te25 allow system_basic_hap_attr port:tcp_socket { name_connect };
40 allow system_core_hap_attr port:tcp_socket { name_bind };
54 allow system_core_hap_attr port:tcp_socket { name_connect };
/base/useriam/pin_auth/
Dcfi_blocklist.txt3 src:*/third_party/googletest/googletest/include/gtest/internal/gtest-port.h

123456