Searched refs:ton (Results 1 - 11 of 11) sorted by relevance
/base/telephony/sms_mms/services/sms/gsm/ |
H A D | gsm_sms_param_encode.cpp | 47 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()
|
H A D | gsm_sms_param_decode.cpp | 66 resultNum->ton = (oneByte & HEX_VALUE_70) >> HEX_VALUE_04; in DecodeAddressPdu() 68 if (resultNum->ton == TYPE_ALPHA_NUMERIC) { in DecodeAddressPdu() 70 } else if (resultNum->ton == TYPE_INTERNATIONAL) { in DecodeAddressPdu() 190 void GsmSmsParamDecode::DecodeSmscPdu(uint8_t *srcAddr, uint8_t addrLen, enum TypeOfNum ton, std::string &desAddr) in DecodeSmscPdu() argument 198 if (ton == TYPE_INTERNATIONAL) { in DecodeSmscPdu() 234 desAddrObj.ton = (pTpdu[offset] & HEX_VALUE_70) >> HEX_VALUE_04; in DecodeSmscPdu() 238 if (desAddrObj.ton == TYPE_INTERNATIONAL) { in DecodeSmscPdu()
|
H A D | gsm_sms_param_codec.cpp | 74 void GsmSmsParamCodec::DecodeSmscPdu(uint8_t *pAddress, uint8_t addrLen, enum TypeOfNum ton, std::string &decodeAddr) in DecodeSmscPdu() argument 77 codec.DecodeSmscPdu(pAddress, addrLen, ton, decodeAddr); in DecodeSmscPdu()
|
H A D | gsm_sms_message.cpp | 37 replyAddr.ton = TYPE_NATIONAL; in CalcReplyEncodeAddress() 64 tPdu->data.submit.destAddress.ton = TYPE_UNKNOWN; in SetSmsTpduDestAddress() 156 smsTpdu_->data.submit.userData.header[index].udh.alternateAddress.ton = TYPE_NATIONAL; in SetHeaderReply() 289 pAddress.ton = TYPE_INTERNATIONAL; in GetSubmitEncodeInfo() 291 pAddress.ton = TYPE_UNKNOWN; in GetSubmitEncodeInfo()
|
H A D | gsm_sms_tpdu_decode.cpp | 214 if (deliver->pid == HEX_VALUE_20 && deliver->originAddress.ton == TYPE_ALPHA_NUMERIC) { in DecodeDeliverPartData()
|
/base/telephony/sms_mms/services/sms/include/gsm/ |
H A D | gsm_sms_param_codec.h | 38 void DecodeSmscPdu(uint8_t *pAddress, uint8_t addrLen, enum TypeOfNum ton, std::string &decodeAddr);
|
H A D | gsm_sms_param_decode.h | 29 void DecodeSmscPdu(uint8_t *srcAddr, uint8_t addrLen, enum TypeOfNum ton, std::string &desAddr);
|
/base/telephony/sms_mms/services/sms/include/ |
H A D | sms_pdu_code_type.h | 136 uint8_t ton; member
|
/base/telephony/cellular_call/services/common/include/ |
H A D | cellular_call_data_struct.h | 255 <ton> has no relevant information and is set to zero. 2 Number in <number> according to one of the formats 258 <ton>: type of number in integer format (refer 3GPP TS 24.008[8] subclause 10.5.4.7). The parameter is also set to 286 int32_t ton = 0; member
|
/base/telephony/sms_mms/test/gtest/ |
H A D | zero_branch_sms_part_test.cpp | 402 * test supporting smsAddress.ton is unknown in HWTEST_F() 853 pAddress->ton = TYPE_INTERNATIONAL; in HWTEST_F() 877 pAddress->ton = TYPE_INTERNATIONAL; in HWTEST_F()
|
H A D | zero_branch_sms_test.cpp | 824 std::string pdu = StringUtils::HexToString("16D131D98C56B3DD7039584C36A3D56C375C0E169301"); // D1, ton = 5 in HWTEST_F() 837 std::string pdu = StringUtils::HexToString("16D131D98C56B3DD7039584A01"); // D1, ton = 5 in HWTEST_F() 850 std::string pdu = StringUtils::HexToString("0ED0A3F19CDD7A52A1"); // D0, ton = 5 in HWTEST_F() 957 pAddress->ton = TYPE_INTERNATIONAL; in HWTEST_F() 988 pAddress->ton = TYPE_INTERNATIONAL; in HWTEST_F() 1019 pAddress->ton = TYPE_INTERNATIONAL; in HWTEST_F() 1039 * test DecodeAddressPdu when ton is TYPE_INTERNATIONAL in HWTEST_F() 1136 step1: The pdu whose ton is TYPE_ALPHA_NUMERIC in HWTEST_F() 1159 step1: The pdu whose ton is TYPE_ALPHA_NUMERIC in HWTEST_F()
|
Completed in 14 milliseconds