Home
last modified time | relevance | path

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

/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStoreIntentsTest.java118 final String[] mimes = new String[] { in testViewImageFile() local
125 for (String mime : mimes) { in testViewImageFile()
139 final String[] mimes = new String[] { in testViewVideoFile() local
144 for (String mime : mimes) { in testViewVideoFile()
158 final String[] mimes = new String[] { in testViewAudioFile() local
163 for (String mime : mimes) { in testViewAudioFile()
/cts/tests/tests/drm/src/android/drm/cts/
DDrmSupportInfoTest.java139 Iterator<String> mimes = info.getMimeTypeIterator(); in checkAddValidMimeType() local
140 assertTrue(mimes.hasNext()); in checkAddValidMimeType()
141 String mime = (String) mimes.next(); in checkAddValidMimeType()
/cts/tests/media/src/android/mediav2/cts/
DEncoderColorAspectsTest.java102 String[] mimes = {MediaFormat.MIMETYPE_VIDEO_AVC, in input() local
124 for (String mime : mimes) { in input()
DCodecTestBase.java717 ArrayList<String> mimes = new ArrayList<>(); in compileCompleteTestMimeList() local
730 if (!mimes.contains(type)) { in compileCompleteTestMimeList()
731 mimes.add(type); in compileCompleteTestMimeList()
740 !mimes.contains(MediaFormat.MIMETYPE_VIDEO_AVC) && in compileCompleteTestMimeList()
741 !mimes.contains(MediaFormat.MIMETYPE_VIDEO_VP8)) { in compileCompleteTestMimeList()
743 mimes.add(MediaFormat.MIMETYPE_VIDEO_AVC); in compileCompleteTestMimeList()
744 mimes.add(MediaFormat.MIMETYPE_VIDEO_VP8); in compileCompleteTestMimeList()
748 if (!mimes.contains(mime)) { in compileCompleteTestMimeList()
750 mimes.add(mime); in compileCompleteTestMimeList()
758 if (mimeSelKeys.contains(key) && !mimes.contains(value)) mimes.add(value); in compileCompleteTestMimeList()
[all …]
DEncodeDecodeAccuracyTest.java177 final String[] mimes = {MediaFormat.MIMETYPE_VIDEO_AVC, MediaFormat.MIMETYPE_VIDEO_HEVC, in input() local
181 for (String mime : mimes) { in input()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java658 private static boolean hasCodecForMimes(boolean encoder, String[] mimes) { in hasCodecForMimes() argument
659 for (String mime : mimes) { in hasCodecForMimes()
669 public static boolean hasEncoder(String... mimes) { in hasEncoder() argument
670 return hasCodecForMimes(true /* encoder */, mimes); in hasEncoder()
673 public static boolean hasDecoder(String... mimes) { in hasDecoder() argument
674 return hasCodecForMimes(false /* encoder */, mimes); in hasDecoder()
677 public static boolean checkDecoder(String... mimes) { in checkDecoder() argument
678 return check(hasCodecForMimes(false /* encoder */, mimes), "no decoder found"); in checkDecoder()
681 public static boolean checkEncoder(String... mimes) { in checkEncoder() argument
682 return check(hasCodecForMimes(true /* encoder */, mimes), "no encoder found"); in checkEncoder()
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTest.java701 String mimes[] = new String[] { MIME_TYPE, MIME_TYPE_AUDIO}; in testReleaseAfterFlush() local
702 for (String mime : mimes) { in testReleaseAfterFlush()