Searched refs:pHeader (Results 1 – 4 of 4) sorted by relevance
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_user_data_pdu.cpp | 373 bool GsmUserDataPdu::DecodeHeader(SmsReadBuffer &buffer, struct SmsUDH &pHeader, uint16_t &headerLe… in DecodeHeader() argument 381 pHeader.udhType = oneByte; in DecodeHeader() 382 switch (pHeader.udhType) { in DecodeHeader() 384 if (!DecodeHeaderConcat8Bit(buffer, pHeader)) { in DecodeHeader() 390 if (!DecodeHeaderConcat16Bit(buffer, pHeader)) { in DecodeHeader() 396 if (!DecodeHeaderAppPort8Bit(buffer, pHeader)) { in DecodeHeader() 402 if (!DecodeHeaderAppPort16Bit(buffer, pHeader)) { in DecodeHeader() 408 if (!DecodeHeaderPartData(buffer, pHeader, oneByte)) { in DecodeHeader() 423 bool GsmUserDataPdu::DecodeHeaderPartData(SmsReadBuffer &buffer, struct SmsUDH &pHeader, uint8_t on… in DecodeHeaderPartData() argument 425 pHeader.udhType = oneByte; in DecodeHeaderPartData() [all …]
|
/base/telephony/sms_mms/services/sms/include/gsm/ |
D | gsm_user_data_pdu.h | 31 bool DecodeHeader(SmsReadBuffer &buffer, struct SmsUDH &pHeader, uint16_t &headerLen); 32 void DebugDecodeHeader(const struct SmsUDH &pHeader); 40 bool DecodeHeaderPartData(SmsReadBuffer &buffer, struct SmsUDH &pHeader, uint8_t oneByte); 41 bool DecodeHeaderConcat8Bit(SmsReadBuffer &buffer, struct SmsUDH &pHeader); 42 bool DecodeHeaderConcat16Bit(SmsReadBuffer &buffer, struct SmsUDH &pHeader); 43 bool DecodeHeaderAppPort8Bit(SmsReadBuffer &buffer, struct SmsUDH &pHeader); 44 bool DecodeHeaderAppPort16Bit(SmsReadBuffer &buffer, struct SmsUDH &pHeader); 45 bool DecodeHeaderSpecialSms(SmsReadBuffer &buffer, struct SmsUDH &pHeader); 46 bool DecodeHeaderReplyAddress(SmsReadBuffer &buffer, struct SmsUDH &pHeader); 47 bool DecodeHeaderSingleShift(SmsReadBuffer &buffer, struct SmsUDH &pHeader); [all …]
|
/base/telephony/sms_mms/test/gtest/ |
D | zero_branch_sms_test.cpp | 893 SmsUDH *pHeader = new SmsUDH(); variable 895 pHeader->udhType = UserDataHeadType::UDH_CONCAT_8BIT; 899 EXPECT_EQ(gsmUserDataPdu->DecodeHeader(*decodeBuffer, *pHeader, headerLen), 0); 900 pHeader->udhType = UserDataHeadType::UDH_CONCAT_16BIT; 901 EXPECT_EQ(gsmUserDataPdu->DecodeHeader(*decodeBuffer, *pHeader, headerLen), 0); 902 pHeader->udhType = UserDataHeadType::UDH_APP_PORT_8BIT; 903 EXPECT_EQ(gsmUserDataPdu->DecodeHeader(*decodeBuffer, *pHeader, headerLen), 0); 904 pHeader->udhType = UserDataHeadType::UDH_APP_PORT_16BIT; 905 EXPECT_EQ(gsmUserDataPdu->DecodeHeader(*decodeBuffer, *pHeader, headerLen), 0); 906 pHeader->udhType = UserDataHeadType::UDH_SPECIAL_SMS; [all …]
|
/base/hiviewdfx/hiview_lite/ |
D | hiview_file.c | 57 HiviewFileHeader *pHeader = &(fp->header); in InitHiviewFile() local 58 FileHeaderCommon *pCommon = &(pHeader->common); in InitHiviewFile() 60 pHeader->size = size + sizeof(HiviewFileHeader); in InitHiviewFile() 82 pHeader->createTime = (uint32)(HIVIEW_GetCurrentTime() / MS_PER_SECOND); in InitHiviewFile() 83 pHeader->rCursor = sizeof(HiviewFileHeader); in InitHiviewFile() 84 pHeader->wCursor = sizeof(HiviewFileHeader); in InitHiviewFile()
|