Home
last modified time | relevance | path

Searched refs:address_ (Results 1 – 8 of 8) sorted by relevance

/base/telephony/sms_mms/services/sms/cdma/
Dcdma_sms_parameter_record.cpp195 CdmaSmsAddressParameter::CdmaSmsAddressParameter(TransportAddr &address, uint8_t id) : address_(add… in CdmaSmsAddressParameter()
216 …if (!pdu.WriteBits(address_.digitMode ? 0b1 : 0b0) || !pdu.WriteBits(address_.numberMode ? 0b1 : 0… in Encode()
220 if (address_.digitMode) { in Encode()
221 if (!pdu.WriteBits(address_.numberType, BIT3)) { in Encode()
225 if (!address_.numberMode && !pdu.WriteBits(address_.numberPlan, BIT4)) { in Encode()
244 if (memset_s(&address_, sizeof(address_), 0x0, sizeof(address_)) != EOK) { in Decode()
255 address_.digitMode = (v1 == 0b1) ? true : false; in Decode()
256 address_.numberMode = (v2 == 0b1) ? true : false; in Decode()
257 if (address_.digitMode) { in Decode()
258 if (!pdu.ReadBits(address_.numberType, BIT3)) { in Decode()
[all …]
Dcdma_sms_sub_parameter.cpp1041 CdmaSmsCallbackNumber::CdmaSmsCallbackNumber(SmsTeleSvcAddr &address) : address_(address) in CdmaSmsCallbackNumber()
1058 if (!pdu.WriteBits(address_.digitMode ? 0b1 : 0b0)) { in Encode()
1062 …if (static_cast<unsigned long>(address_.addrLen) > (sizeof(address_.szData) / sizeof(address_.szDa… in Encode()
1066 if (address_.digitMode) { in Encode()
1068 … if (!pdu.WriteBits(address_.numberType, BIT3) || !pdu.WriteBits(address_.numberPlan, BIT4) || in Encode()
1069 !pdu.WriteBits(address_.addrLen, BIT8)) { in Encode()
1074 for (uint8_t i = 0; i < address_.addrLen; i++) { in Encode()
1075 if (!pdu.WriteBits(address_.szData[i], BIT8)) { in Encode()
1081 if (!pdu.WriteBits(address_.addrLen, BIT8)) { in Encode()
1085 for (uint8_t i = 0; i < address_.addrLen; i++) { in Encode()
[all …]
Dcdma_sms_message.cpp219 address_ = std::make_unique<struct TransportAddr>(); in AnalysisP2pMsg()
220 if (address_ == nullptr) { in AnalysisP2pMsg()
225 …if (memcpy_s(address_.get(), sizeof(TransportAddr), &p2pMsg.address, sizeof(TransportAddr)) != EOK… in AnalysisP2pMsg()
230 originatingAddress_ = address_->szData; in AnalysisP2pMsg()
/base/usb/usb_manager/interfaces/innerkits/native/include/
Dusb_endpoint.h31 this->address_ = address; in USBEndpoint()
39 address_ = endpoint["address"].asUInt(); in USBEndpoint()
51 return address_ & USB_ENDPOINT_NUMBER_MASK; in GetNumber()
56 return address_; in GetAddress()
61 return address_ & USB_ENDPOINT_DIR_MASK; in GetDirection()
71 return address_ & USB_ENDPOINT_NUMBER_MASK; in GetEndpointNumber()
92 ret.append(std::to_string(address_)) in ToString()
111 address_ = val; in SetAddr()
142 endpoint["address"] = address_; in ToJson()
155 uint32_t address_ = 0;
/base/telephony/sms_mms/services/sms/include/cdma/
Dcdma_sms_parameter_record.h105 TransportAddr &address_;
116 TransportSubAddr &address_;
Dcdma_sms_message.h81 std::unique_ptr<TransportAddr> address_; variable
Dcdma_sms_sub_parameter.h224 SmsTeleSvcAddr &address_;
/base/telephony/cellular_data/services/src/state_machine/
Dcellular_data_state_machine.cpp250 netAddr.address_ = ipInfo.ip; in ResolveIp()
265 dnsAddr.address_ = dnsInfo.ip; in ResolveDns()
281 route.gateway_.address_ = routeInfo.ip; in ResolveRoute()
287 route.destination_.address_ = "0.0.0.0"; in ResolveRoute()