Home
last modified time | relevance | path

Searched refs:RtpOsUtil (Results 1 – 16 of 16) sorted by relevance

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/utils/
DRtpOsUtil.cpp22 RtpOsUtil::RtpOsUtil() {} in RtpOsUtil() function in RtpOsUtil
24 RtpOsUtil::~RtpOsUtil() {} in ~RtpOsUtil()
26 RtpDt_Void RtpOsUtil::GetNtpTime(tRTP_NTP_TIME& pstNtpTime) in GetNtpTime()
41 RtpDt_Void RtpOsUtil::Srand() in Srand()
49 RtpDt_UInt32 RtpOsUtil::Rand() in Rand()
51 RtpOsUtil::Srand(); in Rand()
55 RtpDt_UInt32 RtpOsUtil::Ntohl(RtpDt_UInt32 uiNetlong) in Ntohl()
60 RtpDt_Double RtpOsUtil::RRand() in RRand()
63 RtpOsUtil::Srand(); in RRand()
65 RtpOsUtil::GetNtpTime(stNtpTs); in RRand()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/
DRtcpReportBlock.cpp105 m_uiSsrc = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pcRepBlkBuf))); in decodeReportBlock()
108 RtpDt_UInt32 uiTemp4Data = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pcRepBlkBuf))); in decodeReportBlock()
118 m_uiExtHighSeqRcv = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pcRepBlkBuf))); in decodeReportBlock()
122 m_uiJitter = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pcRepBlkBuf))); in decodeReportBlock()
126 m_uiLastSR = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pcRepBlkBuf))); in decodeReportBlock()
130 m_uiDelayLastSR = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pcRepBlkBuf))); in decodeReportBlock()
142 *(reinterpret_cast<RtpDt_UInt32*>(pucBuffer)) = RtpOsUtil::Ntohl(m_uiSsrc); in formReportBlock()
153 *(reinterpret_cast<RtpDt_UInt32*>(pucBuffer)) = RtpOsUtil::Ntohl(uiTempData); in formReportBlock()
158 *(reinterpret_cast<RtpDt_UInt32*>(pucBuffer)) = RtpOsUtil::Ntohl(m_uiExtHighSeqRcv); in formReportBlock()
163 *(reinterpret_cast<RtpDt_UInt32*>(pucBuffer)) = RtpOsUtil::Ntohl(m_uiJitter); in formReportBlock()
[all …]
DRtcpSrPacket.cpp219 RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pucSrPktBuf))); in decodeSrPacket()
225 RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pucSrPktBuf))); in decodeSrPacket()
230 m_uiRtpTimestamp = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pucSrPktBuf))); in decodeSrPacket()
235 m_uiSendPktCount = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pucSrPktBuf))); in decodeSrPacket()
240 m_uiSendOctCount = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pucSrPktBuf))); in decodeSrPacket()
317 RtpOsUtil::Ntohl(m_stNtpTimestamp.m_uiNtpHigh32Bits); in formSrPacket()
322 RtpOsUtil::Ntohl(m_stNtpTimestamp.m_uiNtpLow32Bits); in formSrPacket()
327 *(reinterpret_cast<RtpDt_UInt32*>(pucBuffer)) = RtpOsUtil::Ntohl(m_uiRtpTimestamp); in formSrPacket()
332 *(reinterpret_cast<RtpDt_UInt32*>(pucBuffer)) = RtpOsUtil::Ntohl(m_uiSendPktCount); in formSrPacket()
337 *(reinterpret_cast<RtpDt_UInt32*>(pucBuffer)) = RtpOsUtil::Ntohl(m_uiSendOctCount); in formSrPacket()
DRtpHeader.cpp176 *(reinterpret_cast<RtpDt_UInt32*>(pucRtpHeaderBuffer)) = RtpOsUtil::Ntohl(uiByte4Data); in formHeader()
180 *(reinterpret_cast<RtpDt_UInt32*>(pucRtpHeaderBuffer)) = RtpOsUtil::Ntohl(m_uiTimestamp); in formHeader()
184 *(reinterpret_cast<RtpDt_UInt32*>(pucRtpHeaderBuffer)) = RtpOsUtil::Ntohl(m_uiSsrc); in formHeader()
192 *(reinterpret_cast<RtpDt_UInt32*>(pucRtpHeaderBuffer)) = RtpOsUtil::Ntohl(csrc); in formHeader()
218 RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pucRtpHeaderBuffer))); in decodeHeader()
246 m_uiTimestamp = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pucRtpHeaderBuffer))); in decodeHeader()
251 m_uiSsrc = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pucRtpHeaderBuffer))); in decodeHeader()
270 RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pucRtpHeaderBuffer)))); in decodeHeader()
DRtpStackUtil.cpp33 uiByte4Data = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pucRtpHdrBuf))); in getSequenceNumber()
49 uiByte4Data = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pucRtpBuf))); in getRtpSsrc()
61 RtpDt_UInt32 uiByte4Data = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pucRtcpBuf))); in getRtcpSsrc()
69 uiTmpRand = RtpOsUtil::Rand(); in generateNewSsrc()
DRtcpHeader.cpp120 RtpDt_UInt32 uiTemp4Data = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pRtcpBuffer))); in decodeRtcpHeader()
145 m_uiSsrc = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pRtcpBuffer))); in decodeRtcpHeader()
161 *(reinterpret_cast<RtpDt_UInt32*>(pcRtcpHdrBuf)) = RtpOsUtil::Ntohl(m_uiSsrc); in formRtcpHeader()
197 *(reinterpret_cast<RtpDt_UInt32*>(pcRtcpHdrBuf)) = RtpOsUtil::Ntohl(uiByte4Data); in formPartialRtcpHeader()
DRtcpByePacket.cpp81 (*puiRcvdSsrc) = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pucByeBuf))); in decodeByePacket()
92 RtpDt_UInt32 uiByte4Data = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pucByeBuf))); in decodeByePacket()
130 *(reinterpret_cast<RtpDt_UInt32*>(pucBuffer)) = RtpOsUtil::Ntohl(*puiSsrc); in formByePacket()
DRtcpFbPacket.cpp89 RtpDt_UInt32 uiMediaSsrc = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pucRtcpFbBuf))); in decodeRtcpFbPacket()
126 *(reinterpret_cast<RtpDt_UInt32*>(pucBuffer)) = RtpOsUtil::Ntohl(uiMediaSsrc); in formRtcpFbPacket()
DRtpReceiverInfo.cpp94 RtpOsUtil::GetNtpTime(stCurNtpTimestamp); in calcJitter()
322 RtpOsUtil::GetNtpTime(stCurNtpTimestamp); in delaySinceLastSR()
DRtpSession.cpp453 RtpOsUtil::GetNtpTime(m_stCurNtpRtcpTs); in rtpSetTimestamp()
1245 m_usSeqNum = (RtpDt_UInt16)RtpOsUtil::Rand(); in initSession()
1246 m_curRtpTimestamp = (RtpDt_UInt16)RtpOsUtil::Rand(); in initSession()
1247 RtpOsUtil::GetNtpTime(m_stCurNtpTimestamp); in initSession()
1695 RtpOsUtil::GetNtpTime(m_stCurNtpTimestamp); in createRtpPacket()
1965 RtpOsUtil::GetNtpTime(stNtpTs); in processRcvdRtcpPkt()
2009 RtpOsUtil::GetNtpTime(stNtpTs); in processRcvdRtcpPkt()
2231 ulRRand = RtpOsUtil::RRand(); in rtcp_interval()
DRtpTimerInfo.cpp174 RtpOsUtil::GetNtpTime(stCurNtpRtcpTs); in getTc()
DRtcpChunk.cpp125 *(reinterpret_cast<RtpDt_UInt32*>(pucBuffer)) = RtpOsUtil::Ntohl(m_uiSsrc); in formRtcpChunk()
DRtpPacket.cpp155 RtpDt_UInt32 uiByte4Data = RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pcRtpBuf))); in decodePacket()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/
DRtpOsUtilTest.cpp24 RtpOsUtil::GetNtpTime(stCurNtpTimestamp); in TEST()
34 RtpDt_UInt32 uiRand1 = RtpOsUtil::Rand(); in TEST()
36 RtpDt_UInt32 uiRand2 = RtpOsUtil::Rand(); in TEST()
46 EXPECT_EQ(RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(uiNetlong))), in TEST()
52 RtpDt_Double ulRRand1 = RtpOsUtil::RRand(); in TEST()
54 RtpDt_Double ulRRand2 = RtpOsUtil::RRand(); in TEST()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/include/rtp/utils/
DRtpOsUtil.h30 class RtpOsUtil
33 RtpOsUtil();
34 ~RtpOsUtil();
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/
DRtpService.cpp59 RtpOsUtil::Ntohl(*(reinterpret_cast<RtpDt_UInt32*>(pExtHdrBuffer))); in populateReceiveRtpIndInfo()