Home
last modified time | relevance | path

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

/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreIntentsTest.java73 final String[] mimes = new String[] { in testViewImageFile() local
80 for (String mime : mimes) { in testViewImageFile()
93 final String[] mimes = new String[] { in testViewVideoFile() local
98 for (String mime : mimes) { in testViewVideoFile()
111 final String[] mimes = new String[] { in testViewAudioFile() local
116 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/src/com/android/compatibility/common/util/
DMediaUtils.java509 private static boolean hasCodecForMimes(boolean encoder, String[] mimes) { in hasCodecForMimes() argument
510 for (String mime : mimes) { in hasCodecForMimes()
520 public static boolean hasEncoder(String... mimes) { in hasEncoder() argument
521 return hasCodecForMimes(true /* encoder */, mimes); in hasEncoder()
524 public static boolean hasDecoder(String... mimes) { in hasDecoder() argument
525 return hasCodecForMimes(false /* encoder */, mimes); in hasDecoder()
528 public static boolean checkDecoder(String... mimes) { in checkDecoder() argument
529 return check(hasCodecForMimes(false /* encoder */, mimes), "no decoder found"); in checkDecoder()
532 public static boolean checkEncoder(String... mimes) { in checkEncoder() argument
533 return check(hasCodecForMimes(true /* encoder */, mimes), "no encoder found"); in checkEncoder()
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTest.java501 String mimes[] = new String[] { MIME_TYPE, MIME_TYPE_AUDIO}; in testReleaseAfterFlush() local
502 for (String mime : mimes) { in testReleaseAfterFlush()