Home
last modified time | relevance | path

Searched refs:rtpContextParams (Results 1 – 9 of 9) sorted by relevance

/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/
DRtpContextParamsTest.cpp9 RtpContextParams rtpContextParams; in TEST() local
11 EXPECT_EQ(rtpContextParams.getSsrc(), 0); in TEST()
12 EXPECT_EQ(rtpContextParams.getTimestamp(), 0); in TEST()
13 EXPECT_EQ(rtpContextParams.getSequenceNumber(), 0); in TEST()
48 RtpContextParams rtpContextParams; in TEST() local
50 rtpContextParams.setSsrc(1000); in TEST()
51 rtpContextParams.setTimestamp(2000); in TEST()
52 rtpContextParams.setSequenceNumber(3000); in TEST()
54 EXPECT_EQ(rtpContextParams.getSsrc(), 1000); in TEST()
55 EXPECT_EQ(rtpContextParams.getTimestamp(), 2000); in TEST()
[all …]
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DRtpContextParamsTest.java42 RtpContextParams rtpContextParams = createRtpContextParams(); in testConstructorAndGetters() local
44 assertThat(rtpContextParams.getSsrc()).isEqualTo(SSRC); in testConstructorAndGetters()
45 assertThat(rtpContextParams.getTimestamp()).isEqualTo(TIMESTAMP); in testConstructorAndGetters()
46 assertThat(rtpContextParams.getSequenceNumber()).isEqualTo(SEQUENCE_NUMBER); in testConstructorAndGetters()
51 RtpContextParams rtpContextParams = createRtpContextParams(); in testParcel() local
54 rtpContextParams.writeToParcel(parcel, 0); in testParcel()
58 assertThat(rtpContextParams).isEqualTo(parcelParams); in testParcel()
100 RtpContextParams rtpContextParams = new RtpContextParams.Builder() in testInvalidSsrc() local
105 assertEquals(rtpContextParams.getSsrc(), INVALID_SSRC); in testInvalidSsrc()
110 RtpContextParams rtpContextParams = new RtpContextParams.Builder() in testNegativeSsrc() local
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/src/
DRtpConfig.cpp64 rtpContextParams = config->rtpContextParams; in RtpConfig()
80 rtpContextParams = config.rtpContextParams; in RtpConfig()
98 rtpContextParams = config.rtpContextParams; in operator =()
113 this->rtpContextParams == config.rtpContextParams && this->anbrMode == config.anbrMode); in operator ==()
125 this->rtpContextParams != config.rtpContextParams || this->anbrMode != config.anbrMode); in operator !=()
211 err = rtpContextParams.writeToParcel(out); in writeToParcel()
327 err = rtpContextParams.readFromParcel(in); in readFromParcel()
331 rtpContextParams.setDefaultConfig(); in readFromParcel()
453 return rtpContextParams; in getRtpContextParams()
456 void RtpConfig::setRtpContextParams(RtpContextParams& rtpContextParams) in setRtpContextParams() argument
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DRtpEncoderNode.cpp200 RtpContextParams rtpContextParams = pConfig->getRtpContextParams(); in SetConfig() local
203 rtpContextParams.getSequenceNumber() >= 0) in SetConfig()
205 SetRtpContext(rtpContextParams); in SetConfig()
227 RtpContextParams rtpContextParams = pConfig->getRtpContextParams(); in SetConfig() local
230 rtpContextParams.getSequenceNumber() > 0) in SetConfig()
232 SetRtpContext(rtpContextParams); in SetConfig()
562 void RtpEncoderNode::SetRtpContext(RtpContextParams& rtpContextParams) in SetRtpContext() argument
564 mRtpContextParams = rtpContextParams; in SetRtpContext()
567 void RtpEncoderNode::GetRtpContext(RtpContextParams& rtpContextParams) in GetRtpContext() argument
578 rtpContextParams.setSsrc(ssrc); in GetRtpContext()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/
DTextStreamGraphRtpTx.cpp121 RtpContextParams rtpContextParams = config->getRtpContextParams(); in update() local
131 reinterpret_cast<RtpEncoderNode*>(node)->GetRtpContext(rtpContextParams); in update()
132 pConfig->setRtpContextParams(rtpContextParams); in update()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/include/
DRtpConfig.h90 void setRtpContextParams(RtpContextParams& rtpContextParams);
157 RtpContextParams rtpContextParams; variable
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/nodes/
DRtpEncoderNode.h76 void SetRtpContext(RtpContextParams& rtpContextParams);
78 void GetRtpContext(RtpContextParams& rtpContextParams);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioStreamGraphRtpTx.cpp115 RtpContextParams rtpContextParams = config->getRtpContextParams(); in update() local
125 reinterpret_cast<RtpEncoderNode*>(node)->GetRtpContext(rtpContextParams); in update()
126 pConfig->setRtpContextParams(rtpContextParams); in update()
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/
DRtpConfig.java421 public T setRtpContextParams(final RtpContextParams rtpContextParams) { in setRtpContextParams() argument
422 this.mRtpContextParams = rtpContextParams; in setRtpContextParams()