Home
last modified time | relevance | path

Searched refs:mimeTypeMatches (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeUtilityTest.java415 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
421 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
429 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
436 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
446 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
452 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
463 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
471 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
479 assertFalse(MimeUtility.mimeTypeMatches("foo/bar", "TEXT/PLAIN")); in testMimeTypeMatches()
482 assertTrue(MimeUtility.mimeTypeMatches("text/plain", "text/plain")); in testMimeTypeMatches()
[all …]
DMimeMessageTest.java461 assertTrue(mm.getMimeType(), MimeUtility.mimeTypeMatches("text/html",mm.getMimeType())); in brokentestWhiteSpace()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeUtility.java221 if (mimeType != null && MimeUtility.mimeTypeMatches(mimeType, "text/*")) { in getTextFromPart()
280 public static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() method in MimeUtility
294 public static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() method in MimeUtility
296 if (mimeTypeMatches(mimeType, matchType)) { in mimeTypeMatches()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeUtility.java230 if (mimeType != null && MimeUtility.mimeTypeMatches(mimeType, "text/*")) { in getTextFromPart()
291 public static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() method in MimeUtility
306 public static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() method in MimeUtility
308 if (mimeTypeMatches(mimeType, matchType)) { in mimeTypeMatches()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DConstants.java307 public static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() method in Constants
309 if (mimeTypeMatches(mimeType, matchType)) { in mimeTypeMatches()
316 public static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() method in Constants
DBluetoothOppObexServerSession.java250 || (!isWhitelisted && !Constants.mimeTypeMatches(mimeType, in onPut()
252 || Constants.mimeTypeMatches(mimeType, in onPut()
/packages/apps/Email/provider_src/com/android/email/
DAttachmentInfo.java126 if ((!MimeUtility.mimeTypeMatches(mContentType, in AttachmentInfo()
128 (MimeUtility.mimeTypeMatches(mContentType, in AttachmentInfo()
/packages/apps/Email/provider_src/com/android/email/provider/
DAttachmentProvider.java316 if(MimeUtility.mimeTypeMatches(type, "image/*")) { in createThumbnail()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapFolder.java539 if (MimeUtility.mimeTypeMatches(mimeType, MimeUtility.MIME_TYPE_RFC822)) { in parseBodyStructure()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapFolder.java911 if (MimeUtility.mimeTypeMatches(mimeType, MimeUtility.MIME_TYPE_RFC822)) { in parseBodyStructure()