Searched refs:cbMessage (Results 1 – 4 of 4) sorted by relevance
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_cb_handler.cpp | 50 bool GsmSmsCbHandler::CheckCbActive(const std::shared_ptr<GsmCbCodec> &cbMessage) in CheckCbActive() argument 52 if (cbMessage == nullptr) { in CheckCbActive() 59 uint8_t GsmSmsCbHandler::CheckCbMessage(const std::shared_ptr<GsmCbCodec> &cbMessage) in CheckCbMessage() argument 63 if (cbMessage == nullptr) { in CheckCbMessage() 68 std::shared_ptr<GsmCbCodec::GsmCbMessageHeader> cbHeader = cbMessage->GetCbHeader(); in CheckCbMessage() 86 cbInfo.cbMsgs.insert(std::make_pair(cbHeader->page, cbMessage)); in CheckCbMessage() 94 AddCbMessageToList(cbMessage); in CheckCbMessage() 101 …:unique_ptr<SmsCbInfo> GsmSmsCbHandler::FindCbMessage(const std::shared_ptr<GsmCbCodec> &cbMessage) in FindCbMessage() argument 104 if (cbMessage == nullptr) { in FindCbMessage() 109 std::shared_ptr<GsmCbCodec::GsmCbMessageHeader> cbHeader = cbMessage->GetCbHeader(); in FindCbMessage() [all …]
|
/base/telephony/sms_mms/services/sms/include/gsm/ |
D | gsm_sms_cb_handler.h | 78 bool CheckCbActive(const std::shared_ptr<GsmCbCodec> &cbMessage); 79 uint8_t CheckCbMessage(const std::shared_ptr<GsmCbCodec> &cbMessage); 80 std::unique_ptr<SmsCbInfo> FindCbMessage(const std::shared_ptr<GsmCbCodec> &cbMessage); 81 bool AddCbMessageToList(const std::shared_ptr<GsmCbCodec> &cbMessage); 82 bool RemoveCbMessageFromList(const std::shared_ptr<GsmCbCodec> &cbMessage); 83 bool SendCbMessageBroadcast(const std::shared_ptr<GsmCbCodec> &cbMessage); 85 bool SetWantData(EventFwk::Want &want, const std::shared_ptr<GsmCbCodec> &cbMessage); 87 void GetCbData(const std::shared_ptr<GsmCbCodec> &cbMessage, SmsCbData::CbData &SendData);
|
/base/telephony/sms_mms/test/fuzztest/setgetcbconfig_fuzzer/ |
D | setgetcbconfig_fuzzer.cpp | 126 auto cbMessage = GsmCbCodec::CreateCbMessage(pdu); in UpdataCBMessage() local 127 if (cbMessage == nullptr) { in UpdataCBMessage() 130 cbMessage->GetCbHeader(); in UpdataCBMessage() 138 cbMessage->PduAnalysis(StringUtils::HexToByteVector(pdu)); in UpdataCBMessage() 140 …auto gsmCodec = std::make_shared<GsmCbGsmCodec>(cbMessage->cbHeader_, cbMessage->cbPduBuffer_, cbM… in UpdataCBMessage() 141 …to umtsCodec = std::make_shared<GsmCbUmtsCodec>(cbMessage->cbHeader_, cbMessage->cbPduBuffer_, cbM… in UpdataCBMessage() 156 cbMessage->ConvertToUTF8(raw, message); in UpdataCBMessage()
|
/base/telephony/sms_mms/test/gtest/ |
D | zero_branch_cb_test.cpp | 317 auto cbMessage = std::make_shared<GsmCbCodec>(); variable 324 EXPECT_EQ(gsmSmsCbHandler->CheckCbMessage(cbMessage), 0); 325 EXPECT_TRUE(gsmSmsCbHandler->FindCbMessage(cbMessage) == nullptr); 326 EXPECT_FALSE(gsmSmsCbHandler->AddCbMessageToList(cbMessage)); 327 EXPECT_FALSE(gsmSmsCbHandler->SendCbMessageBroadcast(cbMessage)); 328 cbMessage->cbHeader_ = std::make_shared<GsmCbCodec::GsmCbMessageHeader>(); 329 EXPECT_EQ(gsmSmsCbHandler->CheckCbMessage(cbMessage), 0); 330 cbMessage->cbHeader_->totalPages = 1; 331 EXPECT_EQ(gsmSmsCbHandler->CheckCbMessage(cbMessage), 0x01); 332 EXPECT_FALSE(gsmSmsCbHandler->AddCbMessageToList(cbMessage)); [all …]
|