Home
last modified time | relevance | path

Searched refs:AudioCodec (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioCodec.java40 public class AudioCodec { class
59 public static final AudioCodec PCMU = new AudioCodec(0, "PCMU/8000", null);
64 public static final AudioCodec PCMA = new AudioCodec(8, "PCMA/8000", null);
70 public static final AudioCodec GSM = new AudioCodec(3, "GSM/8000", null);
76 public static final AudioCodec GSM_EFR = new AudioCodec(96, "GSM-EFR/8000", null);
83 public static final AudioCodec AMR = new AudioCodec(97, "AMR/8000", null);
85 private static final AudioCodec[] sCodecs = {GSM_EFR, AMR, GSM, PCMU, PCMA};
87 private AudioCodec(int type, String rtpmap, String fmtp) { in AudioCodec() method in AudioCodec
96 public static AudioCodec[] getCodecs() { in getCodecs()
110 public static AudioCodec getCodec(int type, String rtpmap, String fmtp) { in getCodec()
[all …]
DAudioStream.java48 private AudioCodec mCodec;
110 public AudioCodec getCodec() { in getCodec()
121 public void setCodec(AudioCodec codec) { in setCodec()
DAudioGroup.java168 AudioCodec codec = stream.getCodec(); in add()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioCodec.cpp21 extern AudioCodec *newAlawCodec();
22 extern AudioCodec *newUlawCodec();
23 extern AudioCodec *newGsmCodec();
24 extern AudioCodec *newAmrCodec();
25 extern AudioCodec *newGsmEfrCodec();
29 AudioCodec *(*create)();
39 AudioCodec *newAudioCodec(const char *codecName) in newAudioCodec()
44 AudioCodec *codec = type->create(); in newAudioCodec()
DAudioCodec.h22 class AudioCodec
27 virtual ~AudioCodec() {} in ~AudioCodec()
36 AudioCodec *newAudioCodec(const char *codecName);
DG711Codec.cpp34 class UlawCodec : public AudioCodec
85 class AlawCodec : public AudioCodec
136 AudioCodec *newUlawCodec() in newUlawCodec()
141 AudioCodec *newAlawCodec() in newAlawCodec()
DAmrCodec.cpp32 class AmrCodec : public AudioCodec
190 class GsmEfrCodec : public AudioCodec
264 AudioCodec *newAmrCodec() in newAmrCodec()
269 AudioCodec *newGsmEfrCodec() in newGsmEfrCodec()
DGsmCodec.cpp23 class GsmCodec : public AudioCodec
73 AudioCodec *newGsmCodec() in newGsmCodec()
DAndroid.bp22 "AudioCodec.cpp",
DAudioGroup.cpp104 AudioCodec *codec, int sampleRate, int sampleCount,
123 AudioCodec *mCodec;
170 AudioCodec *codec, int sampleRate, int sampleCount, in set()
959 AudioCodec *codec = NULL; in add()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java80 import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.AudioCodec;
518 if (codec != AudioCodec.AUDIO_CODEC_UNKNOWN) { in addCall()
831 codecUsage.put(getTimeMillis(), AudioCodec.AUDIO_CODEC_UNKNOWN); in finalizeMainCodecQuality()
860 case AudioCodec.AUDIO_CODEC_AMR: in getCodecQuality()
861 case AudioCodec.AUDIO_CODEC_QCELP13K: in getCodecQuality()
862 case AudioCodec.AUDIO_CODEC_EVRC: in getCodecQuality()
863 case AudioCodec.AUDIO_CODEC_EVRC_B: in getCodecQuality()
864 case AudioCodec.AUDIO_CODEC_EVRC_NW: in getCodecQuality()
865 case AudioCodec.AUDIO_CODEC_GSM_EFR: in getCodecQuality()
866 case AudioCodec.AUDIO_CODEC_GSM_FR: in getCodecQuality()
[all …]
DTelephonyMetrics.java2779 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_AMR; in convertImsCodec()
2781 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_AMR_WB; in convertImsCodec()
2783 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_QCELP13K; in convertImsCodec()
2785 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_EVRC; in convertImsCodec()
2787 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_EVRC_B; in convertImsCodec()
2789 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_EVRC_WB; in convertImsCodec()
2791 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_EVRC_NW; in convertImsCodec()
2793 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_GSM_EFR; in convertImsCodec()
2795 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_GSM_FR; in convertImsCodec()
2797 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_GSM_HR; in convertImsCodec()
[all …]
/frameworks/av/media/libmedia/include/media/
DMediaProfiles.h213 struct AudioCodec { struct
224 AudioCodec(audio_encoder codec, int bitrate, int sampleRate, int channels, int profile = -1)
232 AudioCodec(const AudioCodec&) = default; argument
234 ~AudioCodec() {} in ~AudioCodec() argument
286 std::vector<const AudioCodec *> getAudioCodecs() const; argument
317 std::vector<AudioCodec> mAudioCodecs;
502 static void logAudioCodec(const AudioCodec& codec);
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java24 import android.net.rtp.AudioCodec;
746 AudioCodec[] codecs = AudioCodec.getCodecs();
749 for (AudioCodec codec : AudioCodec.getCodecs()) {
763 AudioCodec codec = null;
770 codec = AudioCodec.getCodec(type, media.getRtpmap(type),
832 AudioCodec codec = mAudioStream.getCodec();
1030 AudioCodec codec = null;
1037 codec = AudioCodec.getCodec(
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java84 import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.AudioCodec;
266 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_EVS_SWB; in singleImsCall_moRejected()
408 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_EVS_SWB; in singleImsCall_moAccepted()
469 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_AMR; in singleImsCall_mtRejected()
518 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_AMR; in singleImsCall_mtStartFailed()
567 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_AMR; in singleImsCall_mtAccepted()
627 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_AMR; in singleImsCall_dsdsModeSingleSim()
674 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_AMR; in singleImsCall_dsdsMode()
721 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_AMR; in singleImsCall_esim()
763 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_AMR; in singleImsCall_emergency()
[all …]
DPersistAtomsStorageTest.java120 import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.AudioCodec;
344 (1 << AudioCodec.AUDIO_CODEC_EVS_SWB) | (1 << AudioCodec.AUDIO_CODEC_AMR); in makeTestData()
371 mCall2Proto.codecBitmask = (1 << AudioCodec.AUDIO_CODEC_EVS_SWB); in makeTestData()
398 mCall3Proto.codecBitmask = (1 << AudioCodec.AUDIO_CODEC_EVS_SWB); in makeTestData()
424 mCall4Proto.codecBitmask = (1 << AudioCodec.AUDIO_CODEC_AMR); in makeTestData()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java48 import com.android.server.hdmi.Constants.AudioCodec;
516 @AudioCodec int[] audioCodecs = parseAudioCodecs(message.getParams()); in handleRequestShortAudioDescriptor()
541 AudioDeviceInfo deviceInfo, @AudioCodec int[] audioCodecs) { in getSupportedShortAudioDescriptors()
543 for (@AudioCodec int audioCodec : audioCodecs) { in getSupportedShortAudioDescriptors()
560 List<DeviceConfig> deviceConfig, @AudioCodec int[] audioCodecs) { in getSupportedShortAudioDescriptorsFromConfig()
609 AudioDeviceInfo deviceInfo, @AudioCodec int audioCodec) { in getSupportedShortAudioDescriptor()
700 private byte getFirstByteOfSAD(AudioDeviceInfo deviceInfo, @AudioCodec int audioCodec) { in getFirstByteOfSAD()
794 @AudioCodec
796 @AudioCodec int[] audioCodecs = new int[params.length]; in parseAudioCodecs()
DHdmiCecMessageBuilder.java19 import com.android.server.hdmi.Constants.AudioCodec;
268 @AudioCodec int[] audioFormats) { in buildRequestShortAudioDescriptor()
DHdmiUtils.java36 import com.android.server.hdmi.Constants.AudioCodec;
686 @AudioCodec
DConstants.java323 public @interface AudioCodec {} annotation in Constants
/frameworks/av/media/libmedia/
DMediaProfiles.cpp201 MediaProfiles::logAudioCodec(const MediaProfiles::AudioCodec& codec UNUSED) in logAudioCodec()
504 AudioCodec audioCodec{ in createAudioCodec()
1386 std::vector<const MediaProfiles::AudioCodec *>
1388 std::vector<const MediaProfiles::AudioCodec *> res; in getAudioCodecs()
1389 for (const MediaProfiles::AudioCodec &ac : mAudioCodecs) { in getAudioCodecs()
/frameworks/base/media/jni/
Dandroid_media_MediaProfiles.cpp304 for (const MediaProfiles::AudioCodec *ac : cp->getAudioCodecs()) { in android_media_MediaProfiles_native_get_camcorder_profiles()
/frameworks/base/telecomm/java/android/telecom/
DConnection.java685 public @interface AudioCodec {} annotation in Connection
830 public static final @AudioCodec String EXTRA_AUDIO_CODEC =
/frameworks/opt/telephony/proto/src/
Dtelephony.proto2104 enum AudioCodec { enum
2290 optional AudioCodec codec_type = 11;
2439 optional AudioCodec audio_codec = 22;
/frameworks/base/boot/
Dpreloaded-classes5743 android.net.rtp.AudioCodec
12650 com.android.internal.telephony.nano.TelephonyProto$TelephonyCallSession$Event$AudioCodec
14332 [Landroid.net.rtp.AudioCodec;

12