Home
last modified time | relevance | path

Searched refs:TEXT_PLAIN (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DAttachmentUtilitiesTests.java54 final String TEXT_PLAIN = "text/plain"; in testInferMimeType() local
66 AttachmentUtilities.inferMimeType("a.eMl", TEXT_PLAIN)); in testInferMimeType()
82 assertEquals("image/png", AttachmentUtilities.inferMimeType(FILE_PNG, TEXT_PLAIN)); in testInferMimeType()
99 assertEquals(TEXT_PLAIN, AttachmentUtilities.inferMimeType(FILE_ABC, TEXT_PLAIN)); in testInferMimeType()
100 assertEquals(TEXT_PLAIN, in testInferMimeType()
101 AttachmentUtilities.inferMimeType(FILE_NO_EXT, TEXT_PLAIN)); in testInferMimeType()
102 assertEquals(TEXT_PLAIN, AttachmentUtilities.inferMimeType(null, TEXT_PLAIN)); in testInferMimeType()
103 assertEquals(TEXT_PLAIN, AttachmentUtilities.inferMimeType("", TEXT_PLAIN)); in testInferMimeType()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DMimeType.java39 private static final String TEXT_PLAIN = "text/plain"; field in MimeType
135 final boolean isTextPlain = TEXT_PLAIN.equalsIgnoreCase(mimeType); in inferMimeType()
/packages/apps/Messaging/src/com/android/messaging/util/
DContentType.java44 public static final String TEXT_PLAIN = "text/plain"; field in ContentType
105 return TEXT_PLAIN.equals(contentType) in isTextType()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DContentType.java31 public static final String TEXT_PLAIN = "text/plain"; field in ContentType
84 sSupportedContentTypes.add(TEXT_PLAIN);
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java453 if (ContentType.TEXT_PLAIN.equals(type) || ContentType.APP_SMIL.equals(type) in loadParts()
796 if (ContentType.TEXT_PLAIN.equals(contentType) && data != null) { in persistPart()
870 if (ContentType.TEXT_PLAIN.equals(contentType) in persistData()
1476 && !ContentType.TEXT_PLAIN.equals(contentType)) { in persist()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DLaunchConversationActivity.java80 if (ContentType.TEXT_PLAIN.equals(intent.getType())) { in onCreate()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DShareIntentActivity.java91 if (ContentType.TEXT_PLAIN.equals(contentType)) { in onAttachFragment()
/packages/apps/Messaging/src/com/android/messaging/sms/
DDatabaseMessages.java787 return ContentType.TEXT_PLAIN.equals(mContentType) in isEmbeddedTextType()
806 return ContentType.TEXT_PLAIN.equals(mContentType) in isText()
DMmsUtils.java437 part.setContentType(ContentType.TEXT_PLAIN.getBytes()); in addTextPart()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java397 private static final String TEXT_PLAIN = "text/plain"; field in TelephonyBackupAgentTest
423 bodyPart.put(Telephony.Mms.Part.CONTENT_TYPE, TEXT_PLAIN); in createBodyCursor()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessagePartData.java113 this(null, messageText, ContentType.TEXT_PLAIN, null, UNSPECIFIED_SIZE, UNSPECIFIED_SIZE, in MessagePartData()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java1012 Telephony.Mms.Part.CONTENT_TYPE + "=?", new String[]{ContentType.TEXT_PLAIN},
1154 values.put(Telephony.Mms.Part.CONTENT_TYPE, ContentType.TEXT_PLAIN);