Searched refs:pduLen (Results 1 – 10 of 10) sorted by relevance
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_tpdu_codec.cpp | 38 bool GsmSmsTpduCodec::EncodeSmsPdu(std::shared_ptr<SmsTpdu> sourceData, char *pdu, uint16_t pduLen,… in EncodeSmsPdu() argument 40 if (pduLen == 0 || pduLen > MAX_ENCODE_LEN) { in EncodeSmsPdu() 74 if (!encodeRet || bufLen > pduLen) { in EncodeSmsPdu()
|
D | gsm_sms_param_codec.cpp | 80 uint8_t GsmSmsParamCodec::DecodeSmscPdu(const uint8_t *pTpdu, uint8_t pduLen, struct AddressNumber … in DecodeSmscPdu() argument 83 return codec.DecodeSmscPdu(pTpdu, pduLen, address); in DecodeSmscPdu()
|
D | gsm_sms_param_decode.cpp | 166 uint8_t GsmSmsParamDecode::DecodeSmscPdu(const uint8_t *pTpdu, uint8_t pduLen, struct AddressNumber… in DecodeSmscPdu() argument 168 if (pTpdu == nullptr || pduLen == 0) { in DecodeSmscPdu() 183 if (addrLen >= pduLen || offset >= pduLen) { in DecodeSmscPdu() 192 if (addrLen > SMS_MAX_ADDRESS_LEN || (offset + addrLen) >= pduLen) { in DecodeSmscPdu() 205 if (addrLen > SMS_MAX_ADDRESS_LEN || (offset + addrLen) >= pduLen) { in DecodeSmscPdu()
|
/base/telephony/sms_mms/services/sms/ |
D | gsm_cb_umts_codec.cpp | 167 uint16_t pduLen = cbPduBuffer_->GetSize() - cbPduBuffer_->GetCurPosition(); in Decode3g7Bit() local 172 if (pduLen <= pageLenOffset) { in Decode3g7Bit() 173 TELEPHONY_LOGE("CB Msg Size err [%{pulbic}d]", pduLen); in Decode3g7Bit() 209 uint16_t pduLen = cbPduBuffer_->GetSize() - cbPduBuffer_->GetCurPosition(); in Decode3gUCS2() local 216 if (pduLen <= pageLenOffset) { in Decode3gUCS2()
|
D | sms_wap_push_handler.cpp | 176 uint32_t pduLen = pdustr.length(); in DeocdeCheckIsBlock() local 178 std::unique_ptr<char[]> pdus = std::make_unique<char[]>(pduLen); in DeocdeCheckIsBlock() 179 if (pdus == nullptr || pduLen == 0) { in DeocdeCheckIsBlock() 183 if (memcpy_s(pdus.get(), pduLen, pdustr.data(), pduLen) != EOK) { in DeocdeCheckIsBlock() 189 bool result = mmsMsg.DecodeMsg(std::move(pdus), pduLen); in DeocdeCheckIsBlock()
|
/base/telephony/sms_mms/test/gtest/ |
D | zero_branch_cdma_sms_test.cpp | 186 uint16_t pduLen = pdu.length(); variable 195 EXPECT_TRUE(buffer->SetIndex(pduLen)); 196 EXPECT_EQ(buffer->GetIndex(), pduLen); 197 EXPECT_FALSE(buffer->SetIndex(pduLen + 1)); 198 EXPECT_EQ(buffer->GetIndex(), pduLen); 210 EXPECT_TRUE(buffer->SetIndex(pduLen)); 211 EXPECT_EQ(buffer->GetIndex(), pduLen); 212 EXPECT_EQ(buffer->MoveForward(), pduLen); 213 EXPECT_EQ(buffer->MoveForward(), pduLen); 214 EXPECT_EQ(buffer->MoveBack(1), pduLen); [all …]
|
/base/telephony/sms_mms/services/sms/include/gsm/ |
D | gsm_sms_tpdu_codec.h | 39 …bool EncodeSmsPdu(std::shared_ptr<SmsTpdu> sourceData, char *pTpdu, uint16_t pduLen, uint16_t &buf…
|
D | gsm_sms_param_codec.h | 39 uint8_t DecodeSmscPdu(const uint8_t *pTpdu, uint8_t pduLen, struct AddressNumber &address);
|
D | gsm_sms_param_decode.h | 30 uint8_t DecodeSmscPdu(const uint8_t *pTpdu, uint8_t pduLen, struct AddressNumber &desAddrObj);
|
/base/telephony/ril_adapter/services/hril/src/ |
D | hril_sms.cpp | 102 size_t pduLen = message.pdu.length(); in AddSimMessage() local 103 if (pduLen > MAX_PDU_LEN) { in AddSimMessage()
|