Home
last modified time | relevance | path

Searched refs:pTPUD (Results 1 - 5 of 5) sorted by relevance

/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_user_data_decode.cpp41 SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *userData, struct SmsTpud *pTPUD) in DecodeGsmPdu()
45 if (!DecodeGsmHeadPdu(buffer, bHeaderInd, userData, pTPUD, udl, fillBits)) { in DecodeGsmPdu()
49 return DecodeGsmBodyPdu(buffer, bHeaderInd, userData, pTPUD, udl, fillBits); in DecodeGsmPdu()
53 struct SmsTpud *pTPUD, uint8_t &udl, uint8_t &fillBits) in DecodeGsmHeadPdu()
73 if (pTPUD != nullptr && udl > 0) { in DecodeGsmHeadPdu()
74 pTPUD->udl = udl; in DecodeGsmHeadPdu()
75 if (udl > sizeof(pTPUD->ud)) { in DecodeGsmHeadPdu()
83 if (buffer.data_ == nullptr || len > sizeof(pTPUD->ud)) { in DecodeGsmHeadPdu()
87 if (memcpy_s(pTPUD->ud, sizeof(pTPUD in DecodeGsmHeadPdu()
40 DecodeGsmPdu( SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *userData, struct SmsTpud *pTPUD) DecodeGsmPdu() argument
52 DecodeGsmHeadPdu(SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *userData, struct SmsTpud *pTPUD, uint8_t &udl, uint8_t &fillBits) DecodeGsmHeadPdu() argument
142 DecodeGsmBodyPdu(SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *userData, struct SmsTpud *pTPUD, uint8_t &udl, uint8_t fillBits) DecodeGsmBodyPdu() argument
161 Decode8bitPdu( SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *userData, struct SmsTpud *pTPUD) Decode8bitPdu() argument
205 Decode8bitPduPartData(SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *userData, struct SmsTpud *pTPUD, uint16_t current, uint8_t udl) Decode8bitPduPartData() argument
257 DecodeUcs2Pdu( SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *userData, struct SmsTpud *pTPUD) DecodeUcs2Pdu() argument
[all...]
H A Dgsm_user_data_pdu.cpp100 struct SmsUDPackage *userData, struct SmsTpud *pTPUD) in DecodeUserDataPdu()
102 if (userData == nullptr || pTPUD == nullptr) { in DecodeUserDataPdu()
121 result = decodePdu->DecodeGsmPdu(buffer, bHeaderInd, userData, pTPUD); in DecodeUserDataPdu()
124 result = decodePdu->Decode8bitPdu(buffer, bHeaderInd, userData, pTPUD); in DecodeUserDataPdu()
127 result = decodePdu->DecodeUcs2Pdu(buffer, bHeaderInd, userData, pTPUD); in DecodeUserDataPdu()
130 result = decodePdu->DecodeUcs2Pdu(buffer, bHeaderInd, userData, pTPUD); in DecodeUserDataPdu()
99 DecodeUserDataPdu(SmsReadBuffer &buffer, bool bHeaderInd, DataCodingScheme scheme, struct SmsUDPackage *userData, struct SmsTpud *pTPUD) DecodeUserDataPdu() argument
/base/telephony/sms_mms/services/sms/include/gsm/
H A Dgsm_user_data_decode.h27 bool DecodeGsmPdu(SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *pUserData, struct SmsTpud *pTPUD);
28 bool DecodeGsmHeadPdu(SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *pUserData, struct SmsTpud *pTPUD,
30 bool DecodeGsmBodyPdu(SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *pUserData, struct SmsTpud *pTPUD,
32 bool Decode8bitPdu(SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *pUserData, struct SmsTpud *pTPUD);
33 bool DecodeUcs2Pdu(SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *pUserData, struct SmsTpud *pTPUD);
39 struct SmsTpud *pTPUD, uint16_t current, uint8_t udl);
H A Dgsm_user_data_pdu.h30 struct SmsUDPackage *pUserData, struct SmsTpud *pTPUD);
/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_sms_test.cpp1184 SmsTpud *pTPUD = new SmsTpud(); in HWTEST_F() local
1194 EXPECT_GE(udPdu->DecodeUserDataPdu(*decodeBuffer, true, DataCodingScheme::DATA_CODING_7BIT, userData, pTPUD), 0); in HWTEST_F()
1195 EXPECT_GE(udPdu->DecodeUserDataPdu(*decodeBuffer, true, DataCodingScheme::DATA_CODING_8BIT, userData, pTPUD), 0); in HWTEST_F()
1196 EXPECT_GE(udPdu->DecodeUserDataPdu(*decodeBuffer, true, DataCodingScheme::DATA_CODING_UCS2, userData, pTPUD), 0); in HWTEST_F()
1198 udPdu->DecodeUserDataPdu(*decodeBuffer, true, DataCodingScheme::DATA_CODING_ASCII7BIT, userData, pTPUD), 0); in HWTEST_F()
1212 EXPECT_EQ(decode->DecodeGsmPdu(*decodeBuffer, true, userData, pTPUD), 0); in HWTEST_F()
1213 EXPECT_FALSE(decode->DecodeGsmPdu(*decodeBuffer, false, userData, pTPUD)); in HWTEST_F()
1214 EXPECT_FALSE(decode->Decode8bitPdu(*decodeBuffer, true, userData, pTPUD)); in HWTEST_F()
1215 EXPECT_FALSE(decode->DecodeGsmPdu(*decodeBuffer, false, userData, pTPUD)); in HWTEST_F()
1216 EXPECT_FALSE(decode->DecodeUcs2Pdu(*decodeBuffer, true, userData, pTPUD)); in HWTEST_F()
2062 SmsTpud *pTPUD = new SmsTpud(); HWTEST_F() local
[all...]

Completed in 6 milliseconds