Home
last modified time | relevance | path

Searched refs:EvsParams (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DEvsParamsTest.java22 import android.telephony.imsmedia.EvsParams;
35 private EvsParams createEvsParams( in createEvsParams()
41 return new EvsParams.Builder() in createEvsParams()
52 EvsParams evs = createEvsParams(EvsParams.EVS_WIDE_BAND, EvsParams.EVS_MODE_7, in testConstructorAndGetters()
55 assertThat(evs.getEvsBandwidth()).isEqualTo(EvsParams.EVS_WIDE_BAND); in testConstructorAndGetters()
56 assertThat(evs.getEvsMode()).isEqualTo(EvsParams.EVS_MODE_7); in testConstructorAndGetters()
64 EvsParams evs = createEvsParams(EvsParams.EVS_WIDE_BAND, EvsParams.EVS_MODE_7, in testParcel()
71 EvsParams parcelConfig = EvsParams.CREATOR.createFromParcel(parcel); in testParcel()
77 EvsParams evs1 = createEvsParams(EvsParams.EVS_WIDE_BAND, EvsParams.EVS_MODE_7, in testEqual()
80 EvsParams evs2 = createEvsParams(EvsParams.EVS_WIDE_BAND, EvsParams.EVS_MODE_7, in testEqual()
[all …]
DAudioConfigTest.java27 import android.telephony.imsmedia.EvsParams;
77 private static final EvsParams evs = new EvsParams.Builder()
78 .setEvsbandwidth(EvsParams.EVS_SUPER_WIDE_BAND)
79 .setEvsMode(EvsParams.EVS_MODE_7)
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/src/
DEvsParams.cpp29 EvsParams::EvsParams() in EvsParams() function in android::telephony::imsmedia::EvsParams
38 EvsParams::EvsParams(EvsParams& params) in EvsParams() function in android::telephony::imsmedia::EvsParams
47 EvsParams::~EvsParams() {} in ~EvsParams()
49 EvsParams& EvsParams::operator=(const EvsParams& param) in operator =()
62 bool EvsParams::operator==(const EvsParams& param) const in operator ==()
70 bool EvsParams::operator!=(const EvsParams& param) const in operator !=()
78 status_t EvsParams::writeToParcel(Parcel* out) const in writeToParcel()
121 status_t EvsParams::readFromParcel(const Parcel* in) in readFromParcel()
165 void EvsParams::setEvsBandwidth(const int32_t EvsBandwidth) in setEvsBandwidth()
170 int32_t EvsParams::getEvsBandwidth() in getEvsBandwidth()
[all …]
DAudioConfig.cpp387 void AudioConfig::setEvsParams(const EvsParams& param) in setEvsParams()
392 EvsParams AudioConfig::getEvsParams() in getEvsParams()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/
DEvsParamsTest.cpp22 const int32_t kEvsBandwidth = EvsParams::EVS_BAND_NONE;
30 EvsParams* param = new EvsParams(); in TEST()
45 EvsParams* param = new EvsParams(); in TEST()
56 EvsParams* param2 = new EvsParams(); in TEST()
66 EvsParams param; in TEST()
73 EvsParams param2; in TEST()
80 EvsParams* param = new EvsParams(); in TEST()
87 EvsParams* param2 = new EvsParams(); in TEST()
101 EvsParams* param = new EvsParams(); in TEST()
108 EvsParams* param2 = new EvsParams(); in TEST()
[all …]
DAudioConfigTest.cpp55 const int32_t kEvsBandwidth = EvsParams::EVS_BAND_NONE;
66 EvsParams evs;
315 EXPECT_EQ(configRead.getEvsParams().getEvsBandwidth(), EvsParams::EVS_BAND_NONE); in TEST_F()
/packages/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/
DDeviceInfo.java5 import android.telephony.imsmedia.EvsParams;
172 private Set<Integer> mEvsBandwidths = new HashSet<>(Arrays.asList(EvsParams.EVS_BAND_NONE,
173 EvsParams.EVS_NARROW_BAND, EvsParams.EVS_WIDE_BAND, EvsParams.EVS_SUPER_WIDE_BAND,
174 EvsParams.EVS_FULL_BAND));
175 private Set<Integer> mEvsModes = new HashSet<>(Arrays.asList(EvsParams.EVS_MODE_0,
176 EvsParams.EVS_MODE_1, EvsParams.EVS_MODE_2, EvsParams.EVS_MODE_3,
177 EvsParams.EVS_MODE_4, EvsParams.EVS_MODE_5, EvsParams.EVS_MODE_6,
178 EvsParams.EVS_MODE_7, EvsParams.EVS_MODE_8, EvsParams.EVS_MODE_9,
179 EvsParams.EVS_MODE_10, EvsParams.EVS_MODE_11, EvsParams.EVS_MODE_12,
180 EvsParams.EVS_MODE_13, EvsParams.EVS_MODE_14, EvsParams.EVS_MODE_15,
[all …]
DBottomSheetAudioCodecSettings.java5 import android.telephony.imsmedia.EvsParams;
141 evsBand = EvsParams.EVS_BAND_NONE; in openEvsBandwidthMenu()
145 evsBand = EvsParams.EVS_NARROW_BAND; in openEvsBandwidthMenu()
149 evsBand = EvsParams.EVS_WIDE_BAND; in openEvsBandwidthMenu()
153 evsBand = EvsParams.EVS_SUPER_WIDE_BAND; in openEvsBandwidthMenu()
157 evsBand = EvsParams.EVS_FULL_BAND; in openEvsBandwidthMenu()
DMainActivity.java24 import android.telephony.imsmedia.EvsParams;
1422 RtcpConfig rtcpConfig, int audioCodec, AmrParams amrParams, EvsParams evsParams) { in createAudioConfig()
1597 private EvsParams createEvsParams(int evsBand, int evsMode) { in createEvsParams()
1598 return new EvsParams.Builder() in createEvsParams()
1623 EvsParams evsParams = null; in determineAudioConfig()
1689 EvsParams evsParams) { in createAudioConfig()
1692 EvsParams mEvs = new EvsParams.Builder() in createAudioConfig()
1693 .setEvsbandwidth(EvsParams.EVS_BAND_NONE) in createAudioConfig()
1694 .setEvsMode(EvsParams.EVS_MODE_0) in createAudioConfig()
2023 EvsParams evsParams; in changeAudioCodecOnClick()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/include/
DEvsParams.h39 class EvsParams : public Parcelable
97 EvsParams();
98 EvsParams(EvsParams& params);
99 virtual ~EvsParams();
100 EvsParams& operator=(const EvsParams& param);
101 bool operator==(const EvsParams& param) const;
102 bool operator!=(const EvsParams& param) const;
146 const int32_t kBandwidth = EvsParams::EVS_BAND_NONE;
DAudioConfig.h83 void setEvsParams(const EvsParams& param);
84 EvsParams getEvsParams();
129 EvsParams evsParams;
/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/
DEvsParams.java35 public final class EvsParams implements Parcelable { class
137 public EvsParams(Parcel in) { in EvsParams() method in EvsParams
145 private EvsParams(final @EvsBandwidth int evsBandwidth, final @EvsMode int evsMode, in EvsParams() method in EvsParams
199 if (o == null || !(o instanceof EvsParams) || hashCode() != o.hashCode()) { in equals()
207 EvsParams s = (EvsParams) o; in equals()
234 public static final @NonNull Parcelable.Creator<EvsParams>
236 public EvsParams createFromParcel(Parcel in) {
238 return new EvsParams(in);
241 public EvsParams[] newArray(int size) {
242 return new EvsParams[size];
[all …]
DAudioConfig.java70 private EvsParams evsParams;
83 evsParams = in.readParcelable(EvsParams.class.getClassLoader(), EvsParams.class); in AudioConfig()
176 public EvsParams getEvsParams() { in getEvsParams()
279 private EvsParams evsParams;
392 public Builder setEvsParams(final EvsParams evsParams) { in setEvsParams()
DEvsParams.aidl20 parcelable EvsParams;
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DUtils.java34 import android.telephony.imsmedia.EvsParams;
141 private static android.hardware.radio.ims.media.EvsParams
143 final android.hardware.radio.ims.media.EvsParams evsParams = in buildEvsParams()
144 new android.hardware.radio.ims.media.EvsParams(); in buildEvsParams()
282 private static EvsParams buildEvsParams( in buildEvsParams()
284 final EvsParams evsParams; in buildEvsParams()
294 final android.hardware.radio.ims.media.EvsParams evs = in buildEvsParams()
296 evsParams = new EvsParams.Builder() in buildEvsParams()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DMediaQualityAnalyzer.cpp1023 case EvsParams::EVS_BAND_NONE: in convertAudioCodecType()
1025 case EvsParams::EVS_NARROW_BAND: in convertAudioCodecType()
1027 case EvsParams::EVS_WIDE_BAND: in convertAudioCodecType()
1029 case EvsParams::EVS_SUPER_WIDE_BAND: in convertAudioCodecType()
1031 case EvsParams::EVS_FULL_BAND: in convertAudioCodecType()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioStreamGraphRtcpTest.cpp59 const int32_t kEvsBandwidth = EvsParams::EVS_BAND_NONE;
80 EvsParams evs;
DAudioStreamGraphRtpRxTest.cpp59 const int32_t kEvsBandwidth = EvsParams::EVS_BAND_NONE;
80 EvsParams evs;
DAudioStreamGraphRtpTxTest.cpp61 const int32_t kEvsBandwidth = EvsParams::EVS_BAND_NONE;
97 EvsParams evs;
DMediaQualityAnalyzerTest.cpp63 const int32_t kEvsBandwidth = EvsParams::EVS_BAND_NONE;
143 EvsParams mEvsParam;
242 mEvsParam.setEvsBandwidth(EvsParams::EVS_NARROW_BAND); in TEST_F()
250 mEvsParam.setEvsBandwidth(EvsParams::EVS_WIDE_BAND); in TEST_F()
258 mEvsParam.setEvsBandwidth(EvsParams::EVS_SUPER_WIDE_BAND); in TEST_F()
266 mEvsParam.setEvsBandwidth(EvsParams::EVS_FULL_BAND); in TEST_F()
DAudioSessionTest.cpp58 const int32_t kEvsBandwidth = EvsParams::EVS_BAND_NONE;
72 EvsParams evs;
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/
DAudioRtpPayloadNodeTest.cpp54 const int32_t kEvsBandwidth = EvsParams::EVS_SUPER_WIDE_BAND;
55 const int32_t kEvsMode = EvsParams::EVS_MODE_13;
114 EvsParams evs;
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DSocketNodeTest.cpp58 const int32_t kEvsBandwidth = EvsParams::EVS_BAND_NONE;
99 EvsParams mEvs;
DRtpEncoderNodeTest.cpp55 const int32_t kEvsBandwidth = EvsParams::EVS_BAND_NONE;
148 EvsParams mEvs;
DRtpDecoderNodeTests.cpp57 const int32_t kEvsBandwidth = EvsParams::EVS_BAND_NONE;
187 EvsParams evs;

12