Home
last modified time | relevance | path

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

12345

/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/usb/usb_manager/services/native/src/
Dusb_service_subscriber.cpp44 Json::Value port; in PortChangedEvent() local
45 port["portId"] = info.portId; in PortChangedEvent()
46 port["powerRole"] = info.powerRole; in PortChangedEvent()
47 port["dataRole"] = info.dataRole; in PortChangedEvent()
48 port["mode"] = info.mode; in PortChangedEvent()
52 auto jsonString = Json::writeString(builder, port); in PortChangedEvent()
/base/request/request/services/service/request/c_wrapper/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/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/service/request/c_wrapper/source/
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.cpp190 [](std::string& host, uint16_t& port, const std::string& pacUrl,
213 uint16_t port; variable
219 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion);
223 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion);
240 [](std::string& host, uint16_t& port, const std::string& pacUrl,
264 uint16_t port; variable
267 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion);
269 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion);
274 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion);
292 uint16_t port; variable
[all …]
/base/web/webview/ohos_adapter/net_proxy_adapter/src/
Dnet_proxy_adapter_impl.cpp263 uint16_t port = httpProxy.GetPort(); in StartListenAppProxy() local
269 … WVLOG_D("App netproxy config change, host is %{public}s, port is %{public}d", host.c_str(), port); in StartListenAppProxy()
270 cb_(host, port, "", exclusionList); in StartListenAppProxy()
318 uint16_t port; in OnReceiveEvent() local
321 port = httpProxy.GetPort(); in OnReceiveEvent()
329 eventCallback_(host, port, "", exclusionList); in OnReceiveEvent()
332 void NetProxyAdapterImpl::GetProperty(std::string& host, uint16_t& port, std::string& pacUrl, std::… in GetProperty() argument
361 port = httpProxy.GetPort(); in GetProperty()
364 port, exclusion.c_str()); in GetProperty()
/base/web/webview/ohos_adapter/interfaces/
Dnet_proxy_adapter.h25 …std::string& host, uint16_t& port, const std::string& pacUrl, const std::vector<std::string>& excl…
37 …virtual void GetProperty(std::string& host, uint16_t& port, std::string& pacUrl, std::string& excl…
/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/account/os_account/
Dcfi_blocklist.txt1 src:*/third_party/googletest/googletest/include/gtest/internal/gtest-port.h
/base/useriam/fingerprint_auth/
Dcfi_blocklist.txt1 src:*/third_party/googletest/googletest/include/gtest/internal/gtest-port.h
/base/telephony/sms_mms/test/fuzztest/sendmessagedata_fuzzer/
Dsendmessagedata_fuzzer.cpp57 uint16_t port = static_cast<uint16_t>(size % MAX_PORT); in SendSmsDataRequest() local
66 dataParcel.WriteInt16(port); in SendSmsDataRequest()
/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/face_auth/
Dcfi_blocklist.txt3 src:*/third_party/googletest/googletest/include/gtest/internal/gtest-port.h
/base/useriam/pin_auth/
Dcfi_blocklist.txt3 src:*/third_party/googletest/googletest/include/gtest/internal/gtest-port.h
/base/useriam/user_auth_framework/
Dcfi_blocklist.txt3 src:*/third_party/googletest/googletest/include/gtest/internal/gtest-port.h
/base/telephony/sms_mms/services/sms/include/
Dsms_sender.h44 …tual void DataBasedSmsDelivery(const std::string &desAddr, const std::string &scAddr, int32_t port,
71 int32_t port, const sptr<ISendShortMessageCallback> &sendCallback,
74 uint8_t msgRef8bit, uint32_t indexData, int32_t port, const std::string &scAddr,
/base/hiviewdfx/hilog_lite/test/
DBUILD.gn45 "//third_party/jerryscript/jerry-port/default:jerry-port-default_shared",
/base/telephony/sms_mms/services/sms/include/gsm/
Dgsm_sms_message.h30 void SetDestPort(uint32_t port);
46 …int32_t port, const uint8_t *data, uint32_t dataLen, uint8_t msgRef8bit, DataCodingScheme codingTy…
/base/customization/enterprise_device_management/services/edm_plugin/src/
Diptables_rule_plugin.cpp275 void IptablesRulePlugin::ConvertPortCommand(const std::string &port, const bool isSourcePort, std::… in ConvertPortCommand() argument
277 if (port.empty()) { in ConvertPortCommand()
281 command.append(" --sport " + port); in ConvertPortCommand()
283 command.append(" --dport " + port); in ConvertPortCommand()
/base/customization/enterprise_device_management/services/edm_plugin/include/network/rule/
Dfirewall_chain_rule.h36 static std::string PortToParameter(const std::string &port, const std::string &portType,
/base/security/selinux_adapter/sepolicy/base/system/
Dinitial_sid_contexts22 sid port u:object_r:port:s0

12345