Home
last modified time | relevance | path

Searched refs:cmasData (Results 1 – 7 of 7) sorted by relevance

/base/telephony/sms_mms/test/unittest/
Dcdma_sms_test.cpp272 void CdmaSmsTest::PrintCmasData(SmsTeleSvcCmasData cmasData, string s) const in PrintCmasData() argument
274 if (cmasData.dataLen == 0) { in PrintCmasData()
277 PrintEncodeType(cmasData.encodeType, s); in PrintCmasData()
278 cout << s << "dataLen : " << cmasData.dataLen << endl; in PrintCmasData()
280 if (cmasData.encodeType == SmsEncodingType::UNICODE) { in PrintCmasData()
281 unsigned char unicodeChar[cmasData.dataLen]; in PrintCmasData()
282 for (uint8_t i = 0; i < cmasData.dataLen; i++) { in PrintCmasData()
283 unicodeChar[i] = cmasData.alertText[i]; in PrintCmasData()
285 ss << UnicodeToString(unicodeChar, cmasData.dataLen); in PrintCmasData()
287 for (uint8_t i = 0; i < cmasData.dataLen; i++) { in PrintCmasData()
[all …]
Dcdma_sms_test.h57 void PrintCmasData(SmsTeleSvcCmasData cmasData, std::string s = " ") const;
/base/telephony/sms_mms/services/sms/cdma/
Dcdma_sms_message.cpp186 if (transMsg_->data.broadcast.telesvcMsg.data.deliver.cmasData.isWrongRecodeType) { in PduAnalysis()
190 …SmsEncodingType encodeType = transMsg_->data.broadcast.telesvcMsg.data.deliver.cmasData.encodeType; in PduAnalysis()
370 category_ = static_cast<int8_t>(deliver.cmasData.category); in AnalsisCMASMsg()
371 responseType_ = static_cast<int8_t>(deliver.cmasData.responseType); in AnalsisCMASMsg()
372 severity_ = static_cast<int8_t>(deliver.cmasData.severity); in AnalsisCMASMsg()
373 urgency_ = static_cast<int8_t>(deliver.cmasData.urgency); in AnalsisCMASMsg()
374 certainty_ = static_cast<int8_t>(deliver.cmasData.certainty); in AnalsisCMASMsg()
375 messageClass_ = static_cast<int8_t>(deliver.cmasData.alertHandle); in AnalsisCMASMsg()
380 userData.userData.length = deliver.cmasData.dataLen; in AnalsisCMASMsg()
381 userData.encodeType = deliver.cmasData.encodeType; in AnalsisCMASMsg()
[all …]
Dcdma_sms_teleservice_message.cpp210 parameter_.push_back(std::make_unique<CdmaSmsCmasData>(msg.cmasData)); in CdmaSmsDeliverMessage()
/base/telephony/sms_mms/test/gtest/
Dcdma_sms_gtest.cpp266 EXPECT_EQ(msg.data.broadcast.telesvcMsg.data.deliver.cmasData.dataLen, 74);
267 … EXPECT_EQ(msg.data.broadcast.telesvcMsg.data.deliver.cmasData.urgency, SmsCmaeUrgency::EXPECTED);
Dzero_branch_cdma_sms_test.cpp140 deliver.cmasData.dataLen = DATA_LENGTH;
/base/telephony/sms_mms/services/sms/include/cdma/
Dcdma_sms_common.h333 SmsTeleSvcCmasData cmasData; member