Searched refs:cmasData (Results 1 – 7 of 7) sorted by relevance
272 void CdmaSmsTest::PrintCmasData(SmsTeleSvcCmasData cmasData, string s) const in PrintCmasData() argument274 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 …]
57 void PrintCmasData(SmsTeleSvcCmasData cmasData, std::string s = " ") const;
186 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 …]
210 parameter_.push_back(std::make_unique<CdmaSmsCmasData>(msg.cmasData)); in CdmaSmsDeliverMessage()
266 EXPECT_EQ(msg.data.broadcast.telesvcMsg.data.deliver.cmasData.dataLen, 74);267 … EXPECT_EQ(msg.data.broadcast.telesvcMsg.data.deliver.cmasData.urgency, SmsCmaeUrgency::EXPECTED);
140 deliver.cmasData.dataLen = DATA_LENGTH;
333 SmsTeleSvcCmasData cmasData; member