Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DMediaCodecCapabilitiesTest.java94 hasEncoder(MIMETYPE_VIDEO_AVC, AVCProfileBaseline, AVCLevel3)); in testH264EncoderProfileAndLevel()
96 if (hasEncoder(MIMETYPE_VIDEO_AVC, AVCProfileMain, AVCLevel4)) { in testH264EncoderProfileAndLevel()
129 hasEncoder(MIMETYPE_VIDEO_H263, MPEG4ProfileSimple, H263Level45)); in testH263EncoderProfileAndLevel()
345 private boolean hasEncoder(String mime, int profile, int level) { in hasEncoder() method in MediaCodecCapabilitiesTest
912 if (MediaUtils.hasEncoder(MediaFormat.MIMETYPE_AUDIO_AAC)) { in testGetComplexityRange()
925 if (MediaUtils.hasEncoder(MediaFormat.MIMETYPE_AUDIO_FLAC)) { in testGetComplexityRange()
DRoutingTest.java810 || !MediaUtils.hasEncoder(MediaFormat.MIMETYPE_AUDIO_AAC)) { in test_mediaRecorder_preferredDevice()
846 || !MediaUtils.hasEncoder(MediaFormat.MIMETYPE_AUDIO_AAC)) { in test_mediaRecorder_getRoutedDeviceId()
863 || !MediaUtils.hasEncoder(MediaFormat.MIMETYPE_AUDIO_AAC)) { in test_mediaRecorder_RoutingListener()
DHeifWriterTest.java241 if (!MediaUtils.hasEncoder(MediaFormat.MIMETYPE_IMAGE_ANDROID_HEIC)) { in testHeicFallbackAvailable()
271 return MediaUtils.hasEncoder(MediaFormat.MIMETYPE_VIDEO_HEVC) in canEncodeHeic()
272 || MediaUtils.hasEncoder(MediaFormat.MIMETYPE_IMAGE_ANDROID_HEIC); in canEncodeHeic()
DMediaRecorderTest.java1623 return MediaUtils.hasEncoder(MediaFormat.MIMETYPE_AUDIO_AMR_NB); in hasAmrNb()
1627 return MediaUtils.hasEncoder(MediaFormat.MIMETYPE_AUDIO_AMR_WB); in hasAmrWb()
1631 return MediaUtils.hasEncoder(MediaFormat.MIMETYPE_AUDIO_AAC); in hasAac()
1635 return MediaUtils.hasEncoder(MediaFormat.MIMETYPE_VIDEO_AVC); in hasH264()
DEncodeDecodeTest.java377 if (!MediaUtils.hasEncoder(mMimeType)) { in shouldSkip()
/cts/tests/camera/src/android/hardware/camera2/cts/
DHeifWriterTest.java233 return MediaUtils.hasEncoder(MediaFormat.MIMETYPE_VIDEO_HEVC) in canEncodeHeic()
234 || MediaUtils.hasEncoder(MediaFormat.MIMETYPE_IMAGE_ANDROID_HEIC); in canEncodeHeic()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java618 public static boolean hasEncoder(String... mimes) { in hasEncoder() method in MediaUtils