Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DConstants.java289 public static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() argument
290 for (String matchType : matchAgainst) { in mimeTypeMatches()
298 public static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() argument
299 Pattern p = Pattern.compile(matchAgainst.replaceAll("\\*", "\\.\\*"), in mimeTypeMatches()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeUtility.java291 public static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() argument
292 Pattern p = Pattern.compile(matchAgainst.replaceAll("\\*", "\\.\\*"), in mimeTypeMatches()
306 public static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() argument
307 for (String matchType : matchAgainst) { 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()