Searched refs:mimes (Results 1 – 4 of 4) sorted by relevance
117 final String[] mimes = new String[] { in testViewImageFile() local124 for (String mime : mimes) { in testViewImageFile()138 final String[] mimes = new String[] { in testViewVideoFile() local143 for (String mime : mimes) { in testViewVideoFile()157 final String[] mimes = new String[] { in testViewAudioFile() local162 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()
683 private static boolean hasCodecForMimes(boolean encoder, String[] mimes) { in hasCodecForMimes() argument684 for (String mime : mimes) { in hasCodecForMimes()694 public static boolean hasEncoder(String... mimes) { in hasEncoder() argument695 return hasCodecForMimes(true /* encoder */, mimes); in hasEncoder()698 public static boolean hasDecoder(String... mimes) { in hasDecoder() argument699 return hasCodecForMimes(false /* encoder */, mimes); in hasDecoder()702 public static boolean checkDecoder(String... mimes) { in checkDecoder() argument703 return check(hasCodecForMimes(false /* encoder */, mimes), "no decoder found"); in checkDecoder()706 public static boolean checkEncoder(String... mimes) { in checkEncoder() argument707 return check(hasCodecForMimes(true /* encoder */, mimes), "no encoder found"); in checkEncoder()
749 String mimes[] = new String[] { MIME_TYPE, MIME_TYPE_AUDIO}; in testReleaseAfterFlush() local750 for (String mime : mimes) { in testReleaseAfterFlush()