/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/ |
D | RtpSession.cpp | 32 m_usRtpPort(RTP_ZERO), in RtpSession() 33 m_usRtcpPort(RTP_ZERO), in RtpSession() 35 m_usExtHdrLen(RTP_ZERO), in RtpSession() 40 m_usRTCPTimerVal(RTP_ZERO), in RtpSession() 41 m_usSeqNum(RTP_ZERO), in RtpSession() 42 m_usSeqNumCycles(RTP_ZERO), in RtpSession() 45 m_uiSsrc(RTP_ZERO), in RtpSession() 47 m_uiRtpSendPktCount(RTP_ZERO), in RtpSession() 48 m_uiRtpSendOctCount(RTP_ZERO), in RtpSession() 49 m_uiRtcpSendPktCount(RTP_ZERO), in RtpSession() [all …]
|
D | RtcpPacket.cpp | 173 RtpDt_UInt32 uiCurPos = RTP_ZERO; in decodeRtcpPacket() 207 RTP_TRACE_ERROR("[DecodeRtcpPacket] RTCP version[%d] is Invalid.", uiVersion, RTP_ZERO); in decodeRtcpPacket() 240 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeRtcpPacket() 256 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeRtcpPacket() 274 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeRtcpPacket() 291 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeRtcpPacket() 308 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeRtcpPacket() 323 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeRtcpPacket() 342 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeRtcpPacket() 353 uiPktType, RTP_ZERO); in decodeRtcpPacket() [all …]
|
D | RtpReceiverInfo.cpp | 23 m_uiSsrc(RTP_ZERO), in RtpReceiverInfo() 25 m_uiTotalRcvdRtpPkts(RTP_ZERO), in RtpReceiverInfo() 26 m_uiTotalRcvdRtpOcts(RTP_ZERO), in RtpReceiverInfo() 28 m_usPort(RTP_ZERO), in RtpReceiverInfo() 30 m_prevRtpTimestamp(RTP_ZERO), in RtpReceiverInfo() 31 m_stPreSrTimestamp(RTP_ZERO), in RtpReceiverInfo() 32 m_stLastSrNtpTimestamp(RTP_ZERO), in RtpReceiverInfo() 37 m_stPrevNtpTimestamp.m_uiNtpHigh32Bits = RTP_ZERO; in RtpReceiverInfo() 38 m_stPrevNtpTimestamp.m_uiNtpLow32Bits = RTP_ZERO; in RtpReceiverInfo() 40 memset(&m_stRtpSource, RTP_ZERO, sizeof(tRTP_SOURCE)); in RtpReceiverInfo() [all …]
|
D | RtpStackUtil.cpp | 27 return RTP_ZERO; in getSequenceNumber() 30 RtpDt_UInt32 uiByte4Data = RTP_ZERO; in getSequenceNumber() 31 RtpDt_UInt16 usSeqNum = RTP_ZERO; in getSequenceNumber() 43 return RTP_ZERO; in getRtpSsrc() 46 RtpDt_UInt32 uiByte4Data = RTP_ZERO; in getRtpSsrc() 57 return RTP_ZERO; in getRtcpSsrc() 67 RtpDt_UInt32 uiTmpRand = RTP_ZERO; in generateNewSsrc() 81 return RTP_ZERO; in getMidFourOctets() 98 return RTP_ZERO; in calcRtpTimestamp() 101 RtpDt_Int32 iTimeDiffHigh32Bits = RTP_ZERO; in calcRtpTimestamp() [all …]
|
D | RtpTimerInfo.cpp | 29 m_uiTp(RTP_ZERO), in RtpTimerInfo() 30 m_uiTc(RTP_ZERO), in RtpTimerInfo() 31 m_uiTn(RTP_ZERO), in RtpTimerInfo() 34 m_uiSenders(RTP_ZERO), in RtpTimerInfo() 35 m_uiRtcpBw(RTP_ZERO), in RtpTimerInfo() 36 m_uiWeSent(RTP_ZERO), in RtpTimerInfo() 37 m_ulAvgRtcpSize(RTP_ZERO), in RtpTimerInfo() 62 m_uiTp = RTP_ZERO; in cleanUp() 63 m_uiTc = RTP_ZERO; in cleanUp() 64 m_uiTn = RTP_ZERO; in cleanUp() [all …]
|
D | RtpPacket.cpp | 25 m_ucPadLen(RTP_ZERO) in RtpPacket() 72 RtpDt_UInt32 uiRtpUtlBufLen = RTP_ZERO; in formPacket() 79 RTP_TRACE_WARNING("formPacket Failed", RTP_ZERO, RTP_ZERO); in formPacket() 107 if (uiPadLen != RTP_ZERO) in formPacket() 113 if (m_ucPadLen > RTP_ZERO) in formPacket() 116 memset(pcRtpBuf, RTP_ZERO, m_ucPadLen); in formPacket() 132 RtpDt_UInt32 uiRtpBufPos = RTP_ZERO; in decodePacket() 133 RtpDt_UInt32 uiRtpUtlBufLen = RTP_ZERO; in decodePacket() 183 RtpDt_UChar ucPadBit = RTP_ZERO; in decodePacket() 186 if (ucPadBit > RTP_ZERO) in decodePacket() [all …]
|
D | RtcpSdesPacket.cpp | 54 while ((unSourceCount > RTP_ZERO) && (usSdesLen > RTP_ZERO)) in decodeSdesPacket() 59 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeSdesPacket() 63 RtpDt_UInt16 usChunkSize = RTP_ZERO; in decodeSdesPacket() 73 RtpDt_UInt32 uiPadLen = RTP_ZERO; in decodeSdesPacket() 76 if (uiPadLen != RTP_ZERO) in decodeSdesPacket() 111 RtpDt_UInt32 uiSdesPktLen = RTP_ZERO; in formSdesPacket() 120 if (uiPadLen > RTP_ZERO) in formSdesPacket() 125 memset(pucBuffer, RTP_ZERO, uiPadLen); in formSdesPacket()
|
D | RtcpConfigInfo.cpp | 21 m_uiSdesItemCnt(RTP_ZERO), in RtcpConfigInfo() 22 m_uiByeReasonSize(RTP_ZERO), in RtcpConfigInfo() 23 m_uiAppDepDataSize(RTP_ZERO), in RtcpConfigInfo() 26 for (RtpDt_UInt32 uiCount = RTP_ZERO; uiCount < RTP_MAX_SDES_TYPE; uiCount++) in RtcpConfigInfo() 29 m_arrSdesInfo[uiCount].ucType = RTP_ZERO; in RtcpConfigInfo() 30 m_arrSdesInfo[uiCount].ucLength = RTP_ZERO; in RtcpConfigInfo() 36 for (RtpDt_UInt32 uiCount = RTP_ZERO; uiCount < RTP_MAX_SDES_TYPE; uiCount++) in ~RtcpConfigInfo() 70 for (RtpDt_UInt32 uiCount = RTP_ZERO; uiCount < RTP_MAX_SDES_TYPE; uiCount++) in estimateSdesPktSize() 79 if (uiTmpSize != RTP_ZERO) in estimateSdesPktSize() 95 if (pstSdesItem->ucLength > RTP_ZERO) in addRtcpSdesItem()
|
D | RtcpChunk.cpp | 21 m_uiSsrc(RTP_ZERO), in RtcpChunk() 62 while (uiSdesItemCnt > RTP_ZERO) in decodeRtcpChunk() 67 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeRtcpChunk() 70 memset(pstSdesItem, RTP_ZERO, sizeof(tRTCP_SDES_ITEM)); in decodeRtcpChunk() 93 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeRtcpChunk() 155 pucBuffer[0] = (RtpDt_UChar)RTP_ZERO; in formRtcpChunk() 160 if (uiPadLen > RTP_ZERO) in formRtcpChunk() 164 memset(pucBuffer, RTP_ZERO, uiPadLen); in formRtcpChunk()
|
D | RtcpByePacket.cpp | 77 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeByePacket() 95 if (uiByte4Data > RTP_ZERO) in decodeByePacket() 100 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeByePacket() 107 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeByePacket() 111 memset(pucReason, RTP_ZERO, uiByte4Data); in decodeByePacket() 154 if (uiPadLen > RTP_ZERO) in formByePacket() 160 memset(pucBuffer, RTP_ZERO, uiPadLen); in formByePacket()
|
D | RtpHeader.cpp | 22 m_ucVersion(RTP_ZERO), in RtpHeader() 23 m_ucPadding(RTP_ZERO), in RtpHeader() 24 m_ucExtension(RTP_ZERO), in RtpHeader() 25 m_ucCsrcCount(RTP_ZERO), in RtpHeader() 27 m_ucMarker(RTP_ZERO), in RtpHeader() 28 m_ucPayloadType(RTP_ZERO), in RtpHeader() 29 m_usSequenceNumber(RTP_ZERO), in RtpHeader() 30 m_uiTimestamp(RTP_ZERO), in RtpHeader() 31 m_uiSsrc(RTP_ZERO) in RtpHeader() 146 RtpDt_UInt16 usTmpData = RTP_ZERO; in formHeader() [all …]
|
D | RtcpRrPacket.cpp | 82 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeRrPacket() 92 if (usProfExtLen > RTP_ZERO) in decodeRrPacket() 97 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeRrPacket() 104 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeRrPacket() 151 if (uiPadLen > RTP_ZERO) in formRrPacket() 158 memset(pucBuffer, RTP_ZERO, uiPadLen); in formRrPacket()
|
D | RtcpSrPacket.cpp | 29 m_uiRtpTimestamp(RTP_ZERO), in RtcpSrPacket() 30 m_uiSendPktCount(RTP_ZERO), in RtcpSrPacket() 31 m_uiSendOctCount(RTP_ZERO) in RtcpSrPacket() 33 memset(&m_stNtpTimestamp, RTP_ZERO, sizeof(tRTP_NTP_TIME)); in RtcpSrPacket() 250 "RtcpPacket::decodeRtcpPacket, RR packet Decoding Error[%d]", eDecodeRes, RTP_ZERO); in decodeSrPacket() 347 RTP_TRACE_WARNING("[formSrPacket], Report Block Encoding Error", RTP_ZERO, RTP_ZERO); in formSrPacket() 357 if (uiPadLen != RTP_ZERO) in formSrPacket() 361 memset(pucBuffer, RTP_ZERO, uiPadLen); in formSrPacket() 379 pobjRtcpPktBuf->setLength(RTP_ZERO); in formSrPacket()
|
D | RtcpXrPacket.cpp | 61 RTP_TRACE_WARNING("decodeRtcpXrPacket not implemented.", RTP_ZERO, RTP_ZERO); in decodeRtcpXrPacket() 76 RTP_TRACE_ERROR("formXrPacket with null buffer", RTP_ZERO, RTP_ZERO); in formRtcpXrPacket() 92 RtpDt_UInt32 uiPadLen = RTP_ZERO; in formRtcpXrPacket() 94 if (uiPadLen > RTP_ZERO) in formRtcpXrPacket() 100 memset(pucBuffer, RTP_ZERO, uiPadLen); in formRtcpXrPacket()
|
D | RtcpReportBlock.cpp | 20 m_uiSsrc(RTP_ZERO), in RtcpReportBlock() 21 m_ucFracLost(RTP_ZERO), in RtcpReportBlock() 22 m_uiCumNumPktLost(RTP_ZERO), in RtcpReportBlock() 23 m_uiExtHighSeqRcv(RTP_ZERO), in RtcpReportBlock() 24 m_uiJitter(RTP_ZERO), in RtcpReportBlock() 25 m_uiLastSR(RTP_ZERO), in RtcpReportBlock() 26 m_uiDelayLastSR(RTP_ZERO) in RtcpReportBlock()
|
D | RtcpHeader.cpp | 21 m_ucVersion(RTP_ZERO), in RtcpHeader() 23 m_ucReceptionReportCount(RTP_ZERO), in RtcpHeader() 24 m_ucPacketType(RTP_ZERO), in RtcpHeader() 25 m_usLength(RTP_ZERO), in RtcpHeader() 26 m_uiSsrc(RTP_ZERO) in RtcpHeader() 171 RtpDt_UInt16 usUtlData = RTP_ZERO; in formPartialRtcpHeader() 172 RtpDt_UInt16 usTmpData = RTP_ZERO; in formPartialRtcpHeader()
|
D | RtcpFbPacket.cpp | 100 RTP_TRACE_ERROR("[Memory Error] new returned NULL.", RTP_ZERO, RTP_ZERO); in decodeRtcpFbPacket() 117 RTP_TRACE_ERROR("formFbPacket with null buffer", RTP_ZERO, RTP_ZERO); in formRtcpFbPacket() 139 if (uiPadLen > RTP_ZERO) in formRtcpFbPacket() 145 memset(pucBuffer, RTP_ZERO, uiPadLen); in formRtcpFbPacket()
|
D | RtpStack.cpp | 55 RTP_TRACE_WARNING("Memory allocation error.", RTP_ZERO, RTP_ZERO); in createRtpSession() 87 RTP_TRACE_WARNING("deleteRtpSession, pobjRtpSession is NULL.", RTP_ZERO, RTP_ZERO); in deleteRtpSession()
|
D | RtcpAppPacket.cpp | 21 m_uiName(RTP_ZERO), in RtcpAppPacket() 116 if (uiPadLen > RTP_ZERO) in formAppPacket() 122 memset(pucBuffer, RTP_ZERO, uiPadLen); in formAppPacket()
|
D | RtpPayloadInfo.cpp | 20 m_uiSamplingRate(RTP_ZERO) in RtpPayloadInfo() 23 m_uiPayloadType[i] = RTP_ZERO; in RtpPayloadInfo()
|
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/ |
D | RtpHeaderTest.cpp | 25 EXPECT_EQ(rtpHeader.getVersion(), RTP_ZERO); in TEST() 26 EXPECT_EQ(rtpHeader.getPadding(), RTP_ZERO); in TEST() 27 EXPECT_EQ(rtpHeader.getExtension(), RTP_ZERO); in TEST() 28 EXPECT_EQ(rtpHeader.getCsrcCount(), RTP_ZERO); in TEST() 29 EXPECT_EQ(rtpHeader.getCsrcList().size(), RTP_ZERO); in TEST() 30 EXPECT_EQ(rtpHeader.getMarker(), RTP_ZERO); in TEST() 31 EXPECT_EQ(rtpHeader.getPayloadType(), RTP_ZERO); in TEST() 32 EXPECT_EQ(rtpHeader.getSequenceNumber(), RTP_ZERO); in TEST() 33 EXPECT_EQ(rtpHeader.getRtpTimestamp(), RTP_ZERO); in TEST() 34 EXPECT_EQ(rtpHeader.getRtpSsrc(), RTP_ZERO); in TEST() [all …]
|
D | RtcpAppPacketTest.cpp | 91 testBuf->setLength(RTP_ZERO); in TEST_F() 93 EXPECT_EQ(RTP_ZERO, testBuf->getLength()); in TEST_F() 116 testBuf->setLength(RTP_ZERO); in TEST_F() 118 EXPECT_EQ(RTP_ZERO, testBuf->getLength()); in TEST_F()
|
D | RtpPacketTest.cpp | 211 EXPECT_TRUE(rtpPacket.getRtpHeader()->getPadding() != RTP_ZERO); in TEST() 231 pobjRtpHdr->setExtension(RTP_ZERO); in TEST() 232 pobjRtpHdr->setCsrcCount(RTP_ZERO); in TEST() 295 pobjRtpHdr->setCsrcCount(RTP_ZERO); in TEST()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/ |
D | RtpService.cpp | 31 memset(&stSdesItem, RTP_ZERO, sizeof(tRTCP_SDES_ITEM)); in addSdesItem() 32 RtpDt_UInt32 uiIndex = RTP_ZERO; in addSdesItem() 92 if (pobjRepBlkList.size() > RTP_ZERO) in populateRcvdReportFromStk() 123 pstRcvdReport->ssrc = RTP_ZERO; in populateRcvdReportFromStk() 124 pstRcvdReport->fractionLost = RTP_ZERO; in populateRcvdReportFromStk() 125 pstRcvdReport->cumPktsLost = RTP_ZERO; in populateRcvdReportFromStk() 126 pstRcvdReport->extHighSeqNum = RTP_ZERO; in populateRcvdReportFromStk() 127 pstRcvdReport->jitter = RTP_ZERO; in populateRcvdReportFromStk() 128 pstRcvdReport->lsr = RTP_ZERO; in populateRcvdReportFromStk() 129 pstRcvdReport->delayLsr = RTP_ZERO; in populateRcvdReportFromStk() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/utils/ |
D | RtpBuffer.cpp | 21 m_uiLength(RTP_ZERO), in RtpBuffer() 31 if (uiLength > RTP_ZERO) in RtpBuffer() 42 memset(m_pBuffer, RTP_ZERO, m_uiLength); in RtpBuffer()
|