Home
last modified time | relevance | path

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

/ohos5.0/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_cdma_sms_test.cpp186 uint16_t pduLen = pdu.length(); variable
195 EXPECT_TRUE(buffer->SetIndex(pduLen));
196 EXPECT_EQ(buffer->GetIndex(), pduLen);
198 EXPECT_EQ(buffer->GetIndex(), pduLen);
210 EXPECT_TRUE(buffer->SetIndex(pduLen));
230 uint16_t pduLen = pdu.length(); variable
249 } while (index < pduLen);
264 uint16_t pduLen = pdu.length(); variable
270 uint32_t bitLen = pduLen * BIT8;
428 } while (index < pduLen);
[all …]
/ohos5.0/base/telephony/sms_mms/services/sms/
H A Dgsm_cb_umts_codec.cpp168 uint16_t pduLen = cbPduBuffer_->GetSize() - cbPduBuffer_->GetCurPosition(); in Decode3g7Bit() local
173 if (pduLen <= pageLenOffset) { in Decode3g7Bit()
174 TELEPHONY_LOGE("CB Msg Size err [%{public}d]", pduLen); in Decode3g7Bit()
210 uint16_t pduLen = cbPduBuffer_->GetSize() - cbPduBuffer_->GetCurPosition(); in Decode3gUCS2() local
217 if (pduLen <= pageLenOffset) { in Decode3gUCS2()
H A Dsms_wap_push_handler.cpp176 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()
/ohos5.0/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_tpdu_codec.cpp38 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()
H A Dgsm_sms_param_decode.cpp181 uint8_t GsmSmsParamDecode::DecodeSmscPdu(const uint8_t *pTpdu, uint8_t pduLen, struct AddressNumber… in DecodeSmscPdu() argument
183 if (pTpdu == nullptr || pduLen == 0) { in DecodeSmscPdu()
198 if (addrLen >= pduLen || offset >= pduLen) { in DecodeSmscPdu()
207 if (addrLen > SMS_MAX_ADDRESS_LEN || (offset + addrLen) >= pduLen) { in DecodeSmscPdu()
220 if (addrLen > SMS_MAX_ADDRESS_LEN || (offset + addrLen) >= pduLen) { in DecodeSmscPdu()
H A Dgsm_sms_param_codec.cpp80 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()
/ohos5.0/base/telephony/sms_mms/services/sms/include/gsm/
H A Dgsm_sms_tpdu_codec.h39 …bool EncodeSmsPdu(std::shared_ptr<SmsTpdu> sourceData, char *pTpdu, uint16_t pduLen, uint16_t &buf…
H A Dgsm_sms_param_codec.h39 uint8_t DecodeSmscPdu(const uint8_t *pTpdu, uint8_t pduLen, struct AddressNumber &address);
H A Dgsm_sms_param_decode.h30 uint8_t DecodeSmscPdu(const uint8_t *pTpdu, uint8_t pduLen, struct AddressNumber &desAddrObj);
/ohos5.0/base/telephony/ril_adapter/services/hril/src/
H A Dhril_sms.cpp148 size_t pduLen = message.pdu.length(); in AddSimMessage() local
149 if (pduLen > MAX_PDU_LEN) { in AddSimMessage()