Home
last modified time | relevance | path

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

12

/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.java164 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.bp18 "AudioCodec.cpp",
DAudioGroup.cpp100 AudioCodec *codec, int sampleRate, int sampleCount,
119 AudioCodec *mCodec;
166 AudioCodec *codec, int sampleRate, int sampleCount, in set()
954 AudioCodec *codec = NULL; in add()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java59 import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.AudioCodec;
75 private static final long AUDIO_CODEC_UNKNOWN = 1L << AudioCodec.AUDIO_CODEC_UNKNOWN;
593 map.put(DriverCall.AUDIO_QUALITY_AMR, 1L << AudioCodec.AUDIO_CODEC_AMR); in buildGsmCdmaCodecMap()
594 map.put(DriverCall.AUDIO_QUALITY_AMR_WB, 1L << AudioCodec.AUDIO_CODEC_AMR_WB); in buildGsmCdmaCodecMap()
595 map.put(DriverCall.AUDIO_QUALITY_GSM_EFR, 1L << AudioCodec.AUDIO_CODEC_GSM_EFR); in buildGsmCdmaCodecMap()
596 map.put(DriverCall.AUDIO_QUALITY_GSM_FR, 1L << AudioCodec.AUDIO_CODEC_GSM_FR); in buildGsmCdmaCodecMap()
597 map.put(DriverCall.AUDIO_QUALITY_GSM_HR, 1L << AudioCodec.AUDIO_CODEC_GSM_HR); in buildGsmCdmaCodecMap()
598 map.put(DriverCall.AUDIO_QUALITY_EVRC, 1L << AudioCodec.AUDIO_CODEC_EVRC); in buildGsmCdmaCodecMap()
599 map.put(DriverCall.AUDIO_QUALITY_EVRC_B, 1L << AudioCodec.AUDIO_CODEC_EVRC_B); in buildGsmCdmaCodecMap()
600 map.put(DriverCall.AUDIO_QUALITY_EVRC_WB, 1L << AudioCodec.AUDIO_CODEC_EVRC_WB); in buildGsmCdmaCodecMap()
[all …]
DTelephonyMetrics.java2626 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_AMR; in convertImsCodec()
2628 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_AMR_WB; in convertImsCodec()
2630 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_QCELP13K; in convertImsCodec()
2632 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_EVRC; in convertImsCodec()
2634 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_EVRC_B; in convertImsCodec()
2636 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_EVRC_WB; in convertImsCodec()
2638 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_EVRC_NW; in convertImsCodec()
2640 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_GSM_EFR; in convertImsCodec()
2642 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_GSM_FR; in convertImsCodec()
2644 return TelephonyCallSession.Event.AudioCodec.AUDIO_CODEC_GSM_HR; in convertImsCodec()
[all …]
/frameworks/av/media/libmedia/include/media/
DMediaProfiles.h228 struct AudioCodec { struct
229 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) in AudioCodec() argument
235 AudioCodec(const AudioCodec& copy) { in AudioCodec() function
242 ~AudioCodec() {} in ~AudioCodec() argument
265 mAudioCodec = new AudioCodec(*copy.mAudioCodec); in CamcorderProfile() argument
278 AudioCodec *mAudioCodec;
352 static void logAudioCodec(const AudioCodec& codec);
367 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles);
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java24 import android.net.rtp.AudioCodec;
744 AudioCodec[] codecs = AudioCodec.getCodecs();
747 for (AudioCodec codec : AudioCodec.getCodecs()) {
761 AudioCodec codec = null;
768 codec = AudioCodec.getCodec(type, media.getRtpmap(type),
830 AudioCodec codec = mAudioStream.getCodec();
1028 AudioCodec codec = null;
1035 codec = AudioCodec.getCodec(
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java63 import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.AudioCodec;
215 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_EVS_SWB; in singleImsCall_moRejected()
301 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_EVS_SWB; in singleImsCall_moAccepted()
354 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_AMR; in singleImsCall_mtRejected()
398 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_AMR; in singleImsCall_mtAccepted()
449 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_AMR; in singleImsCall_dsdsModeSingleSim()
489 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_AMR; in singleImsCall_dsdsMode()
529 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_AMR; in singleImsCall_esim()
566 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_AMR; in singleImsCall_emergency()
604 expectedCall.codecBitmask = 1L << AudioCodec.AUDIO_CODEC_AMR; in singleImsCall_roaming()
[all …]
DPersistAtomsStorageTest.java49 import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.AudioCodec;
116 (1 << AudioCodec.AUDIO_CODEC_EVS_SWB) | (1 << AudioCodec.AUDIO_CODEC_AMR); in makeTestData()
145 mCall2Proto.codecBitmask = (1 << AudioCodec.AUDIO_CODEC_EVS_SWB); in makeTestData()
174 mCall3Proto.codecBitmask = (1 << AudioCodec.AUDIO_CODEC_EVS_SWB); in makeTestData()
202 mCall4Proto.codecBitmask = (1 << AudioCodec.AUDIO_CODEC_AMR); in makeTestData()
/frameworks/av/media/libmedia/
DMediaProfiles.cpp174 MediaProfiles::logAudioCodec(const MediaProfiles::AudioCodec& codec UNUSED) in logAudioCodec()
256 /*static*/ MediaProfiles::AudioCodec*
267 MediaProfiles::AudioCodec *audioCodec = in createAudioCodec()
268 new MediaProfiles::AudioCodec(static_cast<audio_encoder>(codec), in createAudioCodec()
711 AudioCodec *audioCodec = new AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderTimeLapseQcifProfile()
728 AudioCodec *audioCodec = new AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderTimeLapse480pProfile()
765 MediaProfiles::AudioCodec *audioCodec = in createDefaultCamcorderQcifProfile()
766 new MediaProfiles::AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderQcifProfile()
784 AudioCodec *audioCodec = new AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderCifProfile()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java45 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/base/telecomm/java/android/telecom/
DConnection.java651 public @interface AudioCodec {} annotation in Connection
749 public static final @AudioCodec String EXTRA_AUDIO_CODEC =
/frameworks/opt/telephony/proto/src/
Dtelephony.proto2064 enum AudioCodec { enum
2250 optional AudioCodec codec_type = 11;
2377 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/non-updatable-api/
Dcurrent.txt29603 public class AudioCodec {
29604 method public static android.net.rtp.AudioCodec getCodec(int, String, String);
29605 method public static android.net.rtp.AudioCodec[] getCodecs();
29606 field public static final android.net.rtp.AudioCodec AMR;
29607 field public static final android.net.rtp.AudioCodec GSM;
29608 field public static final android.net.rtp.AudioCodec GSM_EFR;
29609 field public static final android.net.rtp.AudioCodec PCMA;
29610 field public static final android.net.rtp.AudioCodec PCMU;
29632 method public android.net.rtp.AudioCodec getCodec();
29637 method public void setCodec(android.net.rtp.AudioCodec);

12