Home
last modified time | relevance | path

Searched refs:AmrParams (Results 1 – 24 of 24) sorted by relevance

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/src/
DAmrParams.cpp29 AmrParams::AmrParams() in AmrParams() function in android::telephony::imsmedia::AmrParams
36 AmrParams::AmrParams(AmrParams& param) in AmrParams() function in android::telephony::imsmedia::AmrParams
43 AmrParams::~AmrParams() {} in ~AmrParams()
45 AmrParams& AmrParams::operator=(const AmrParams& param) in operator =()
56 bool AmrParams::operator==(const AmrParams& param) const in operator ==()
62 bool AmrParams::operator!=(const AmrParams& param) const in operator !=()
68 status_t AmrParams::writeToParcel(Parcel* out) const in writeToParcel()
98 status_t AmrParams::readFromParcel(const Parcel* in) in readFromParcel()
130 void AmrParams::setAmrMode(const int32_t mode) in setAmrMode()
135 int32_t AmrParams::getAmrMode() in getAmrMode()
[all …]
DAudioConfig.cpp377 void AudioConfig::setAmrParams(const AmrParams& param) in setAmrParams()
382 AmrParams AudioConfig::getAmrParams() in getAmrParams()
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DAmrParamsTest.java22 import android.telephony.imsmedia.AmrParams;
33 private AmrParams createAmrParams(int amrMode, in createAmrParams()
35 return new AmrParams.Builder() in createAmrParams()
44 AmrParams amr = createAmrParams(AmrParams.AMR_MODE_5, OCTET_ALIGNED, in testConstructorAndGetters()
47 assertThat(amr.getAmrMode()).isEqualTo(AmrParams.AMR_MODE_5); in testConstructorAndGetters()
54 AmrParams amr = createAmrParams(AmrParams.AMR_MODE_5, OCTET_ALIGNED, MAX_REDUNDANCY_MILLIS); in testParcel()
60 AmrParams parcelConfig = AmrParams.CREATOR.createFromParcel(parcel); in testParcel()
66 AmrParams amr1 = createAmrParams(AmrParams.AMR_MODE_5, OCTET_ALIGNED, in testEqual()
69 AmrParams amr2 = createAmrParams(AmrParams.AMR_MODE_5, OCTET_ALIGNED, in testEqual()
77 AmrParams amr1 = createAmrParams(AmrParams.AMR_MODE_5, OCTET_ALIGNED, in testNotEqual()
[all …]
DAudioConfigTest.java24 import android.telephony.imsmedia.AmrParams;
84 private static final AmrParams amr = new AmrParams.Builder()
85 .setAmrMode(AmrParams.AMR_MODE_5)
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/
DAmrParamsTest.cpp28 AmrParams* param = new AmrParams(); in TEST()
40 AmrParams* param = new AmrParams(); in TEST()
49 AmrParams* param2 = new AmrParams(); in TEST()
58 AmrParams param; in TEST()
63 AmrParams param2; in TEST()
70 AmrParams* param = new AmrParams(); in TEST()
75 AmrParams* param2 = new AmrParams(); in TEST()
86 AmrParams* param = new AmrParams(); in TEST()
91 AmrParams* param2 = new AmrParams(); in TEST()
96 AmrParams* param3 = new AmrParams(); in TEST()
DAudioConfigTest.cpp65 AmrParams amr;
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/
DAmrParams.java35 public final class AmrParams implements Parcelable { class
89 public AmrParams(Parcel in) { in AmrParams() method in AmrParams
95 private AmrParams(@AmrMode int amrMode, boolean octetAligned, int maxRedundancyMillis) { in AmrParams() method in AmrParams
132 if (o == null || !(o instanceof AmrParams) || hashCode() != o.hashCode()) { in equals()
140 AmrParams s = (AmrParams) o; in equals()
163 public static final @NonNull Parcelable.Creator<AmrParams>
165 public AmrParams createFromParcel(Parcel in) {
167 return new AmrParams(in);
170 public AmrParams[] newArray(int size) {
171 return new AmrParams[size];
[all …]
DAudioConfig.java68 private AmrParams amrParams;
82 amrParams = in.readParcelable(AmrParams.class.getClassLoader(), AmrParams.class); in AudioConfig()
171 public AmrParams getAmrParams() { in getAmrParams()
277 private AmrParams amrParams;
381 public Builder setAmrParams(final AmrParams amrParams) { in setAmrParams()
DAmrParams.aidl20 parcelable AmrParams;
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/include/
DAmrParams.h39 class AmrParams : public Parcelable
64 AmrParams();
65 AmrParams(AmrParams& param);
66 virtual ~AmrParams();
67 AmrParams& operator=(const AmrParams& param);
68 bool operator==(const AmrParams& param) const;
69 bool operator!=(const AmrParams& param) const;
DAudioConfig.h81 void setAmrParams(const AmrParams& param);
82 AmrParams getAmrParams();
125 AmrParams amrParams;
/packages/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/
DDeviceInfo.java3 import android.telephony.imsmedia.AmrParams;
168 private Set<Integer> mAmrModes = new HashSet<>(Arrays.asList(AmrParams.AMR_MODE_0,
169 AmrParams.AMR_MODE_1, AmrParams.AMR_MODE_2, AmrParams.AMR_MODE_3,
170 AmrParams.AMR_MODE_4, AmrParams.AMR_MODE_5, AmrParams.AMR_MODE_6,
171 AmrParams.AMR_MODE_7, AmrParams.AMR_MODE_8));
DMainActivity.java21 import android.telephony.imsmedia.AmrParams;
1422 RtcpConfig rtcpConfig, int audioCodec, AmrParams amrParams, EvsParams evsParams) { in createAudioConfig()
1584 private AmrParams createAmrParams(int amrMode, boolean octateAligned, int maxRed) { in createAmrParams()
1585 return new AmrParams.Builder() in createAmrParams()
1622 AmrParams amrParams = null; in determineAudioConfig()
1688 private AudioConfig createAudioConfig(int audioCodec, AmrParams amrParams, in createAudioConfig()
2022 AmrParams amrParams; in changeAudioCodecOnClick()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DUtils.java31 import android.telephony.imsmedia.AmrParams;
129 private static android.hardware.radio.ims.media.AmrParams
131 final android.hardware.radio.ims.media.AmrParams amrParams = in buildAmrParams()
132 new android.hardware.radio.ims.media.AmrParams(); in buildAmrParams()
308 private static AmrParams buildAmrParams( in buildAmrParams()
310 final AmrParams amrParams; in buildAmrParams()
320 final android.hardware.radio.ims.media.AmrParams amr = in buildAmrParams()
322 amrParams = new AmrParams.Builder() in buildAmrParams()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DSocketNodeTest.cpp53 const int32_t kAmrMode = AmrParams::AMR_MODE_6;
98 AmrParams mAmr;
DRtpEncoderNodeTest.cpp50 const int32_t kAmrMode = AmrParams::AMR_MODE_6;
147 AmrParams mAmr;
DRtpDecoderNodeTests.cpp52 const int32_t kAmrMode = AmrParams::AMR_MODE_6;
186 AmrParams amr;
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/
DAudioRtpPayloadNodeTest.cpp49 const int32_t kAmrMode = AmrParams::AMR_MODE_8;
113 AmrParams amr;
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioStreamGraphRtcpTest.cpp79 AmrParams amr;
DAudioStreamGraphRtpRxTest.cpp79 AmrParams amr;
DAudioStreamGraphRtpTxTest.cpp96 AmrParams amr;
DAudioSessionTest.cpp71 AmrParams amr;
DAudioManagerTest.cpp152 AmrParams amr;
DMediaQualityAnalyzerTest.cpp142 AmrParams mAmrParam;