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.java244 static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() argument
245 for (String matchType : matchAgainst) { in mimeTypeMatches()
253 private static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() argument
254 String matchRegex = matchAgainst.replaceAll("\\+", "\\\\+").replaceAll("\\*", ".*"); 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()