Home
last modified time | relevance | path

Searched refs:RtpConfig (Results 1 – 25 of 99) sorted by relevance

1234

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/src/
DRtpConfig.cpp33 RtpConfig::RtpConfig(int32_t mediaType) : in RtpConfig() function in android::telephony::imsmedia::RtpConfig
46 RtpConfig::~RtpConfig() {} in ~RtpConfig()
48 RtpConfig::RtpConfig(RtpConfig* config) in RtpConfig() function in android::telephony::imsmedia::RtpConfig
68 RtpConfig::RtpConfig(const RtpConfig& config) in RtpConfig() function in android::telephony::imsmedia::RtpConfig
84 RtpConfig& RtpConfig::operator=(const RtpConfig& config) in operator =()
104 bool RtpConfig::operator==(const RtpConfig& config) const in operator ==()
116 bool RtpConfig::operator!=(const RtpConfig& config) const in operator !=()
128 status_t RtpConfig::writeToParcel(Parcel* out) const in writeToParcel()
233 status_t RtpConfig::readFromParcel(const Parcel* in) in readFromParcel()
361 void RtpConfig::setMediaDirection(const int32_t direction) in setMediaDirection()
[all …]
DTextConfig.cpp29 RtpConfig(RtpConfig::TYPE_TEXT) in TextConfig()
39 RtpConfig(config) in TextConfig()
52 RtpConfig(config) in TextConfig()
67 RtpConfig::operator=(config); in operator =()
79 return (RtpConfig::operator==(config) && mCodecType == config.mCodecType && in operator ==()
87 return (RtpConfig::operator!=(config) || mCodecType == config.mCodecType || in operator !=()
101 err = RtpConfig::writeToParcel(out); in writeToParcel()
150 err = RtpConfig::readFromParcel(in); in readFromParcel()
DAudioConfig.cpp32 RtpConfig(RtpConfig::TYPE_AUDIO) in AudioConfig()
44 RtpConfig(config) in AudioConfig()
61 RtpConfig(config) in AudioConfig()
80 RtpConfig::operator=(config); in operator =()
96 return (RtpConfig::operator==(config) && this->pTimeMillis == config.pTimeMillis && in operator ==()
107 return (RtpConfig::operator!=(config) || this->pTimeMillis != config.pTimeMillis || in operator !=()
124 err = RtpConfig::writeToParcel(out); in writeToParcel()
213 err = RtpConfig::readFromParcel(in); in readFromParcel()
DVideoConfig.cpp31 RtpConfig(RtpConfig::TYPE_VIDEO) in VideoConfig()
53 RtpConfig(config) in VideoConfig()
77 RtpConfig(config) in VideoConfig()
104 RtpConfig::operator=(config); in operator =()
128 return (RtpConfig::operator==(config) && this->videoMode == config.videoMode && in operator ==()
144 return (RtpConfig::operator!=(config) || this->videoMode != config.videoMode || in operator !=()
166 err = RtpConfig::writeToParcel(out); in writeToParcel()
285 err = RtpConfig::readFromParcel(in); in readFromParcel()
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DWakeLockManagerTest.java20 import android.telephony.imsmedia.RtpConfig;
46 TEST_SESSION_1_ID, RtpConfig.MEDIA_DIRECTION_SEND_RECEIVE); in testOneSession_MediaDirectionChanges()
51 RtpConfig.MEDIA_DIRECTION_NO_FLOW); in testOneSession_MediaDirectionChanges()
56 TEST_SESSION_1_ID, RtpConfig.MEDIA_DIRECTION_SEND_ONLY); in testOneSession_MediaDirectionChanges()
61 RtpConfig.MEDIA_DIRECTION_NO_FLOW); in testOneSession_MediaDirectionChanges()
66 TEST_SESSION_1_ID, RtpConfig.MEDIA_DIRECTION_RECEIVE_ONLY); in testOneSession_MediaDirectionChanges()
71 RtpConfig.MEDIA_DIRECTION_NO_FLOW); in testOneSession_MediaDirectionChanges()
76 TEST_SESSION_1_ID, RtpConfig.MEDIA_DIRECTION_INACTIVE); in testOneSession_MediaDirectionChanges()
81 RtpConfig.MEDIA_DIRECTION_NO_FLOW); in testOneSession_MediaDirectionChanges()
86 TEST_SESSION_1_ID, RtpConfig.MEDIA_DIRECTION_SEND_RECEIVE); in testOneSession_MediaDirectionChanges()
[all …]
DAudioOffloadTest.java31 import android.hardware.radio.ims.media.RtpConfig;
147 RtpConfig outputRtpConfig = null; in testModifySession()
153 ArgumentCaptor<RtpConfig> argumentCaptor = ArgumentCaptor.forClass(RtpConfig.class); in testModifySession()
188 RtpConfig outputRtpConfig = null; in testAddConfig()
194 ArgumentCaptor<RtpConfig> argumentCaptor = ArgumentCaptor.forClass(RtpConfig.class); in testAddConfig()
304 final RtpConfig inputRtpConfig = Utils.convertToRtpConfig(outputAudioConfig); in testFirstMediaPacketReceivedInd()
358 final RtpConfig inputRtpConfig = Utils.convertToRtpConfig(outputAudioConfig); in testTriggerAnbrQuery()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/include/
DRtpConfig.h42 class RtpConfig : public Parcelable
65 virtual ~RtpConfig();
66 RtpConfig& operator=(const RtpConfig& config);
67 bool operator==(const RtpConfig& c2) const;
68 bool operator!=(const RtpConfig& c2) const;
95 RtpConfig(int32_t type);
96 RtpConfig(RtpConfig* config);
97 RtpConfig(const RtpConfig& config);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/
DTextStreamGraphRtpTx.cpp33 ImsMediaResult TextStreamGraphRtpTx::create(RtpConfig* config) in create()
88 ImsMediaResult TextStreamGraphRtpTx::update(RtpConfig* config) in update()
115 if (mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW || in update()
116 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_RECEIVE_ONLY || in update()
117 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_INACTIVE) in update()
125 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW) in update()
179 (pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_ONLY || in update()
180 pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE)) in update()
200 if (pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW || in start()
201 pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_RECEIVE_ONLY || in start()
[all …]
DTextStreamGraphRtpRx.cpp33 ImsMediaResult TextStreamGraphRtpRx::create(RtpConfig* config) in create()
82 ImsMediaResult TextStreamGraphRtpRx::update(RtpConfig* config) in update()
107 if (mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW || in update()
108 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_ONLY || in update()
109 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_INACTIVE) in update()
154 (pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_RECEIVE_ONLY || in update()
155 pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE)) in update()
175 if (pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW || in start()
176 pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_ONLY || in start()
177 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_INACTIVE) in start()
DTextStreamGraphRtcp.cpp33 ImsMediaResult TextStreamGraphRtcp::create(RtpConfig* config) in create()
84 ImsMediaResult TextStreamGraphRtcp::update(RtpConfig* config) in update()
108 if (mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW) in update()
136 mConfig->getMediaDirection() != RtpConfig::MEDIA_DIRECTION_NO_FLOW) in update()
160 if (mConfig->getMediaDirection() != RtpConfig::MEDIA_DIRECTION_NO_FLOW) in start()
DTextSession.cpp88 ImsMediaResult TextSession::startGraph(RtpConfig* config) in startGraph()
122 (pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_ONLY || in startGraph()
123 pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE)) in startGraph()
151 (pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_RECEIVE_ONLY || in startGraph()
152 pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE)) in startGraph()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioStreamGraphRtpRx.cpp33 ImsMediaResult AudioStreamGraphRtpRx::create(RtpConfig* config) in create()
79 ImsMediaResult AudioStreamGraphRtpRx::update(RtpConfig* config) in update()
103 if (mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW || in update()
104 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_ONLY || in update()
105 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_INACTIVE) in update()
135 (pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_RECEIVE_ONLY || in update()
136 pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE)) in update()
157 if (mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_RECEIVE_ONLY || in start()
158 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE) in start()
DAudioStreamGraphRtpTx.cpp35 ImsMediaResult AudioStreamGraphRtpTx::create(RtpConfig* config) in create()
86 ImsMediaResult AudioStreamGraphRtpTx::update(RtpConfig* config) in update()
110 if (mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW || in update()
111 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_RECEIVE_ONLY || in update()
112 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_INACTIVE) in update()
119 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW) in update()
163 (pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_ONLY || in update()
164 pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE)) in update()
180 if (mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_ONLY || in start()
181 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE) in start()
[all …]
DAudioStreamGraphRtcp.cpp33 ImsMediaResult AudioStreamGraphRtcp::create(RtpConfig* config) in create()
82 ImsMediaResult AudioStreamGraphRtcp::update(RtpConfig* config) in update()
105 if (mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW) in update()
132 mConfig->getMediaDirection() != RtpConfig::MEDIA_DIRECTION_NO_FLOW) in update()
148 if (mConfig->getMediaDirection() != RtpConfig::MEDIA_DIRECTION_NO_FLOW) in start()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DVideoStreamGraphRtpTx.cpp35 ImsMediaResult VideoStreamGraphRtpTx::create(RtpConfig* config) in create()
96 ImsMediaResult VideoStreamGraphRtpTx::update(RtpConfig* config) in update()
154 if (mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW || in update()
155 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_RECEIVE_ONLY || in update()
156 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_INACTIVE) in update()
185 (pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_ONLY || in update()
186 pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE)) in update()
207 (pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW || in start()
208 pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_RECEIVE_ONLY || in start()
209 pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_INACTIVE)) in start()
[all …]
DVideoStreamGraphRtpRx.cpp34 ImsMediaResult VideoStreamGraphRtpRx::create(RtpConfig* config) in create()
83 ImsMediaResult VideoStreamGraphRtpRx::update(RtpConfig* config) in update()
113 if (mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW || in update()
114 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_ONLY || in update()
115 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_INACTIVE) in update()
160 (pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_RECEIVE_ONLY || in update()
161 pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE)) in update()
181 if (pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_NO_FLOW || in start()
182 pConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_SEND_ONLY || in start()
183 mConfig->getMediaDirection() == RtpConfig::MEDIA_DIRECTION_INACTIVE) in start()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/
DTextSessionTest.cpp26 const int32_t kMediaDirection = RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE;
158 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_SEND_ONLY); in TEST_F()
166 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_RECEIVE_ONLY); in TEST_F()
174 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_INACTIVE); in TEST_F()
185 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_INACTIVE); in TEST_F()
189 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE); in TEST_F()
207 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_SEND_ONLY); in TEST_F()
218 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_RECEIVE_ONLY); in TEST_F()
235 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_INACTIVE); in TEST_F()
239 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE); in TEST_F()
DTextStreamGraphRtpRxTest.cpp26 const int32_t kMediaDirection = RtpConfig::MEDIA_DIRECTION_RECEIVE_ONLY;
129 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_INACTIVE); in TEST_F()
133 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE); in TEST_F()
137 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_NO_FLOW); in TEST_F()
146 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE); in TEST_F()
DTextStreamGraphRtpTxTest.cpp26 const int32_t kMediaDirection = RtpConfig::MEDIA_DIRECTION_SEND_ONLY;
118 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_INACTIVE); in TEST_F()
122 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE); in TEST_F()
126 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_NO_FLOW); in TEST_F()
135 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE); in TEST_F()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/audio/
DAudioSession.h38 virtual ImsMediaResult startGraph(RtpConfig* config);
49 ImsMediaResult addGraph(RtpConfig* config, bool enableRtcp);
63 ImsMediaResult confirmGraph(RtpConfig* config);
72 ImsMediaResult deleteGraph(RtpConfig* config);
115 bool IsGraphAlreadyExist(RtpConfig* config);
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/
DRtpConfig.java38 public abstract class RtpConfig implements Parcelable { class
92 RtpConfig(int type, Parcel in) { in RtpConfig() method in RtpConfig
108 RtpConfig(int type, AbstractBuilder builder) { in RtpConfig() method in RtpConfig
241 if (o == null || !(o instanceof RtpConfig) || hashCode() != o.hashCode()) { in equals()
249 RtpConfig s = (RtpConfig) o; in equals()
296 public static final @NonNull Parcelable.Creator<RtpConfig>
298 public RtpConfig createFromParcel(Parcel in) {
312 public RtpConfig[] newArray(int size) {
313 return new RtpConfig[size];
DTextConfig.java35 public final class TextConfig extends RtpConfig {
62 super(RtpConfig.TYPE_TEXT, in); in TextConfig()
72 super(RtpConfig.TYPE_TEXT, builder); in TextConfig()
160 super.writeToParcel(dest, RtpConfig.TYPE_TEXT); in writeToParcel()
184 public static final class Builder extends RtpConfig.AbstractBuilder<Builder> {
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioSessionTest.cpp25 const int32_t kMediaDirection = RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE;
209 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_SEND_ONLY); in TEST_F()
220 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_RECEIVE_ONLY); in TEST_F()
231 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_INACTIVE); in TEST_F()
249 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_INACTIVE); in TEST_F()
257 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE); in TEST_F()
273 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_INACTIVE); in TEST_F()
282 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_SEND_RECEIVE); in TEST_F()
294 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_INACTIVE); in TEST_F()
303 config.setMediaDirection(RtpConfig::MEDIA_DIRECTION_SEND_ONLY); in TEST_F()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/video/
DVideoStreamGraphRtpTx.h29 virtual ImsMediaResult create(RtpConfig* config);
30 virtual ImsMediaResult update(RtpConfig* config);
37 ImsMediaResult createPreviewMode(RtpConfig* config);
38 ImsMediaResult updateNodes(RtpConfig* config);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DUtils.java38 import android.telephony.imsmedia.RtpConfig;
58 private final RtpConfig rtpConfig;
63 final RtpConfig rtpConfig, in OpenSessionParams()
79 RtpConfig getRtpConfig() { in getRtpConfig()
233 public static android.hardware.radio.ims.media.RtpConfig convertToRtpConfig( in convertToRtpConfig()
235 final android.hardware.radio.ims.media.RtpConfig rtpConfig; in convertToRtpConfig()
240 rtpConfig = new android.hardware.radio.ims.media.RtpConfig(); in convertToRtpConfig()
265 final android.hardware.radio.ims.media.RtpConfig rtpConfig) { in buildRtcpConfig()
283 final android.hardware.radio.ims.media.RtpConfig rtpConfig) { in buildEvsParams()
309 final android.hardware.radio.ims.media.RtpConfig rtpConfig) { in buildAmrParams()
[all …]

1234