Searched refs:smsUserData_ (Results 1 – 5 of 5) sorted by relevance
/base/telephony/sms_mms/services/sms/ |
D | sms_base_message.cpp | 146 for (int i = 0; i < smsUserData_.headerCnt; i++) { in GetConcatMsg() 147 if (smsUserData_.header[i].udhType == UDH_CONCAT_8BIT) { in GetConcatMsg() 154 smsConcat_->totalSeg = smsUserData_.header[i].udh.concat8bit.totalSeg; in GetConcatMsg() 155 smsConcat_->seqNum = smsUserData_.header[i].udh.concat8bit.seqNum; in GetConcatMsg() 156 smsConcat_->msgRef = smsUserData_.header[i].udh.concat8bit.msgRef; in GetConcatMsg() 158 } else if (smsUserData_.header[i].udhType == UDH_CONCAT_16BIT) { in GetConcatMsg() 165 smsConcat_->totalSeg = smsUserData_.header[i].udh.concat16bit.totalSeg; in GetConcatMsg() 166 smsConcat_->seqNum = smsUserData_.header[i].udh.concat16bit.seqNum; in GetConcatMsg() 167 smsConcat_->msgRef = smsUserData_.header[i].udh.concat16bit.msgRef; in GetConcatMsg() 177 for (int i = 0; i < smsUserData_.headerCnt; i++) { in GetPortAddress() [all …]
|
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_message.cpp | 533 …(memset_s(&smsUserData_, sizeof(struct SmsUDPackage), 0x00, sizeof(struct SmsUDPackage)) != EOK)) { in ConvertUserData() 543 ret = memcpy_s(&smsUserData_, udLen, &(smsTpdu_->data.deliver.userData), udLen); in ConvertUserData() 548 ret = memcpy_s(&smsUserData_, udLen, &(smsTpdu_->data.statusRep.userData), udLen); in ConvertUserData() 552 ret = memcpy_s(&smsUserData_, udLen, &(smsTpdu_->data.submit.userData), udLen); in ConvertUserData() 561 if (smsUserData_.length > 0) { in ConvertUserData() 568 …buff, MAX_MSG_TEXT_LEN, reinterpret_cast<uint8_t *>(smsUserData_.data), smsUserData_.length, langI… in ConvertUserData() 572 … buff, MAX_MSG_TEXT_LEN, reinterpret_cast<uint8_t *>(smsUserData_.data), smsUserData_.length); in ConvertUserData() 575 … visibleMessageBody_.insert(0, static_cast<char *>(smsUserData_.data), smsUserData_.length); in ConvertUserData() 577 rawUserData_.insert(0, static_cast<char *>(smsUserData_.data), smsUserData_.length); in ConvertUserData()
|
/base/telephony/sms_mms/services/sms/include/ |
D | sms_base_message.h | 134 struct SmsUDPackage smsUserData_; variable
|
/base/telephony/sms_mms/test/gtest/ |
D | zero_branch_sms_test.cpp | 939 smsBaseMessage->smsUserData_.headerCnt = 1; 940 smsBaseMessage->smsUserData_.header[0].udhType = UserDataHeadType::UDH_CONCAT_8BIT; 942 smsBaseMessage->smsUserData_.header[0].udhType = UserDataHeadType::UDH_CONCAT_16BIT; 944 smsBaseMessage->smsUserData_.header[0].udhType = UserDataHeadType::UDH_APP_PORT_8BIT; 946 smsBaseMessage->smsUserData_.header[0].udhType = UserDataHeadType::UDH_APP_PORT_16BIT; 948 smsBaseMessage->smsUserData_.header[0].udhType = UserDataHeadType::UDH_SPECIAL_SMS; 950 smsBaseMessage->smsUserData_.header[0].udhType = UserDataHeadType::UDH_APP_PORT_8BIT;
|
/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_message.cpp | 428 if (memset_s(&smsUserData_, sizeof(SmsUDPackage), 0x00, sizeof(SmsUDPackage)) != EOK) { in AnalsisHeader() 432 …if (memcpy_s(&smsUserData_, sizeof(SmsUDPackage), &(userData.userData), sizeof(SmsUDPackage)) != E… in AnalsisHeader()
|