Searched refs:audioProfile (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | DirectAudioProfilesForAttributesTest.kt | 80 audioProfile: AudioProfile, in <lambda>() 83 if (audioProfile.format == AudioFormat.ENCODING_INVALID) { in <lambda>() 84 fail("Found INVALID audio format in audio profile ($audioProfile) " + in <lambda>() 87 for (audioFormat in audioProfile.getAllAudioFormats()) { in <lambda>()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | CamcorderProfileTest.java | 226 for (EncoderProfiles.AudioProfile audioProfile : allProfiles.getAudioProfiles()) { in checkAllProfiles() 230 assertEquals(profile.audioCodec, audioProfile.getCodec()); in checkAllProfiles() 231 assertEquals(profile.audioBitRate, audioProfile.getBitrate()); in checkAllProfiles() 232 assertEquals(profile.audioSampleRate, audioProfile.getSampleRate()); in checkAllProfiles() 233 assertEquals(profile.audioChannels, audioProfile.getChannels()); in checkAllProfiles() 236 assertTrue(audioProfile.getMediaType() != null); in checkAllProfiles() 237 switch (audioProfile.getCodec()) { in checkAllProfiles() 240 assertEquals(MediaFormat.MIMETYPE_AUDIO_AMR_NB, audioProfile.getMediaType()); in checkAllProfiles() 243 assertEquals(MediaFormat.MIMETYPE_AUDIO_AMR_WB, audioProfile.getMediaType()); in checkAllProfiles() 246 assertEquals(MediaFormat.MIMETYPE_AUDIO_AAC, audioProfile.getMediaType()); in checkAllProfiles() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RecordingTest.java | 1561 for (EncoderProfiles.AudioProfile audioProfile : profiles.getAudioProfiles()) { in basicRecordingTestByCamera() 1563 doBasicRecordingByProfile(profiles, videoProfile, audioProfile, in basicRecordingTestByCamera() 1617 EncoderProfiles.VideoProfile videoProfile, EncoderProfiles.AudioProfile audioProfile, in doBasicRecordingByProfile() argument 1626 (audioProfile == null ? "(null)" : audioProfile.getMediaType())); in doBasicRecordingByProfile() 1634 if (audioProfile != null) { in doBasicRecordingByProfile() 1635 mOutMediaFileName += "_" + audioProfile.getCodec(); in doBasicRecordingByProfile() 1640 setupMediaRecorder(profiles, videoProfile, audioProfile); in doBasicRecordingByProfile() 2204 EncoderProfiles.AudioProfile audioProfile) throws Exception { in setupMediaRecorder() argument 2210 if (audioProfile != null) { in setupMediaRecorder() 2211 mMediaRecorder.setAudioProfile(audioProfile); in setupMediaRecorder()
|