Searched refs:hasEncoder (Results 1 – 7 of 7) sorted by relevance
94 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 MediaCodecCapabilitiesTest912 if (MediaUtils.hasEncoder(MediaFormat.MIMETYPE_AUDIO_AAC)) { in testGetComplexityRange()925 if (MediaUtils.hasEncoder(MediaFormat.MIMETYPE_AUDIO_FLAC)) { in testGetComplexityRange()
810 || !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()
241 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()
1623 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()
377 if (!MediaUtils.hasEncoder(mMimeType)) { in shouldSkip()
233 return MediaUtils.hasEncoder(MediaFormat.MIMETYPE_VIDEO_HEVC) in canEncodeHeic()234 || MediaUtils.hasEncoder(MediaFormat.MIMETYPE_IMAGE_ANDROID_HEIC); in canEncodeHeic()
618 public static boolean hasEncoder(String... mimes) { in hasEncoder() method in MediaUtils