Home
last modified time | relevance | path

Searched refs:AudioConfig (Results 1 – 25 of 62) sorted by relevance

123

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/src/
DAudioConfig.cpp31 AudioConfig::AudioConfig() : in AudioConfig() function in android::telephony::imsmedia::AudioConfig
43 AudioConfig::AudioConfig(AudioConfig* config) : in AudioConfig() function in android::telephony::imsmedia::AudioConfig
60 AudioConfig::AudioConfig(const AudioConfig& config) : in AudioConfig() function in android::telephony::imsmedia::AudioConfig
74 AudioConfig::~AudioConfig() {} in ~AudioConfig()
76 AudioConfig& AudioConfig::operator=(const AudioConfig& config) in operator =()
94 bool AudioConfig::operator==(const AudioConfig& config) const in operator ==()
105 bool AudioConfig::operator!=(const AudioConfig& config) const in operator !=()
116 status_t AudioConfig::writeToParcel(Parcel* out) const in writeToParcel()
205 status_t AudioConfig::readFromParcel(const Parcel* in) in readFromParcel()
307 void AudioConfig::setPtimeMillis(const int8_t ptime) in setPtimeMillis()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/include/
DAudioConfig.h41 class AudioConfig : public RtpConfig
58 AudioConfig();
59 AudioConfig(AudioConfig* config);
60 AudioConfig(const AudioConfig& config);
61 virtual ~AudioConfig();
62 AudioConfig& operator=(const AudioConfig& config);
63 bool operator==(const AudioConfig& config) const;
64 bool operator!=(const AudioConfig& config) const;
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DAudioConfigTest.java26 import android.telephony.imsmedia.AudioConfig;
97 AudioConfig config = createAudioConfig(); in testConstructorAndGetters()
104 assertThat(config.getCodecType()).isEqualTo(AudioConfig.CODEC_EVS); in testConstructorAndGetters()
123 AudioConfig config = createAudioConfig(); in testParcel()
129 AudioConfig parcelConfig = AudioConfig.CREATOR.createFromParcel(parcel); in testParcel()
135 AudioConfig config1 = createAudioConfig(); in testEqual()
137 AudioConfig config2 = createAudioConfig(); in testEqual()
144 AudioConfig config1 = createAudioConfig(); in testNotEqual()
146 AudioConfig config2 = new AudioConfig.Builder() in testNotEqual()
160 .setCodecType(AudioConfig.CODEC_EVS) in testNotEqual()
[all …]
DAudioSessionTest.java32 import android.telephony.imsmedia.AudioConfig;
100 private Parcel createParcel(int message, int result, AudioConfig config) { in createParcel()
145 AudioConfig config = AudioConfigTest.createAudioConfig(); in testModifySession()
175 AudioConfig config = AudioConfigTest.createAudioConfig(); in testAddConfig()
204 AudioConfig config = AudioConfigTest.createAudioConfig(); in testDeleteConfig()
213 AudioConfig config = AudioConfigTest.createAudioConfig(); in testConfirmConfig()
281 AudioConfig config = AudioConfigTest.createAudioConfig(); in testFirstMediaPacketReceivedInd()
325 AudioConfig config = AudioConfigTest.createAudioConfig(); in testTriggerAnbrQuery()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioManager.cpp63 ImsMediaResult AudioManager::openSession(int sessionId, int rtpFd, int rtcpFd, AudioConfig* config) in openSession()
104 ImsMediaResult AudioManager::modifySession(int sessionId, AudioConfig* config) in modifySession()
137 ImsMediaResult AudioManager::addConfig(int sessionId, AudioConfig* config) in addConfig()
153 ImsMediaResult AudioManager::deleteConfig(int sessionId, AudioConfig* config) in deleteConfig()
168 ImsMediaResult AudioManager::confirmConfig(int sessionId, AudioConfig* config) in confirmConfig()
282 AudioConfig* config = new AudioConfig(); in sendMessage()
303 AudioConfig* config = new AudioConfig(); in sendMessage()
377 AudioConfig* pConfig = reinterpret_cast<AudioConfig*>(param->mConfig); in processEvent()
415 AudioConfig* config = reinterpret_cast<AudioConfig*>(paramA); in processEvent()
423 AudioConfig* config = reinterpret_cast<AudioConfig*>(paramA); in processEvent()
[all …]
DAudioStreamGraphRtpTx.cpp44 mConfig = new AudioConfig(reinterpret_cast<AudioConfig*>(config)); in create()
95 AudioConfig* pConfig = reinterpret_cast<AudioConfig*>(config); in update()
97 if (*reinterpret_cast<AudioConfig*>(mConfig) == *pConfig) in update()
108 mConfig = new AudioConfig(pConfig); in update()
197 AudioConfig* audioConfig = reinterpret_cast<AudioConfig*>(config); in createDtmfGraph()
206 mConfig = new AudioConfig(*audioConfig); in createDtmfGraph()
DAudioStreamGraphRtcp.cpp42 mConfig = new AudioConfig(reinterpret_cast<AudioConfig*>(config)); in create()
91 AudioConfig* pConfig = reinterpret_cast<AudioConfig*>(config); in update()
93 if (*reinterpret_cast<AudioConfig*>(mConfig) == *pConfig) in update()
102 mConfig = new AudioConfig(pConfig); in update()
DAudioStreamGraphRtpRx.cpp42 mConfig = new AudioConfig(reinterpret_cast<AudioConfig*>(config)); in create()
88 AudioConfig* pConfig = reinterpret_cast<AudioConfig*>(config); in update()
101 mConfig = new AudioConfig(pConfig); in update()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DAudioSession.java27 import android.telephony.imsmedia.AudioConfig;
169 public void modifySession(AudioConfig config) { in modifySession()
177 public void addConfig(AudioConfig config) { in addConfig()
183 public void deleteConfig(AudioConfig config) { in deleteConfig()
189 public void confirmConfig(AudioConfig config) { in confirmConfig()
273 handleModifySession((AudioConfig)msg.obj); in handleMessage()
276 handleAddConfig((AudioConfig)msg.obj); in handleMessage()
279 handleDeleteConfig((AudioConfig)msg.obj); in handleMessage()
282 handleConfirmConfig((AudioConfig)msg.obj); in handleMessage()
315 handleModifySessionRespose((AudioConfig)msg.obj, msg.arg1); in handleMessage()
[all …]
DUtils.java33 import android.telephony.imsmedia.AudioConfig;
110 private static RtpAddress buildRtpAddress(final AudioConfig audioConfig) { in buildRtpAddress()
119 private static DtmfParams buildDtmfParams(final AudioConfig audioConfig) { in buildDtmfParams()
130 buildAmrParams(final AudioConfig audioConfig) { in buildAmrParams()
142 buildEvsParams(final AudioConfig audioConfig) { in buildEvsParams()
156 private static CodecParams buildCodecParams(final AudioConfig audioConfig) { in buildCodecParams()
165 if (audioConfig.getCodecType() == AudioConfig.CODEC_AMR in buildCodecParams()
166 || audioConfig.getCodecType() == AudioConfig.CODEC_AMR_WB) { in buildCodecParams()
169 } else if (audioConfig.getCodecType() == AudioConfig.CODEC_EVS) { in buildCodecParams()
178 buildAnbrMode(final AudioConfig audioConfig) { in buildAnbrMode()
[all …]
DAudioListener.java23 import android.telephony.imsmedia.AudioConfig;
89 final AudioConfig config = AudioConfig.CREATOR.createFromParcel(parcel); in onMessage()
95 final AudioConfig config = AudioConfig.CREATOR.createFromParcel(parcel); in onMessage()
114 final AudioConfig configAnbr = AudioConfig.CREATOR.createFromParcel(parcel); in onMessage()
DAudioLocalSession.java21 import android.telephony.imsmedia.AudioConfig;
77 public void modifySession(final AudioConfig config) { in modifySession()
92 public void addConfig(final AudioConfig config) { in addConfig()
107 public void deleteConfig(final AudioConfig config) { in deleteConfig()
125 public void confirmConfig(final AudioConfig config) { in confirmConfig()
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/
DAudioConfig.java35 public final class AudioConfig extends RtpConfig { class
73 AudioConfig(Parcel in) { in AudioConfig() method in AudioConfig
87 AudioConfig(Builder builder) { in AudioConfig() method in AudioConfig
204 if (o == null || !(o instanceof AudioConfig) || hashCode() != o.hashCode()) { in equals()
212 AudioConfig s = (AudioConfig) o; in equals()
252 public static final @NonNull Parcelable.Creator<AudioConfig>
254 public AudioConfig createFromParcel(Parcel in) {
256 return new AudioConfig(in);
259 public AudioConfig[] newArray(int size) {
260 return new AudioConfig[size];
[all …]
DAudioSessionCallback.java96 public void onModifySessionResponse(final AudioConfig config, in onModifySessionResponse()
109 public void onAddConfigResponse(final AudioConfig config, in onAddConfigResponse()
122 public void onConfirmConfigResponse(final AudioConfig config, in onConfirmConfigResponse()
135 public void onFirstMediaPacketReceived(final AudioConfig config) { in onFirstMediaPacketReceived()
183 public void triggerAnbrQuery(final AudioConfig config) { in triggerAnbrQuery()
229 public void onModifySessionResponse(final AudioConfig config, in onModifySessionResponse()
241 public void onAddConfigResponse(final AudioConfig config, in onAddConfigResponse()
253 public void onConfirmConfigResponse(final AudioConfig config, in onConfirmConfigResponse()
269 public void onFirstMediaPacketReceived(final AudioConfig config) { in onFirstMediaPacketReceived()
307 public void triggerAnbrQuery(final AudioConfig config) { in triggerAnbrQuery()
DIImsAudioSessionCallback.aidl20 import android.telephony.imsmedia.AudioConfig;
35 void onModifySessionResponse(in AudioConfig config, int result); in onModifySessionResponse()
36 void onAddConfigResponse(in AudioConfig config, int result); in onAddConfigResponse()
37 void onConfirmConfigResponse(in AudioConfig config, int result); in onConfirmConfigResponse()
38 void onFirstMediaPacketReceived(in AudioConfig config); in onFirstMediaPacketReceived()
42 void triggerAnbrQuery(in AudioConfig config); in triggerAnbrQuery()
DIImsAudioSession.aidl19 import android.telephony.imsmedia.AudioConfig;
30 oneway void modifySession(in AudioConfig config); in modifySession()
31 oneway void addConfig(in AudioConfig config); in addConfig()
32 oneway void deleteConfig(in AudioConfig config); in deleteConfig()
33 oneway void confirmConfig(in AudioConfig config); in confirmConfig()
DImsAudioSession.java62 miSession.modifySession((AudioConfig)config); in modifySession()
85 public void addConfig(final AudioConfig config) { in addConfig()
100 public void deleteConfig(final AudioConfig config) { in deleteConfig()
120 public void confirmConfig(final AudioConfig config) { in confirmConfig()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/
DAudioConfigTest.cpp45 const int32_t kCodecType = AudioConfig::CODEC_AMR_WB;
67 AudioConfig config1;
68 AudioConfig config2;
69 AudioConfig config3;
134 AudioConfig configTest; in TEST_F()
141 AudioConfig testConfig; in TEST_F()
145 AudioConfig* testConfig2 = new AudioConfig(config1); in TEST_F()
220 AudioConfig configWrite; in TEST_F()
242 AudioConfig configRead; in TEST_F()
255 AudioConfig configWrite; in TEST_F()
[all …]
/packages/modules/ImsMedia/test/imsmediahal/src/com/android/telephony/testimsmediahal/
DAudioListenerProxy.java26 import android.telephony.imsmedia.AudioConfig;
112 final AudioConfig config = AudioConfig.CREATOR.createFromParcel(parcel); in onMessage()
122 final AudioConfig mediaIndCfg = AudioConfig.CREATOR.createFromParcel(parcel); in onMessage()
155 final AudioConfig anbrNotiCfg = AudioConfig.CREATOR.createFromParcel(parcel); in onMessage()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/audio/
DAudioManager.h62 ImsMediaResult openSession(int sessionId, int rtpFd, int rtcpFd, AudioConfig* config);
64 ImsMediaResult modifySession(int sessionId, AudioConfig* config);
65 ImsMediaResult addConfig(int sessionId, AudioConfig* config);
66 virtual ImsMediaResult deleteConfig(int sessionId, AudioConfig* config);
67 ImsMediaResult confirmConfig(int sessionId, AudioConfig* config);
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/
DAudioRtpPayloadNodeTest.cpp116 AudioConfig audioConfig;
145 void setupNodes(AudioConfig* config) in setupNodes()
182 audioConfig.setCodecType(AudioConfig::CODEC_AMR_WB); in setupAudioConfig()
208 audioConfig.setCodecType(AudioConfig::CODEC_AMR); in TEST_F()
235 audioConfig.setCodecType(AudioConfig::CODEC_AMR); in TEST_F()
257 audioConfig.setCodecType(AudioConfig::CODEC_AMR_WB); in TEST_F()
279 audioConfig.setCodecType(AudioConfig::CODEC_AMR); in TEST_F()
325 audioConfig.setCodecType(AudioConfig::CODEC_AMR_WB); in TEST_F()
354 audioConfig.setCodecType(AudioConfig::CODEC_EVS); in TEST_F()
382 audioConfig.setCodecType(AudioConfig::CODEC_EVS); in TEST_F()
[all …]
DImsMediaAudioUtilTest.cpp30 EXPECT_EQ(ImsMediaAudioUtil::ConvertCodecType(AudioConfig::CODEC_AMR), kAudioCodecAmr); in TEST_F()
31 EXPECT_EQ(ImsMediaAudioUtil::ConvertCodecType(AudioConfig::CODEC_AMR_WB), kAudioCodecAmrWb); in TEST_F()
32 EXPECT_EQ(ImsMediaAudioUtil::ConvertCodecType(AudioConfig::CODEC_EVS), kAudioCodecEvs); in TEST_F()
33 EXPECT_EQ(ImsMediaAudioUtil::ConvertCodecType(AudioConfig::CODEC_PCMA), kAudioCodecPcma); in TEST_F()
34 EXPECT_EQ(ImsMediaAudioUtil::ConvertCodecType(AudioConfig::CODEC_PCMU), kAudioCodecPcmu); in TEST_F()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/
DDtmfSenderNode.cpp66 AudioConfig* pConfig = reinterpret_cast<AudioConfig*>(config); in SetConfig()
81 AudioConfig* pConfig = reinterpret_cast<AudioConfig*>(config); in IsSameConfig()
DIAudioSourceNode.cpp127 AudioConfig* pConfig = reinterpret_cast<AudioConfig*>(config); in SetConfig()
164 AudioConfig* pConfig = reinterpret_cast<AudioConfig*>(config); in IsSameConfig()
345 AudioConfig* audioConfig = new AudioConfig(); in triggerAnbrQuery()
/packages/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/
DDeviceInfo.java4 import android.telephony.imsmedia.AudioConfig;
165 private Set<Integer> mAudioCodecs = new HashSet<>(Arrays.asList(AudioConfig.CODEC_AMR,
166 AudioConfig.CODEC_AMR_WB, AudioConfig.CODEC_EVS, AudioConfig.CODEC_PCMA,
167 AudioConfig.CODEC_PCMU));

123