Home
last modified time | relevance | path

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

/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioCodec.java37 public class AudioCodec { class
56 public static final AudioCodec PCMU = new AudioCodec(0, "PCMU/8000", null);
61 public static final AudioCodec PCMA = new AudioCodec(8, "PCMA/8000", null);
67 public static final AudioCodec GSM = new AudioCodec(3, "GSM/8000", null);
73 public static final AudioCodec GSM_EFR = new AudioCodec(96, "GSM-EFR/8000", null);
80 public static final AudioCodec AMR = new AudioCodec(97, "AMR/8000", null);
82 private static final AudioCodec[] sCodecs = {GSM_EFR, AMR, GSM, PCMU, PCMA};
84 private AudioCodec(int type, String rtpmap, String fmtp) { in AudioCodec() method in AudioCodec
93 public static AudioCodec[] getCodecs() { in getCodecs()
107 public static AudioCodec getCodec(int type, String rtpmap, String fmtp) { in getCodec()
[all …]
DAudioStream.java46 private AudioCodec mCodec;
108 public AudioCodec getCodec() { in getCodec()
119 public void setCodec(AudioCodec codec) { in setCodec()
DAudioGroup.java150 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.cpp25 class GsmCodec : public AudioCodec
75 AudioCodec *newGsmCodec() in newGsmCodec()
DAndroid.bp18 "AudioCodec.cpp",
DAudioGroup.cpp102 AudioCodec *codec, int sampleRate, int sampleCount,
121 AudioCodec *mCodec;
168 AudioCodec *codec, int sampleRate, int sampleCount, in set()
947 AudioCodec *codec = NULL; in add()
/frameworks/av/media/libmedia/include/media/
DMediaProfiles.h245 struct AudioCodec { struct
246 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) in AudioCodec() function
252 AudioCodec(const AudioCodec& copy) { in AudioCodec() argument
259 ~AudioCodec() {} in ~AudioCodec() argument
282 mAudioCodec = new AudioCodec(*copy.mAudioCodec); in CamcorderProfile() argument
295 AudioCodec *mAudioCodec;
369 static void logAudioCodec(const AudioCodec& codec);
384 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles);
/frameworks/av/include/media/
DMediaProfiles.h245 struct AudioCodec { struct
246 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) in AudioCodec() function
252 AudioCodec(const AudioCodec& copy) { in AudioCodec() argument
259 ~AudioCodec() {} in ~AudioCodec() argument
282 mAudioCodec = new AudioCodec(*copy.mAudioCodec); in CamcorderProfile() argument
295 AudioCodec *mAudioCodec;
369 static void logAudioCodec(const AudioCodec& codec);
384 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles);
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java21 import android.net.rtp.AudioCodec;
738 AudioCodec[] codecs = AudioCodec.getCodecs();
741 for (AudioCodec codec : AudioCodec.getCodecs()) {
755 AudioCodec codec = null;
762 codec = AudioCodec.getCodec(type, media.getRtpmap(type),
824 AudioCodec codec = mAudioStream.getCodec();
1020 AudioCodec codec = null;
1027 codec = AudioCodec.getCodec(
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java2538 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_AMR; in convertImsCodec()
2540 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_AMR_WB; in convertImsCodec()
2542 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_QCELP13K; in convertImsCodec()
2544 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_EVRC; in convertImsCodec()
2546 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_EVRC_B; in convertImsCodec()
2548 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_EVRC_WB; in convertImsCodec()
2550 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_EVRC_NW; in convertImsCodec()
2552 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_GSM_EFR; in convertImsCodec()
2554 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_GSM_FR; in convertImsCodec()
2556 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_GSM_HR; in convertImsCodec()
[all …]
/frameworks/av/media/libmedia/
DMediaProfiles.cpp128 MediaProfiles::logAudioCodec(const MediaProfiles::AudioCodec& codec UNUSED) in logAudioCodec()
210 /*static*/ MediaProfiles::AudioCodec*
221 MediaProfiles::AudioCodec *audioCodec = in createAudioCodec()
222 new MediaProfiles::AudioCodec(static_cast<audio_encoder>(codec), in createAudioCodec()
665 AudioCodec *audioCodec = new AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderTimeLapseQcifProfile()
682 AudioCodec *audioCodec = new AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderTimeLapse480pProfile()
719 MediaProfiles::AudioCodec *audioCodec = in createDefaultCamcorderQcifProfile()
720 new MediaProfiles::AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderQcifProfile()
738 AudioCodec *audioCodec = new AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderCifProfile()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java44 import com.android.server.hdmi.Constants.AudioCodec;
592 @AudioCodec int[] audioFormatCodes = parseAudioFormatCodes(message.getParams()); in handleRequestShortAudioDescriptor()
617 AudioDeviceInfo deviceInfo, @AudioCodec int[] audioFormatCodes) { in getSupportedShortAudioDescriptors()
619 for (@AudioCodec int audioFormatCode : audioFormatCodes) { in getSupportedShortAudioDescriptors()
636 List<DeviceConfig> deviceConfig, @AudioCodec int[] audioFormatCodes) { in getSupportedShortAudioDescriptorsFromConfig()
684 AudioDeviceInfo deviceInfo, @AudioCodec int audioFormatCode) { in getSupportedShortAudioDescriptor()
742 @AudioCodec
744 @AudioCodec int[] audioFormatCodes = new int[params.length]; in parseAudioFormatCodes()
DHdmiCecMessageBuilder.java19 import com.android.server.hdmi.Constants.AudioCodec;
280 @AudioCodec int[] audioFormats) { in buildRequestShortAudioDescriptor()
DConstants.java207 public @interface AudioCodec {} annotation in Constants
DHdmiUtils.java27 import com.android.server.hdmi.Constants.AudioCodec;
569 @AudioCodec
/frameworks/opt/telephony/proto/src/
Dtelephony.proto1947 enum AudioCodec { enum
2126 optional AudioCodec codec_type = 11;
2241 optional AudioCodec audio_codec = 22;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17632 public class AudioCodec {
17633 … method public static android.net.rtp.AudioCodec getCodec(int, java.lang.String, java.lang.String);
17634 method public static android.net.rtp.AudioCodec[] getCodecs();
17635 field public static final android.net.rtp.AudioCodec AMR;
17636 field public static final android.net.rtp.AudioCodec GSM;
17637 field public static final android.net.rtp.AudioCodec GSM_EFR;
17638 field public static final android.net.rtp.AudioCodec PCMA;
17639 field public static final android.net.rtp.AudioCodec PCMU;
17660 method public android.net.rtp.AudioCodec getCodec();
17665 method public void setCodec(android.net.rtp.AudioCodec);
/frameworks/base/api/
Dcurrent.txt29315 public class AudioCodec {
29316 method public static android.net.rtp.AudioCodec getCodec(int, String, String);
29317 method public static android.net.rtp.AudioCodec[] getCodecs();
29318 field public static final android.net.rtp.AudioCodec AMR;
29319 field public static final android.net.rtp.AudioCodec GSM;
29320 field public static final android.net.rtp.AudioCodec GSM_EFR;
29321 field public static final android.net.rtp.AudioCodec PCMA;
29322 field public static final android.net.rtp.AudioCodec PCMU;
29343 method public android.net.rtp.AudioCodec getCodec();
29348 method public void setCodec(android.net.rtp.AudioCodec);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt48303 Landroid/net/rtp/AudioCodec;-><init>(ILjava/lang/String;Ljava/lang/String;)V
48304 Landroid/net/rtp/AudioCodec;->sCodecs:[Landroid/net/rtp/AudioCodec;
48315 Landroid/net/rtp/AudioStream;->mCodec:Landroid/net/rtp/AudioCodec;