Home
last modified time | relevance | path

Searched refs:ucLength (Results 1 – 8 of 8) sorted by relevance

/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/
DRtcpChunkTest.cpp54 chunkItem->ucLength = 18; in TEST_F()
56 RtpDt_UChar* pcBuffer = new RtpDt_UChar[chunkItem->ucLength]; in TEST_F()
58 memcpy(pcBuffer, "sleepy@example.com", chunkItem->ucLength); in TEST_F()
89 EXPECT_EQ(sdesItem->ucLength, 18); in TEST_F()
109 chunkItem->ucLength = 18; in TEST_F()
111 RtpDt_UChar* pcBuffer = new RtpDt_UChar[chunkItem->ucLength]; in TEST_F()
113 memcpy(pcBuffer, "sleepy@example.com", chunkItem->ucLength); in TEST_F()
126 chunkItemSec->ucLength = 18; in TEST_F()
128 memcpy(pcBuffer, "google@example.com", chunkItemSec->ucLength); in TEST_F()
151 EXPECT_EQ(sdesItem->ucLength, 18); in TEST_F()
[all …]
DRtcpSdesPacketTest.cpp55 sdesItem->ucLength = 18; in TEST_F()
57 RtpDt_UChar* pcBuffer = new RtpDt_UChar[sdesItem->ucLength]; in TEST_F()
59 memcpy(pcBuffer, "sleepy@example.com", sdesItem->ucLength); in TEST_F()
97 EXPECT_EQ(tmpSdesItem->ucLength, 18); in TEST_F()
116 sdesItem->ucLength = 18; in TEST_F()
118 RtpDt_UChar* pcBuffer = new RtpDt_UChar[sdesItem->ucLength]; in TEST_F()
120 memcpy(pcBuffer, "sleepy@example.com", sdesItem->ucLength); in TEST_F()
132 sdesItemSec->ucLength = 18; in TEST_F()
134 memcpy(pcBuffer, "google@example.com", sdesItemSec->ucLength); in TEST_F()
161 EXPECT_EQ(tmpSdesItem->ucLength, 18); in TEST_F()
[all …]
DRtcpPacketTest.cpp123 EXPECT_EQ(sdesItem->ucLength, 31); in TEST_F()
452 EXPECT_EQ(sdesItem->ucLength, 20); in TEST_F()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/
DRtcpChunk.cpp82 pstSdesItem->ucLength = *(reinterpret_cast<RtpDt_UChar*>(pucChunkBuf)); in decodeRtcpChunk()
87 pstSdesItem->ucType, pstSdesItem->ucLength); in decodeRtcpChunk()
90 RtpDt_UChar* pcSdesBuf = new RtpDt_UChar[pstSdesItem->ucLength]; in decodeRtcpChunk()
97 memcpy(pcSdesBuf, pucChunkBuf, pstSdesItem->ucLength); in decodeRtcpChunk()
99 pucChunkBuf = pucChunkBuf + pstSdesItem->ucLength; in decodeRtcpChunk()
100 usChunkLen = usChunkLen + pstSdesItem->ucLength; in decodeRtcpChunk()
144 *(reinterpret_cast<RtpDt_UChar*>(pucBuffer)) = pstSdesItem->ucLength; in formRtcpChunk()
149 memcpy(pucBuffer, pstSdesItem->pValue, pstSdesItem->ucLength); in formRtcpChunk()
150 pucBuffer = pucBuffer + pstSdesItem->ucLength; in formRtcpChunk()
151 uiCurPos = uiCurPos + pstSdesItem->ucLength; in formRtcpChunk()
DRtcpConfigInfo.cpp30 m_arrSdesInfo[uiCount].ucLength = RTP_ZERO; in RtcpConfigInfo()
42 m_arrSdesInfo[uiCount].ucLength = 0; in ~RtcpConfigInfo()
74 uiSdesPktSize += m_arrSdesInfo[uiCount].ucLength; in estimateSdesPktSize()
94 m_arrSdesInfo[uiIndex].ucLength = pstSdesItem->ucLength; in addRtcpSdesItem()
95 if (pstSdesItem->ucLength > RTP_ZERO) in addRtcpSdesItem()
97 RtpDt_UChar* pcBuffer = new RtpDt_UChar[pstSdesItem->ucLength]; in addRtcpSdesItem()
102 memcpy(pcBuffer, pstSdesItem->pValue, pstSdesItem->ucLength); in addRtcpSdesItem()
DRtpSession.cpp1092 RtpDt_UChar* pucSdesBuf = new RtpDt_UChar[pstSdesItem->ucLength]; in constructSdesPkt()
1100 pstTmpSdesItem->ucLength = pstSdesItem->ucLength; in constructSdesPkt()
1101 memcpy(pucSdesBuf, pstSdesItem->pValue, pstSdesItem->ucLength); in constructSdesPkt()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/include/rtp/utils/
DRtpGlobal.h155 RtpDt_UChar ucLength; member
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/
DRtpService.cpp34 stSdesItem.ucLength = uiLength; in addSdesItem()