Home
last modified time | relevance | path

Searched refs:matchAgainst (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DConstants.java243 static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() argument
244 for (String matchType : matchAgainst) { in mimeTypeMatches()
252 private static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() argument
254 Pattern.compile(matchAgainst.replaceAll("\\*", "\\.\\*"), Pattern.CASE_INSENSITIVE); in mimeTypeMatches()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeUtility.java280 public static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() argument
281 Pattern p = Pattern.compile(matchAgainst.replaceAll("\\*", "\\.\\*"), Pattern.CASE_INSENSITIVE); in mimeTypeMatches()
294 public static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() argument
295 for (String matchType : matchAgainst) { in mimeTypeMatches()