Home
last modified time | relevance | path

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

123

/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.cpp135 void UsbPortManager::AddPort(UsbPort &port) in AddPort() argument
138 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.cpp44 std::uint16_t port = static_cast<uint16_t>(size); in DoSomethingInterestingWithMyAPI() local
57 …smsInterfaceManager->DataBasedSmsDelivery(desAddr, scAddr, port, data, size, sendCallback, deliver… in DoSomethingInterestingWithMyAPI()
62 …smsSendManager->DataBasedSmsDelivery(desAddr, scAddr, port, data, size, sendCallback, deliveryCall… in DoSomethingInterestingWithMyAPI()
66 desAddr, scAddr, port, data, size, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
70 desAddr, scAddr, port, data, size, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
/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/telephony/sms_mms/services/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.h35 void SetDestPort(uint32_t port);
51 … 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.cpp58 uint16_t port = static_cast<uint16_t>(size % MAX_PORT); in SendSmsDataRequest() local
66 dataParcel.WriteInt16(port); in SendSmsDataRequest()
/base/security/selinux/sepolicy/ohos_policy/web/webview/system/
Dsystem_basic_hap.te27 allow system_basic_hap port:tcp_socket { name_connect };
43 allow system_core_hap port:tcp_socket { name_bind };
58 allow system_core_hap port:tcp_socket { name_connect };
/base/hiviewdfx/hilog_lite/test/
DBUILD.gn45 "//third_party/jerryscript/jerry-port/default:jerry-port-default_shared",
/base/security/selinux/sepolicy/base/system/
Dinitial_sid_contexts22 sid port u:object_r:port:s0
Dbasetype.te15 type port;
Dinitial_sids22 sid port
/base/usb/usb_manager/services/native/include/
Dusb_port_manager.h42 void AddPort(UsbPort &port);
/base/telephony/sms_mms/services/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/sepolicy/ohos_policy/arkXtest/arkXtest/system/
Dsystem_basic_hap.te16 allow system_basic_hap port:tcp_socket { name_bind };
/base/telephony/sms_mms/services/gsm/
Dgsm_sms_sender.cpp144 …msSender::DataBasedSmsDelivery(const std::string &desAddr, const std::string &scAddr, int32_t port, in DataBasedSmsDelivery() argument
157 … desAddr, scAddr, port, data, dataLen, msgRef8bit, (deliveryCallback == nullptr) ? false : true); in DataBasedSmsDelivery()
164 …gsmSmsMessage, cellsInfos, tpdu, msgRef8bit, desAddr, scAddr, port, sendCallback, deliveryCallback… in DataBasedSmsDelivery()
169 int32_t port, const sptr<ISendShortMessageCallback> &sendCallback, in DataBasedSmsDeliverySplitPage() argument
178 …make_shared<SmsSendIndexer>(desAddr, scAddr, port, dataItem, dataItemLen, sendCallback, deliveryCa… in DataBasedSmsDeliverySplitPage()
197 …DataBasedSmsDeliveryPacketSplitPage(gsmSmsMessage, tpdu, msgRef8bit, indexData, port, scAddr, send… in DataBasedSmsDeliverySplitPage()
203 std::shared_ptr<struct SmsTpdu> tpdu, uint8_t msgRef8bit, uint32_t indexData, int32_t port, in DataBasedSmsDeliveryPacketSplitPage() argument
231 …tpdu->data.submit.userData.header[headerCnt].udh.appPort16bit.destPort = ((unsigned short)port & 0… in DataBasedSmsDeliveryPacketSplitPage()
/base/telephony/sms_mms/services/
Dsms_base_message.cpp261 const int port = 6; in GetSegmentSize() local
274 headerSize += port; in GetSegmentSize()
309 const int port = 6; in GetMaxSegmentSize() local
321 headerSize += port; in GetMaxSegmentSize()
Dsms_send_manager.cpp155 …id SmsSendManager::DataBasedSmsDelivery(const string &desAddr, const string &scAddr, uint16_t port, in DataBasedSmsDelivery() argument
178 …gsmSmsSender_->DataBasedSmsDelivery(desAddr, scAddr, port, data, dataLen, sendCallback, deliveryCa… in DataBasedSmsDelivery()
181 …cdmaSmsSender_->DataBasedSmsDelivery(desAddr, scAddr, port, data, dataLen, sendCallback, deliveryC… in DataBasedSmsDelivery()
Dsms_interface_manager.cpp78 …faceManager::DataBasedSmsDelivery(const string &desAddr, const string &scAddr, const uint16_t port, in DataBasedSmsDelivery() argument
96 …smsSendManager_->DataBasedSmsDelivery(desAddr, scAddr, port, data, dataLen, sendCallback, delivery… in DataBasedSmsDelivery()
Dsms_send_indexer.cpp28 SmsSendIndexer::SmsSendIndexer(const string &desAddr, const string &scAddr, int32_t port, const uin… in SmsSendIndexer() argument
31 …(std::vector<uint8_t>(data, data + dataLen)), scAddr_(scAddr), destAddr_(desAddr), destPort_(port), in SmsSendIndexer()
/base/telephony/sms_mms/services/include/
Dsms_send_manager.h37 …id DataBasedSmsDelivery(const std::string &desAddr, const std::string &scAddr, const uint16_t port,
Dsms_interface_manager.h40 …_t DataBasedSmsDelivery(const std::string &desAddr, const std::string &scAddr, const uint16_t port,
/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_()
/base/telephony/sms_mms/frameworks/native/sms/src/
Dsms_service_manager_client.cpp98 const std::u16string scAddr, uint16_t port, const uint8_t *data, uint16_t dataLen, in SendMessage() argument
103 slotId, desAddr, scAddr, port, data, dataLen, callback, deliveryCallback); in SendMessage()

123