Home
last modified time | relevance | path

Searched refs:getCodec (Results 1 – 20 of 20) sorted by relevance

/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/rtp/cts/
H A DAudioCodecTest.java45 assertNull(AudioCodec.getCodec(128, "PCMU/8000", null)); in testGetCodec()
46 assertNull(AudioCodec.getCodec(-1, "PCMU/8000", null)); in testGetCodec()
47 assertNull(AudioCodec.getCodec(96, null, null)); in testGetCodec()
50 assertEquals(AudioCodec.getCodec(0, null, null), 0, "PCMU/8000", null); in testGetCodec()
51 assertEquals(AudioCodec.getCodec(8, null, null), 8, "PCMA/8000", null); in testGetCodec()
52 assertEquals(AudioCodec.getCodec(3, null, null), 3, "GSM/8000", null); in testGetCodec()
55 assertEquals(AudioCodec.getCodec(96, "pcmu/8000", null), 96, "PCMU/8000", null); in testGetCodec()
56 assertEquals(AudioCodec.getCodec(97, "pcma/8000", null), 97, "PCMA/8000", null); in testGetCodec()
57 assertEquals(AudioCodec.getCodec(98, "gsm/8000", null), 98, "GSM/8000", null); in testGetCodec()
58 assertEquals(AudioCodec.getCodec(99, "gsm-efr/8000", null), 99, "GSM-EFR/8000", null); in testGetCodec()
[all …]
H A DAudioStreamTest.java64 stream.setCodec(AudioCodec.getCodec(97, "PCMU/8000", null)); in testSetDtmfType()
77 assertNull(stream.getCodec()); in testSetCodec()
78 stream.setCodec(AudioCodec.getCodec(97, "PCMU/8000", null)); in testSetCodec()
79 assertNotNull(stream.getCodec()); in testSetCodec()
83 stream.setCodec(AudioCodec.getCodec(96, "PCMU/8000", null)); in testSetCodec()
/aosp12/frameworks/av/media/libmediatranscoding/transcoder/
H A DVideoTrackTranscoder.cpp107 AMediaCodec* getCodec() { return mCodec; } in getCodec() function in android::VideoTrackTranscoder::CodecWrapper
139 } else if (codec == transcoder->mEncoder->getCodec()) { in onAsyncOutputAvailable()
289 status = AMediaCodec_configure(mEncoder->getCodec(), mDestinationFormat.get(), in configureDestinationFormat()
297 status = AMediaCodec_createInputSurface(mEncoder->getCodec(), &mSurface); in configureDestinationFormat()
390 status = AMediaCodec_setAsyncNotifyCallback(mEncoder->getCodec(), asyncCodecCallbacks, in configureDestinationFormat()
461 media_status_t status = AMediaCodec_signalEndOfInputStream(mEncoder->getCodec()); in transferBuffer()
474 AMediaCodec_getOutputBuffer(mEncoder->getCodec(), bufferIndex, &sampleSize); in dequeueOutputSample()
478 AMediaCodec_releaseOutputBuffer(encoder->getCodec(), sample->bufferId, in dequeueOutputSample()
521 if (AMediaCodec_setParameters(mEncoder->getCodec(), params) != AMEDIA_OK) { in updateTrackFormat()
612 media_status_t status = AMediaCodec_start(mEncoder->getCodec()); in runTranscodeLoop()
/aosp12/frameworks/base/media/java/android/media/
H A DEncoderProfiles.java81 public @MediaRecorder.VideoEncoderValues int getCodec() { in getCodec() method in EncoderProfiles.VideoProfile
246 public @MediaRecorder.AudioEncoderValues int getCodec() { in getCodec() method in EncoderProfiles.AudioProfile
H A DMediaRecorder.java823 setAudioEncoder(profile.getCodec()); in setAudioProfile()
842 setVideoEncoder(profile.getCodec()); in setVideoProfile()
/aosp12/frameworks/opt/net/voip/src/java/android/net/rtp/
H A DAudioStream.java110 public AudioCodec getCodec() { in getCodec() method in AudioStream
H A DAudioCodec.java110 public static AudioCodec getCodec(int type, String rtpmap, String fmtp) { in getCodec() method in AudioCodec
H A DAudioGroup.java168 AudioCodec codec = stream.getCodec(); in add()
/aosp12/frameworks/av/media/libmedia/include/media/
H A DMediaProfiles.h134 video_encoder getCodec() const { in getCodec() function
200 audio_encoder getCodec() const { in getCodec() function
/aosp12/frameworks/av/media/libmedia/xsd/api/
H A Dcurrent.txt8 method public String getCodec();
96 method public String getCodec();
/aosp12/frameworks/base/media/jni/
H A Dandroid_media_MediaProfiles.cpp267 vc->getCodec(), in android_media_MediaProfiles_native_get_camcorder_profiles()
289 ac->getCodec(), in android_media_MediaProfiles_native_get_camcorder_profiles()
/aosp12/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipAudioCall.java770 codec = AudioCodec.getCodec(type, media.getRtpmap(type),
832 AudioCodec codec = mAudioStream.getCodec();
1037 codec = AudioCodec.getCodec(
/aosp12/packages/services/Car/tests/BugReportApp/libs/
H A Djackson-core-2.9.9.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/LICENSE META-INF ...
/aosp12/packages/apps/Car/DebuggingRestrictionController/libs/
H A Djackson-core-2.11.1.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE META-INF ...
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioDeviceInventory.java310 final @AudioSystem.AudioFormatNativeEnumForBtCodec int a2dpCodec = btInfo.getCodec(); in onSetA2dpSinkConnectionState()
443 @AudioSystem.AudioFormatNativeEnumForBtCodec final int a2dpCodec = btInfo.getCodec(); in onBluetoothA2dpActiveDeviceChange()
H A DBtHelper.java172 public @AudioSystem.AudioFormatNativeEnumForBtCodec int getCodec() { in getCodec() method in BtHelper.BluetoothA2dpDeviceInfo
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt21145 method public int getCodec();
21153 method public int getCodec();
26954 method @Deprecated public static android.net.rtp.AudioCodec getCodec(int, String, String);
26982 method @Deprecated public android.net.rtp.AudioCodec getCodec();
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt17633 … method public static android.net.rtp.AudioCodec getCodec(int, java.lang.String, java.lang.String);
17660 method public android.net.rtp.AudioCodec getCodec();
/aosp12/frameworks/base/services/
H A Dart-profile11485 PLcom/android/server/audio/BtHelper$BluetoothA2dpDeviceInfo;->getCodec()I