Home
last modified time | relevance | path

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

/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStoreIntentsTest.java117 final String[] mimes = new String[] { in testViewImageFile() local
124 for (String mime : mimes) { in testViewImageFile()
138 final String[] mimes = new String[] { in testViewVideoFile() local
143 for (String mime : mimes) { in testViewVideoFile()
157 final String[] mimes = new String[] { in testViewAudioFile() local
162 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/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java683 private static boolean hasCodecForMimes(boolean encoder, String[] mimes) { in hasCodecForMimes() argument
684 for (String mime : mimes) { in hasCodecForMimes()
694 public static boolean hasEncoder(String... mimes) { in hasEncoder() argument
695 return hasCodecForMimes(true /* encoder */, mimes); in hasEncoder()
698 public static boolean hasDecoder(String... mimes) { in hasDecoder() argument
699 return hasCodecForMimes(false /* encoder */, mimes); in hasDecoder()
702 public static boolean checkDecoder(String... mimes) { in checkDecoder() argument
703 return check(hasCodecForMimes(false /* encoder */, mimes), "no decoder found"); in checkDecoder()
706 public static boolean checkEncoder(String... mimes) { in checkEncoder() argument
707 return check(hasCodecForMimes(true /* encoder */, mimes), "no encoder found"); in checkEncoder()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecTest.java749 String mimes[] = new String[] { MIME_TYPE, MIME_TYPE_AUDIO}; in testReleaseAfterFlush() local
750 for (String mime : mimes) { in testReleaseAfterFlush()