Home
last modified time | relevance | path

Searched refs:hasEncoder (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaCodecCapabilitiesTest.java90 hasEncoder(MIMETYPE_VIDEO_AVC, AVCProfileBaseline, AVCLevel3)); in testH264EncoderProfileAndLevel()
92 if (hasEncoder(MIMETYPE_VIDEO_AVC, AVCProfileMain, AVCLevel4)) { in testH264EncoderProfileAndLevel()
125 hasEncoder(MIMETYPE_VIDEO_H263, MPEG4ProfileSimple, H263Level45)); in testH263EncoderProfileAndLevel()
328 private boolean hasEncoder(String mime, int profile, int level) { in hasEncoder() method in MediaCodecCapabilitiesTest
DRoutingTest.java759 || !MediaUtils.hasEncoder(MediaFormat.MIMETYPE_AUDIO_AAC)) { in test_mediaRecorder_preferredDevice()
795 || !MediaUtils.hasEncoder(MediaFormat.MIMETYPE_AUDIO_AAC)) { in test_mediaRecorder_getRoutedDeviceId()
812 || !MediaUtils.hasEncoder(MediaFormat.MIMETYPE_AUDIO_AAC)) { in test_mediaRecorder_RoutingListener()
DHeifWriterTest.java217 return MediaUtils.hasEncoder(MediaFormat.MIMETYPE_VIDEO_HEVC) in canEncodeHeic()
218 || MediaUtils.hasEncoder(MediaFormat.MIMETYPE_IMAGE_ANDROID_HEIC); in canEncodeHeic()
DMediaRecorderTest.java1598 return MediaUtils.hasEncoder(MediaFormat.MIMETYPE_AUDIO_AMR_NB); in hasAmrNb()
1602 return MediaUtils.hasEncoder(MediaFormat.MIMETYPE_AUDIO_AMR_WB); in hasAmrWb()
1606 return MediaUtils.hasEncoder(MediaFormat.MIMETYPE_AUDIO_AAC); in hasAac()
1610 return MediaUtils.hasEncoder(MediaFormat.MIMETYPE_VIDEO_AVC); in hasH264()
DEncodeDecodeTest.java373 if (!MediaUtils.hasEncoder(mMimeType)) { in shouldSkip()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java538 public static boolean hasEncoder(String... mimes) { in hasEncoder() method in MediaUtils