Home
last modified time | relevance | path

Searched refs:audioEncoder (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaProfileReader.java87 public static String getAudioCodecName(int audioEncoder) { in getAudioCodecName() argument
88 if (audioEncoder != MediaRecorder.AudioEncoder.AMR_NB && in getAudioCodecName()
89 audioEncoder != MediaRecorder.AudioEncoder.AMR_WB && in getAudioCodecName()
90 audioEncoder != MediaRecorder.AudioEncoder.AAC && in getAudioCodecName()
91 audioEncoder != MediaRecorder.AudioEncoder.HE_AAC && in getAudioCodecName()
92 audioEncoder != MediaRecorder.AudioEncoder.AAC_ELD) { in getAudioCodecName()
93 throw new IllegalArgumentException("Unsupported audio encodeer " + audioEncoder); in getAudioCodecName()
95 return audioEncoderMap.get(audioEncoder); in getAudioCodecName()
DMediaRecorderStressTestRunner.java66 String audioEncoder = (String) icicle.get("audio_encoder"); in onCreate() local
80 if (audioEncoder != null) { in onCreate()
81 mAudioEncoder = Integer.parseInt(audioEncoder); in onCreate()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java307 int audioEncoder = audioCap.mCodec; in recordVideoWithPara() local
327 … String filename = ("/sdcard/" + videoEncoder + "_" + audioEncoder + "_" + highQuality + ".3gp"); in recordVideoWithPara()
330 Log.v(TAG, "audio encoder : " + audioEncoder); in recordVideoWithPara()
333 Log.v(TAG, "audio : " + MediaProfileReader.getAudioCodecName(audioEncoder)); in recordVideoWithPara()
354 mMediaRecorder.setAudioEncoder(audioEncoder); in recordVideoWithPara()
512 for (AudioEncoderCap audioEncoder: audioEncoders) { in testDeviceSpecificCodec()
514 recordSuccess = recordVideoWithPara(videoEncoder, audioEncoder, true); in testDeviceSpecificCodec()
516 recordSuccess = recordVideoWithPara(videoEncoder, audioEncoder, false); in testDeviceSpecificCodec()
520 … Log.v(TAG, "Encoder = " + videoEncoder.mCodec + "Audio Encoder = " + audioEncoder.mCodec); in testDeviceSpecificCodec()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java176 int audioEncoder; in recordVideoAndPlayback() local
187 audioEncoder = camcorderProfile.audioCodec; in recordVideoAndPlayback()
194 audioEncoder = MediaRecorderStressTestRunner.mAudioEncoder; in recordVideoAndPlayback()
223 Log.v(TAG, "audio encoder : " + audioEncoder); in recordVideoAndPlayback()
238 mRecorder.setAudioEncoder(audioEncoder); in recordVideoAndPlayback()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp1443 sp<MediaCodecSource> audioEncoder = in createAudioSource() local
1451 if (audioEncoder == NULL) { in createAudioSource()
1455 return audioEncoder; in createAudioSource()
1528 sp<MediaCodecSource> audioEncoder = createAudioSource(); in setupRawAudioRecording() local
1529 if (audioEncoder == NULL) { in setupRawAudioRecording()
1534 mWriter->addSource(audioEncoder); in setupRawAudioRecording()
1535 mAudioEncoderSource = audioEncoder; in setupRawAudioRecording()
2191 sp<MediaCodecSource> audioEncoder = createAudioSource(); in setupAudioEncoder() local
2192 if (audioEncoder == NULL) { in setupAudioEncoder()
2196 writer->addSource(audioEncoder); in setupAudioEncoder()
[all …]
/frameworks/av/media/libmediaplayerservice/tests/stagefrightRecorder/
DStagefrightRecorderTest.cpp260 audio_encoder audioEncoder = GetParam().second; in TEST_P() local
261 ASSERT_NO_FATAL_FAILURE(setAudioRecorderFormat(outputFormat, audioEncoder)); in TEST_P()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp1581 bool audioEncoder = !graphic && (kind.value == C2Component::KIND_ENCODER); in start() local
1605 if (audioEncoder) { in start()
1675 if (audioEncoder && encoderFrameSize && sampleRate && channelCount) { in start()