Searched refs:mimes (Results 1 – 3 of 3) sorted by relevance
73 final String[] mimes = new String[] { in testViewImageFile() local77 for (String mime : mimes) { in testViewImageFile()90 final String[] mimes = new String[] { in testViewVideoFile() local95 for (String mime : mimes) { in testViewVideoFile()108 final String[] mimes = new String[] { in testViewAudioFile() local113 for (String mime : mimes) { in testViewAudioFile()
356 private static boolean hasCodecForMimes(boolean encoder, String[] mimes) { in hasCodecForMimes() argument357 for (String mime : mimes) { in hasCodecForMimes()367 public static boolean hasEncoder(String... mimes) { in hasEncoder() argument368 return hasCodecForMimes(true /* encoder */, mimes); in hasEncoder()371 public static boolean hasDecoder(String... mimes) { in hasDecoder() argument372 return hasCodecForMimes(false /* encoder */, mimes); in hasDecoder()375 public static boolean checkDecoder(String... mimes) { in checkDecoder() argument376 return check(hasCodecForMimes(false /* encoder */, mimes), "no decoder found"); in checkDecoder()379 public static boolean checkEncoder(String... mimes) { in checkEncoder() argument380 return check(hasCodecForMimes(true /* encoder */, mimes), "no encoder found"); in checkEncoder()
139 Iterator<String> mimes = info.getMimeTypeIterator(); in checkAddValidMimeType() local140 assertTrue(mimes.hasNext()); in checkAddValidMimeType()141 String mime = (String) mimes.next(); in checkAddValidMimeType()