Searched refs:mimes (Results 1 – 4 of 4) sorted by relevance
73 final String[] mimes = new String[] { in testViewImageFile() local80 for (String mime : mimes) { in testViewImageFile()93 final String[] mimes = new String[] { in testViewVideoFile() local98 for (String mime : mimes) { in testViewVideoFile()111 final String[] mimes = new String[] { in testViewAudioFile() local116 for (String mime : mimes) { in testViewAudioFile()
139 Iterator<String> mimes = info.getMimeTypeIterator(); in checkAddValidMimeType() local140 assertTrue(mimes.hasNext()); in checkAddValidMimeType()141 String mime = (String) mimes.next(); in checkAddValidMimeType()
509 private static boolean hasCodecForMimes(boolean encoder, String[] mimes) { in hasCodecForMimes() argument510 for (String mime : mimes) { in hasCodecForMimes()520 public static boolean hasEncoder(String... mimes) { in hasEncoder() argument521 return hasCodecForMimes(true /* encoder */, mimes); in hasEncoder()524 public static boolean hasDecoder(String... mimes) { in hasDecoder() argument525 return hasCodecForMimes(false /* encoder */, mimes); in hasDecoder()528 public static boolean checkDecoder(String... mimes) { in checkDecoder() argument529 return check(hasCodecForMimes(false /* encoder */, mimes), "no decoder found"); in checkDecoder()532 public static boolean checkEncoder(String... mimes) { in checkEncoder() argument533 return check(hasCodecForMimes(true /* encoder */, mimes), "no encoder found"); in checkEncoder()
501 String mimes[] = new String[] { MIME_TYPE, MIME_TYPE_AUDIO}; in testReleaseAfterFlush() local502 for (String mime : mimes) { in testReleaseAfterFlush()