Home
last modified time | relevance | path

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

/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeUtilityTest.java455 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
461 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
469 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
476 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
486 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
492 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
503 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
511 assertTrue(MimeUtility.mimeTypeMatches(p.getMimeType(), "text/html")); in testContentTypeCharset()
519 assertFalse(MimeUtility.mimeTypeMatches("foo/bar", "TEXT/PLAIN")); in testMimeTypeMatches()
522 assertTrue(MimeUtility.mimeTypeMatches("text/plain", "text/plain")); in testMimeTypeMatches()
[all …]
DMimeMessageTest.java461 assertTrue(mm.getMimeType(), MimeUtility.mimeTypeMatches("text/html",mm.getMimeType())); in testWhiteSpace()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DConstants.java285 public static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() method in Constants
287 if (mimeTypeMatches(mimeType, matchType)) { in mimeTypeMatches()
294 public static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() method in Constants
DBluetoothOppObexServerSession.java247 || (!isWhitelisted && !Constants.mimeTypeMatches(mimeType, in onPut()
249 || Constants.mimeTypeMatches(mimeType, in onPut()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DMimeUtility.java265 if (mimeType != null && MimeUtility.mimeTypeMatches(mimeType, "text/*")) { in getTextFromPart()
326 public static boolean mimeTypeMatches(String mimeType, String matchAgainst) { in mimeTypeMatches() method in MimeUtility
341 public static boolean mimeTypeMatches(String mimeType, String[] matchAgainst) { in mimeTypeMatches() method in MimeUtility
343 if (mimeTypeMatches(mimeType, matchType)) { in mimeTypeMatches()
/packages/apps/Email/src/com/android/email/
DAttachmentInfo.java119 if ((!MimeUtility.mimeTypeMatches(mContentType, in AttachmentInfo()
121 (MimeUtility.mimeTypeMatches(mContentType, in AttachmentInfo()
/packages/apps/Email/src/com/android/email/provider/
DAttachmentProvider.java308 if(MimeUtility.mimeTypeMatches(type, "image/*")) { in createThumbnail()
/packages/apps/Email/src/com/android/email/mail/store/
DImapFolder.java788 if (MimeUtility.mimeTypeMatches(mimeType, MimeUtility.MIME_TYPE_RFC822)) { in parseBodyStructure()
/packages/apps/Email/src/com/android/email/activity/
DMessageCompose.java1676 if (!TextUtils.isEmpty(mimeType) && MimeUtility.mimeTypeMatches(mimeType, in addAttachmentFromSendIntent()