Home
last modified time | relevance | path

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

/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreIntentsTest.java73 final String[] mimes = new String[] { in testViewImageFile() local
77 for (String mime : mimes) { in testViewImageFile()
90 final String[] mimes = new String[] { in testViewVideoFile() local
95 for (String mime : mimes) { in testViewVideoFile()
108 final String[] mimes = new String[] { in testViewAudioFile() local
113 for (String mime : mimes) { in testViewAudioFile()
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java356 private static boolean hasCodecForMimes(boolean encoder, String[] mimes) { in hasCodecForMimes() argument
357 for (String mime : mimes) { in hasCodecForMimes()
367 public static boolean hasEncoder(String... mimes) { in hasEncoder() argument
368 return hasCodecForMimes(true /* encoder */, mimes); in hasEncoder()
371 public static boolean hasDecoder(String... mimes) { in hasDecoder() argument
372 return hasCodecForMimes(false /* encoder */, mimes); in hasDecoder()
375 public static boolean checkDecoder(String... mimes) { in checkDecoder() argument
376 return check(hasCodecForMimes(false /* encoder */, mimes), "no decoder found"); in checkDecoder()
379 public static boolean checkEncoder(String... mimes) { in checkEncoder() argument
380 return check(hasCodecForMimes(true /* encoder */, mimes), "no encoder found"); in checkEncoder()
/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()