Home
last modified time | relevance | path

Searched refs:SmsEncodingType (Results 1 – 10 of 10) sorted by relevance

/base/telephony/sms_mms/services/sms/cdma/
Dcdma_sms_message.cpp129 SmsEncodingType CdmaSmsMessage::CovertEncodingType(const DataCodingScheme &codingScheme) in CovertEncodingType()
131 SmsEncodingType encodingType = SmsEncodingType::ASCII_7BIT; in CovertEncodingType()
134 encodingType = SmsEncodingType::GSM7BIT; in CovertEncodingType()
137 encodingType = SmsEncodingType::ASCII_7BIT; in CovertEncodingType()
140 encodingType = SmsEncodingType::OCTET; in CovertEncodingType()
144 encodingType = SmsEncodingType::UNICODE; in CovertEncodingType()
190SmsEncodingType encodeType = transMsg_->data.broadcast.telesvcMsg.data.deliver.cmasData.encodeType; in PduAnalysis()
191 if ((encodeType == SmsEncodingType::KOREAN) || (encodeType == SmsEncodingType::GSMDCS)) { in PduAnalysis()
329 case SmsEncodingType::GSM7BIT: { in AnalsisUserData()
334 case SmsEncodingType::KOREAN: in AnalsisUserData()
[all …]
Dcdma_sms_sub_parameter.cpp359 if (data_.encodeType == SmsEncodingType::EPM || data_.encodeType == SmsEncodingType::GSMDCS) { in Encode()
365 … if (data_.encodeType == SmsEncodingType::ASCII_7BIT || data_.encodeType == SmsEncodingType::IA5) { in Encode()
370 } else if (data_.encodeType == SmsEncodingType::GSM7BIT) { in Encode()
375 } else if (data_.encodeType == SmsEncodingType::UNICODE) { in Encode()
410 if (data_.encodeType == SmsEncodingType::GSM7BIT) { in EncodeHeader7Bit()
568 if (data_.encodeType == SmsEncodingType::EPM || data_.encodeType == SmsEncodingType::GSMDCS) { in Decode()
580 … if (data_.encodeType == SmsEncodingType::ASCII_7BIT || data_.encodeType == SmsEncodingType::IA5) { in Decode()
582 } else if (data_.encodeType == SmsEncodingType::GSM7BIT) { in Decode()
584 } else if (data_.encodeType == SmsEncodingType::UNICODE) { in Decode()
590 …} else if (data_.encodeType == SmsEncodingType::EPM || data_.encodeType == SmsEncodingType::GSMDCS… in Decode()
[all …]
Dcdma_sms_sender.cpp642 transMsg->data.p2p.telesvcMsg.data.submit.userData.encodeType = SmsEncodingType::OCTET; in ResendTextDelivery()
696 transMsg->data.p2p.telesvcMsg.data.submit.userData.encodeType = SmsEncodingType::OCTET; in ResendDataDelivery()
/base/telephony/sms_mms/test/unittest/
Dcdma_sms_test.cpp195 void CdmaSmsTest::PrintEncodeType(SmsEncodingType encodeType, string s) const in PrintEncodeType()
198 case SmsEncodingType::OCTET: in PrintEncodeType()
201 case SmsEncodingType::EPM: in PrintEncodeType()
204 case SmsEncodingType::ASCII_7BIT: in PrintEncodeType()
207 case SmsEncodingType::IA5: in PrintEncodeType()
210 case SmsEncodingType::UNICODE: in PrintEncodeType()
213 case SmsEncodingType::SHIFT_JIS: in PrintEncodeType()
216 case SmsEncodingType::KOREAN: in PrintEncodeType()
219 case SmsEncodingType::LATIN_HEBREW: in PrintEncodeType()
222 case SmsEncodingType::LATIN: in PrintEncodeType()
[all …]
Dcdma_sms_test.h55 void PrintEncodeType(SmsEncodingType encodeType, std::string s = " ") const;
/base/telephony/sms_mms/services/sms/include/cdma/
Dcdma_sms_common.h61 enum class SmsEncodingType : uint8_t { enum
266 SmsEncodingType encodeType;
272 SmsEncodingType encodeType;
279 SmsEncodingType encodeType;
Dcdma_sms_message.h63 SmsEncodingType CovertEncodingType(const DataCodingScheme &codingScheme);
Dcdma_sms_sub_parameter.h145 static inline SmsEncodingType GetEncodingType(uint8_t v);
/base/telephony/sms_mms/test/gtest/
Dzero_branch_cdma_sms_test.cpp87 EXPECT_EQ(cdmaSmsMessage->CovertEncodingType(codingType), SmsEncodingType::GSM7BIT);
89 EXPECT_EQ(cdmaSmsMessage->CovertEncodingType(codingType), SmsEncodingType::ASCII_7BIT);
91 EXPECT_EQ(cdmaSmsMessage->CovertEncodingType(codingType), SmsEncodingType::OCTET);
93 EXPECT_EQ(cdmaSmsMessage->CovertEncodingType(codingType), SmsEncodingType::UNICODE);
95 EXPECT_EQ(cdmaSmsMessage->CovertEncodingType(codingType), SmsEncodingType::UNICODE);
120 userData.encodeType = SmsEncodingType::GSM7BIT;
122 userData.encodeType = SmsEncodingType::KOREAN;
124 userData.encodeType = SmsEncodingType::EUCKR;
126 userData.encodeType = SmsEncodingType::IA5;
128 userData.encodeType = SmsEncodingType::ASCII_7BIT;
[all …]
Dcdma_sms_gtest.cpp293 if (userData.encodeType == SmsEncodingType::UNICODE) { in GetUserDataString()