Home
last modified time | relevance | path

Searched refs:supportedTypes (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaCodecListTest.java523 Set<String> supportedTypes = new HashSet<String>(Arrays.asList(info.getSupportedTypes())); in testMediaTypeInCodecNamesIsMeaningful() local
528 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_VIDEO_MPEG2) in testMediaTypeInCodecNamesIsMeaningful()
529 || supportedTypes.contains(MediaFormat.MIMETYPE_AUDIO_MPEG + "-L2")); in testMediaTypeInCodecNamesIsMeaningful()
532 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_VIDEO_H263)); in testMediaTypeInCodecNamesIsMeaningful()
535 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_VIDEO_MPEG4)); in testMediaTypeInCodecNamesIsMeaningful()
538 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_VIDEO_AVC)); in testMediaTypeInCodecNamesIsMeaningful()
541 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_VIDEO_VP8)); in testMediaTypeInCodecNamesIsMeaningful()
544 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_VIDEO_HEVC)); in testMediaTypeInCodecNamesIsMeaningful()
547 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_VIDEO_VP9)); in testMediaTypeInCodecNamesIsMeaningful()
550 assertTrue(supportedTypes.contains(MediaFormat.MIMETYPE_VIDEO_AV1)); in testMediaTypeInCodecNamesIsMeaningful()
[all …]
DMediaCodecClearKeyPlayer.java457 String[] supportedTypes = info.getSupportedTypes(); in getSecureDecoderNameForMime() local
459 for (int j = 0; j < supportedTypes.length; ++j) { in getSecureDecoderNameForMime()
460 if (supportedTypes[j].equalsIgnoreCase(mime)) { in getSecureDecoderNameForMime()