Home
last modified time | relevance | path

Searched refs:ton (Results 1 – 9 of 9) sorted by relevance

/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_param_encode.cpp47 unsigned char ton = 0; in EncodeAddressPdu() local
52 ton = TYPE_INTERNATIONAL; in EncodeAddressPdu()
55 ton = num->ton; in EncodeAddressPdu()
59 resultNum.push_back(HEX_VALUE_80 + (ton << HEX_VALUE_04) + num->npi); in EncodeAddressPdu()
150 smscNum[1] = HEX_VALUE_80 + (static_cast<unsigned char>(num->ton << HEX_VALUE_04)) + num->npi; in EncodeSmscPdu()
Dgsm_sms_param_decode.cpp58 resultNum->ton = (oneByte & HEX_VALUE_70) >> HEX_VALUE_04; in DecodeAddressPdu()
60 if (resultNum->ton == TYPE_ALPHA_NUMERIC) { in DecodeAddressPdu()
62 } else if (resultNum->ton == TYPE_INTERNATIONAL) { in DecodeAddressPdu()
144 void GsmSmsParamDecode::DecodeSmscPdu(uint8_t *srcAddr, uint8_t addrLen, enum TypeOfNum ton, std::s… in DecodeSmscPdu() argument
152 if (ton == TYPE_INTERNATIONAL) { in DecodeSmscPdu()
187 desAddrObj.ton = (pTpdu[offset] & HEX_VALUE_70) >> HEX_VALUE_04; in DecodeSmscPdu()
191 if (desAddrObj.ton == TYPE_INTERNATIONAL) { in DecodeSmscPdu()
Dgsm_sms_param_codec.cpp74 void GsmSmsParamCodec::DecodeSmscPdu(uint8_t *pAddress, uint8_t addrLen, enum TypeOfNum ton, std::s… in DecodeSmscPdu() argument
77 codec.DecodeSmscPdu(pAddress, addrLen, ton, decodeAddr); in DecodeSmscPdu()
Dgsm_sms_message.cpp41 replyAddr.ton = TYPE_NATIONAL; in CalcReplyEncodeAddress()
68 tPdu->data.submit.destAddress.ton = TYPE_UNKNOWN; in SetSmsTpduDestAddress()
160 smsTpdu_->data.submit.userData.header[index].udh.alternateAddress.ton = TYPE_NATIONAL; in SetHeaderReply()
292 pAddress.ton = TYPE_INTERNATIONAL; in GetSubmitEncodeInfo()
294 pAddress.ton = TYPE_NATIONAL; in GetSubmitEncodeInfo()
Dgsm_sms_tpdu_decode.cpp214 if (deliver->pid == HEX_VALUE_20 && deliver->originAddress.ton == TYPE_ALPHA_NUMERIC) { in DecodeDeliverPartData()
/base/telephony/sms_mms/services/sms/include/gsm/
Dgsm_sms_param_codec.h38 …void DecodeSmscPdu(uint8_t *pAddress, uint8_t addrLen, enum TypeOfNum ton, std::string &decodeAddr…
Dgsm_sms_param_decode.h29 void DecodeSmscPdu(uint8_t *srcAddr, uint8_t addrLen, enum TypeOfNum ton, std::string &desAddr);
/base/telephony/sms_mms/services/sms/include/
Dsms_pdu_code_type.h136 uint8_t ton; member
/base/telephony/cellular_call/services/common/include/
Dcellular_call_data_struct.h286 int32_t ton = 0; member