Searched refs:localMessage (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Email/src/com/android/email/ |
D | LegacyConversions.java | 70 public static boolean updateMessageFields(EmailContent.Message localMessage, Message message, in updateMessageFields() argument 83 localMessage.mDisplayName = from[0].toFriendly(); in updateMessageFields() 86 localMessage.mTimeStamp = sentDate.getTime(); in updateMessageFields() 89 localMessage.mSubject = subject; in updateMessageFields() 91 localMessage.mFlagRead = message.isSet(Flag.SEEN); in updateMessageFields() 95 if (localMessage.mFlagLoaded != EmailContent.Message.FLAG_LOADED_COMPLETE) { in updateMessageFields() 96 if (localMessage.mDisplayName == null || "".equals(localMessage.mDisplayName)) { in updateMessageFields() 97 localMessage.mFlagLoaded = EmailContent.Message.FLAG_LOADED_UNLOADED; in updateMessageFields() 99 localMessage.mFlagLoaded = EmailContent.Message.FLAG_LOADED_PARTIAL; in updateMessageFields() 102 localMessage.mFlagFavorite = message.isSet(Flag.FLAGGED); in updateMessageFields() [all …]
|
D | MessagingController.java | 609 LocalMessageInfo localMessage = localMessageMap.get(message.getUid()); in synchronizeMailboxGeneric() local 610 if (localMessage == null) { in synchronizeMailboxGeneric() 613 if (localMessage == null in synchronizeMailboxGeneric() 614 || (localMessage.mFlagLoaded == EmailContent.Message.FLAG_LOADED_UNLOADED) in synchronizeMailboxGeneric() 615 || (localMessage.mFlagLoaded == EmailContent.Message.FLAG_LOADED_PARTIAL)) { in synchronizeMailboxGeneric() 648 EmailContent.Message localMessage = null; in synchronizeMailboxGeneric() local 650 localMessage = new EmailContent.Message(); in synchronizeMailboxGeneric() 652 localMessage = EmailContent.Message.restoreMessageWithId( in synchronizeMailboxGeneric() 656 if (localMessage != null) { in synchronizeMailboxGeneric() 659 LegacyConversions.updateMessageFields(localMessage, in synchronizeMailboxGeneric() [all …]
|
/packages/apps/Email/tests/src/com/android/email/ |
D | LegacyConversionsTests.java | 108 EmailContent.Message localMessage = new EmailContent.Message(); in testUpdateMessageFields() local 110 boolean result = LegacyConversions.updateMessageFields(localMessage, message, 1, 1); in testUpdateMessageFields() 112 checkProviderMessage("testUpdateMessageFields", message, localMessage); in testUpdateMessageFields() 122 EmailContent.Message localMessage = new EmailContent.Message(); in testUpdateMessageFieldsNoMessageId() local 125 localMessage.mMessageId = MESSAGE_ID_2; in testUpdateMessageFieldsNoMessageId() 128 boolean result = LegacyConversions.updateMessageFields(localMessage, message, 1, 1); in testUpdateMessageFieldsNoMessageId() 130 assertEquals(MESSAGE_ID_2, localMessage.mMessageId); in testUpdateMessageFieldsNoMessageId() 184 EmailContent.Message localMessage = new EmailContent.Message(); in testUpdateBodyFieldsNullText() local 190 boolean result = LegacyConversions.updateBodyFields(localBody, localMessage, viewables); in testUpdateBodyFieldsNullText() 202 final EmailContent.Message localMessage = ProviderTestUtils.setupMessage( in testAddAttachments() local [all …]
|
/packages/apps/Email/src/com/android/email/mail/store/ |
D | LocalStore.java | 765 LocalMessage localMessage = (LocalMessage)message; in fetch() local 767 localMessage.setHeader(MimeHeader.HEADER_CONTENT_TYPE, "multipart/mixed"); in fetch() 770 localMessage.setBody(mp); in fetch() 778 new String[] { Long.toString(localMessage.mId) }); in fetch() 824 new String[] { Long.toString(localMessage.mId) }, in fetch()
|