Searched refs:mimeTypeMatches (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
D | MimeUtilityTest.java | 455 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 …]
|
D | MimeMessageTest.java | 461 assertTrue(mm.getMimeType(), MimeUtility.mimeTypeMatches("text/html",mm.getMimeType())); in testWhiteSpace()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | Constants.java | 285 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
|
D | BluetoothOppObexServerSession.java | 247 || (!isWhitelisted && !Constants.mimeTypeMatches(mimeType, in onPut() 249 || Constants.mimeTypeMatches(mimeType, in onPut()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
D | MimeUtility.java | 265 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/ |
D | AttachmentInfo.java | 119 if ((!MimeUtility.mimeTypeMatches(mContentType, in AttachmentInfo() 121 (MimeUtility.mimeTypeMatches(mContentType, in AttachmentInfo()
|
/packages/apps/Email/src/com/android/email/provider/ |
D | AttachmentProvider.java | 308 if(MimeUtility.mimeTypeMatches(type, "image/*")) { in createThumbnail()
|
/packages/apps/Email/src/com/android/email/mail/store/ |
D | ImapFolder.java | 788 if (MimeUtility.mimeTypeMatches(mimeType, MimeUtility.MIME_TYPE_RFC822)) { in parseBodyStructure()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | MessageCompose.java | 1676 if (!TextUtils.isEmpty(mimeType) && MimeUtility.mimeTypeMatches(mimeType, in addAttachmentFromSendIntent()
|