/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
D | AttachmentUtilitiesTests.java | 54 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/ |
D | MimeType.java | 39 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/ |
D | ContentType.java | 44 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/ |
D | ContentType.java | 31 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/ |
D | PduPersister.java | 453 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/ |
D | LaunchConversationActivity.java | 80 if (ContentType.TEXT_PLAIN.equals(intent.getType())) { in onCreate()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ShareIntentActivity.java | 91 if (ContentType.TEXT_PLAIN.equals(contentType)) { in onAttachFragment()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | DatabaseMessages.java | 787 return ContentType.TEXT_PLAIN.equals(mContentType) in isEmbeddedTextType() 806 return ContentType.TEXT_PLAIN.equals(mContentType) in isText()
|
D | MmsUtils.java | 437 part.setContentType(ContentType.TEXT_PLAIN.getBytes()); in addTextPart()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 397 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/ |
D | MessagePartData.java | 113 this(null, messageText, ContentType.TEXT_PLAIN, null, UNSPECIFIED_SIZE, UNSPECIFIED_SIZE, in MessagePartData()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyBackupAgent.java | 1012 Telephony.Mms.Part.CONTENT_TYPE + "=?", new String[]{ContentType.TEXT_PLAIN}, 1154 values.put(Telephony.Mms.Part.CONTENT_TYPE, ContentType.TEXT_PLAIN);
|