Home
last modified time | relevance | path

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

1234

/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()
Dusb_port_manager.cpp152 void UsbPortManager::AddPort(UsbPort &port) in AddPort() argument
156 auto res = portMap_.insert(std::map<int32_t, UsbPort>::value_type(port.id, port)); in AddPort()
/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 DoSomethingInterestingWithMyAPI() local
39 if (memcpy_s(&port, sizeof(int), data, sizeof(int)) != 0) { in DoSomethingInterestingWithMyAPI()
44 handler.OnSslSelectCertRequestByJS(result, host, port, keyTypes, issuers); in DoSomethingInterestingWithMyAPI()
/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/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,
260 uint16_t port; variable
263 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion);
/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/web/webview/ohos_adapter/net_proxy_adapter/src/
Dnet_proxy_adapter_impl.cpp267 uint16_t port; in OnReceiveEvent() local
270 port = httpProxy.GetPort(); in OnReceiveEvent()
278 eventCallback_(host, port, "", exclusionList); in OnReceiveEvent()
281 void NetProxyAdapterImpl::GetProperty(std::string& host, uint16_t& port, std::string& pacUrl, std::… in GetProperty() argument
311 port = httpProxy.GetPort(); in GetProperty()
314 port, exclusion.c_str()); in GetProperty()
/base/telephony/sms_mms/services/sms/include/gsm/
Dgsm_sms_sender.h44 void DataBasedSmsDelivery(const std::string &desAddr, const std::string &scAddr, int32_t port,
49 int32_t port, const sptr<ISendShortMessageCallback> &sendCallback,
52 uint8_t msgRef8bit, uint32_t indexData, int32_t port, const std::string &scAddr,
Dgsm_sms_message.h30 void SetDestPort(uint32_t port);
46 … int32_t port, const uint8_t *data, uint32_t dataLen, uint8_t msgRef8bit, bool bStatusReport);
/base/telephony/sms_mms/test/fuzztest/sendmessagedata_fuzzer/
Dsendmessagedata_fuzzer.cpp57 uint16_t port = static_cast<uint16_t>(size % MAX_PORT); in SendSmsDataRequest() local
65 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/hiviewdfx/hilog_lite/test/
DBUILD.gn45 "//third_party/jerryscript/jerry-port/default:jerry-port-default_shared",
/base/startup/init/services/loopevent/socket/
Dle_socket.c93 uint16_t port = atoi(portStr + 1); in GetSockaddrFromServer_() local
94 addr->sin_port = htons(port); in GetSockaddrFromServer_()
97 LE_LOGV("CreateTcpSocket server: %s port: %d", server, port); in GetSockaddrFromServer_()
/base/print/print_fwk/services/include/
Dprint_security_guard_info.h40 int32_t port = 631; member
/base/security/selinux_adapter/sepolicy/base/system/
Dinitial_sid_contexts22 sid port u:object_r:port:s0
/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/web/webview/ohos_adapter/net_proxy_adapter/include/
Dnet_proxy_adapter_impl.h43 …void GetProperty(std::string& host, uint16_t& port, std::string& pacUrl, std::string& exclusion) o…
/base/telephony/sms_mms/services/sms/gsm/
Dgsm_user_data_pdu.cpp579 uint16_t port = oneByte; in DecodeHeaderAppPort16Bit() local
580 port |= pHeader.udh.appPort16bit.destPort << NORMAL_BYTE_BITS; in DecodeHeaderAppPort16Bit()
581 pHeader.udh.appPort16bit.destPort = static_cast<uint16_t>(port); in DecodeHeaderAppPort16Bit()
594 port = oneByte; in DecodeHeaderAppPort16Bit()
595 port |= pHeader.udh.appPort16bit.originPort << NORMAL_BYTE_BITS; in DecodeHeaderAppPort16Bit()
596 pHeader.udh.appPort16bit.originPort = static_cast<uint16_t>(port); in DecodeHeaderAppPort16Bit()
Dgsm_sms_sender.cpp143 …msSender::DataBasedSmsDelivery(const std::string &desAddr, const std::string &scAddr, int32_t port, in DataBasedSmsDelivery() argument
156 … desAddr, scAddr, port, data, dataLen, msgRef8bit, (deliveryCallback == nullptr) ? false : true); in DataBasedSmsDelivery()
163 …gsmSmsMessage, cellsInfos, tpdu, msgRef8bit, desAddr, scAddr, port, sendCallback, deliveryCallback… in DataBasedSmsDelivery()
168 int32_t port, const sptr<ISendShortMessageCallback> &sendCallback, in DataBasedSmsDeliverySplitPage() argument
177 …make_shared<SmsSendIndexer>(desAddr, scAddr, port, dataItem, dataItemLen, sendCallback, deliveryCa… in DataBasedSmsDeliverySplitPage()
196 …DataBasedSmsDeliveryPacketSplitPage(gsmSmsMessage, tpdu, msgRef8bit, indexData, port, scAddr, send… in DataBasedSmsDeliverySplitPage()
202 std::shared_ptr<struct SmsTpdu> tpdu, uint8_t msgRef8bit, uint32_t indexData, int32_t port, in DataBasedSmsDeliveryPacketSplitPage() argument
230 …tpdu->data.submit.userData.header[headerCnt].udh.appPort16bit.destPort = ((unsigned short)port & 0… in DataBasedSmsDeliveryPacketSplitPage()
/base/security/selinux_adapter/sepolicy/base/public/
Dbasetype.te15 type port;
/base/usb/usb_manager/services/native/include/
Dusb_port_manager.h43 void AddPort(UsbPort &port);
/base/telephony/sms_mms/services/sms/include/cdma/
Dcdma_sms_sender.h50 …void DataBasedSmsDelivery(const std::string &desAddr, const std::string &scAddr, int32_t port, con…
53 …oid DataBasedSmsDeliveryViaIms(const std::string &desAddr, const std::string &scAddr, int32_t port,
/base/security/selinux_adapter/sepolicy/ohos_policy/arkXtest/arkXtest/system/
Dsystem_basic_hap.te17 allow system_basic_hap_attr port:tcp_socket { name_bind };

1234