Home
last modified time | relevance | path

Searched refs:MessageColumns (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DBluetoothMapContentTest.java17 import com.android.emailcommon.provider.EmailContent.MessageColumns;
31 MessageColumns.DISPLAY_NAME, MessageColumns.TIMESTAMP,
32 MessageColumns.SUBJECT, MessageColumns.FLAG_READ,
33 MessageColumns.FLAG_ATTACHMENT, MessageColumns.FLAGS,
34 SyncColumns.SERVER_ID, MessageColumns.DRAFT_INFO,
35 MessageColumns.MESSAGE_ID, MessageColumns.MAILBOX_KEY,
36 MessageColumns.ACCOUNT_KEY, MessageColumns.FROM_LIST,
37 MessageColumns.TO_LIST, MessageColumns.CC_LIST,
38 MessageColumns.BCC_LIST, MessageColumns.REPLY_TO_LIST,
39 SyncColumns.SERVER_TIMESTAMP, MessageColumns.MEETING_INFO,
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java536 public interface MessageColumns { interface in EmailContent
605 public static final class Message extends EmailContent implements SyncColumns, MessageColumns {
636 public static final String KEY_TIMESTAMP_DESC = MessageColumns.TIMESTAMP + " desc";
668 MessageColumns.DISPLAY_NAME, MessageColumns.TIMESTAMP,
669 MessageColumns.SUBJECT, MessageColumns.FLAG_READ,
670 MessageColumns.FLAG_LOADED, MessageColumns.FLAG_FAVORITE,
671 MessageColumns.FLAG_ATTACHMENT, MessageColumns.FLAGS,
672 SyncColumns.SERVER_ID, MessageColumns.DRAFT_INFO,
673 MessageColumns.MESSAGE_ID, MessageColumns.MAILBOX_KEY,
674 MessageColumns.ACCOUNT_KEY, MessageColumns.FROM_LIST,
[all …]
DAccount.java198 MessageColumns.MAILBOX_KEY + " =?";
201 MessageColumns.MAILBOX_KEY + " =? and " + MessageColumns.FLAG_READ + "= 0";
625 return Message.getKeyColumnLong(context, messageId, MessageColumns.ACCOUNT_KEY); in getAccountIdForMessageId()
/packages/apps/Email/src/com/android/email/provider/
DDBHelper.java44 import com.android.emailcommon.provider.EmailContent.MessageColumns;
78 " where " + MessageColumns.MAILBOX_KEY + "=old." + EmailContent.RECORD_ID +
80 " where " + MessageColumns.MAILBOX_KEY + "=old." + EmailContent.RECORD_ID +
82 " where " + MessageColumns.MAILBOX_KEY + "=old." + EmailContent.RECORD_ID +
197 " where " + EmailContent.RECORD_ID + "=NEW." + MessageColumns.MAILBOX_KEY + in createMessageCountTriggers()
205 " where " + EmailContent.RECORD_ID + "=OLD." + MessageColumns.MAILBOX_KEY + in createMessageCountTriggers()
210 MessageColumns.MAILBOX_KEY + " on " + Message.TABLE_NAME + in createMessageCountTriggers()
213 " where " + EmailContent.RECORD_ID + "=OLD." + MessageColumns.MAILBOX_KEY + in createMessageCountTriggers()
216 " where " + EmailContent.RECORD_ID + "=NEW." + MessageColumns.MAILBOX_KEY + in createMessageCountTriggers()
248 + MessageColumns.MAILBOX_KEY + ")!=" + Mailbox.TYPE_SEARCH in createDeleteDuplicateMessagesTrigger()
[all …]
DEmailProvider.java84 import com.android.emailcommon.provider.EmailContent.MessageColumns;
183 = new String[] {MessageColumns.ID, MessageColumns.MAILBOX_KEY};
462 deleteUnlinked(mDatabase, Message.TABLE_NAME, MessageColumns.ACCOUNT_KEY, in getDatabase()
888 values.put(MessageColumns.MAILBOX_KEY, longId); in insert()
1578 + " ON m." + MessageColumns.ACCOUNT_KEY + "=a." + AccountColumns.ID
1581 + " WHERE m." + MessageColumns.ID + "=?";
1779 Long dstFolderId = values.getAsLong(MessageColumns.MAILBOX_KEY); in update()
1783 Integer flagRead = values.getAsInteger(MessageColumns.FLAG_READ); in update()
1784 … Integer flagFavorite = values.getAsInteger(MessageColumns.FLAG_FAVORITE); in update()
2001 result.putParcelable(UIProvider.MessageColumns.URI, messageUri); in call()
[all …]
DUtilities.java34 import com.android.emailcommon.provider.EmailContent.MessageColumns;
62 EmailContent.MessageColumns.ACCOUNT_KEY + "=?" + in copyOneMessageToProvider()
63 " AND " + MessageColumns.MAILBOX_KEY + "=?" + in copyOneMessageToProvider()
172 cv.put(EmailContent.MessageColumns.FLAG_ATTACHMENT, localMessage.mFlagAttachment); in copyOneMessageToProvider()
173 cv.put(EmailContent.MessageColumns.FLAG_LOADED, localMessage.mFlagLoaded); in copyOneMessageToProvider()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DUIProvider.java1508 MessageColumns.SERVER_ID,
1509 MessageColumns.URI,
1510 MessageColumns.CONVERSATION_ID,
1511 MessageColumns.SUBJECT,
1512 MessageColumns.SNIPPET,
1513 MessageColumns.FROM,
1514 MessageColumns.TO,
1515 MessageColumns.CC,
1516 MessageColumns.BCC,
1517 MessageColumns.REPLY_TO,
[all …]
DMessageModification.java23 import com.android.mail.providers.UIProvider.MessageColumns;
41 values.put(MessageColumns.SUBJECT, subject); in putSubject()
51 values.put(MessageColumns.TO, TextUtils.join(UIProvider.EMAIL_SEPARATOR, toAddresses)); in putToAddresses()
61 values.put(MessageColumns.CC, TextUtils.join(UIProvider.EMAIL_SEPARATOR, ccAddresses)); in putCcAddresses()
71 values.put(MessageColumns.BCC, TextUtils.join(UIProvider.EMAIL_SEPARATOR, bccAddresses)); in putBccAddresses()
82 values.put(MessageColumns.CUSTOM_FROM_ADDRESS, customFromAddress); in putCustomFromAddress()
93 values.put(MessageColumns.DRAFT_TYPE, DraftType.FORWARD); in putForward()
104 values.put(MessageColumns.APPEND_REF_MESSAGE_CONTENT, includeQuotedText ? 1 : 0); in putAppendRefMessageContent()
114 values.put(MessageColumns.BODY_TEXT, body); in putBody()
124 values.put(MessageColumns.BODY_HTML, body); in putBodyHtml()
[all …]
DMessage.java39 import com.android.mail.providers.UIProvider.MessageColumns;
600 values.put(UIProvider.MessageColumns.ALWAYS_SHOW_IMAGES, 1); in markAlwaysShowImages()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java40 import com.android.mail.providers.UIProvider.MessageColumns;
101 resultMap.put(message0.get(MessageColumns.URI).toString(), ImmutableList.of(message0)); in initializeAccount()
104 resultMap.put(message0.get(MessageColumns.ATTACHMENT_LIST_URI).toString(), in initializeAccount()
108 resultMap.put(message1.get(MessageColumns.URI).toString(), ImmutableList.of(message1)); in initializeAccount()
111 resultMap.put(message1a.get(MessageColumns.URI).toString(), ImmutableList.of(message1a)); in initializeAccount()
114 resultMap.put(message1.get(MessageColumns.ATTACHMENT_LIST_URI).toString(), in initializeAccount()
153 resultMap.put(message2.get(MessageColumns.URI).toString(), ImmutableList.of(message2)); in initializeAccount()
158 resultMap.put(message3.get(MessageColumns.URI).toString(), ImmutableList.of(message3)); in initializeAccount()
253 messageMap.put(MessageColumns.URI, messageUri); in createMessageDetailsMap()
254 messageMap.put(MessageColumns.SUBJECT, "Message " + subject); in createMessageDetailsMap()
[all …]
/packages/apps/Email/src/com/android/email/service/
DImapService.java55 import com.android.emailcommon.provider.EmailContent.MessageColumns;
179 EmailContent.RECORD_ID, MessageColumns.FLAG_READ, MessageColumns.FLAG_FAVORITE,
180 MessageColumns.FLAG_LOADED, SyncColumns.SERVER_ID, MessageColumns.FLAGS,
181 MessageColumns.TIMESTAMP
207 "MIN(" + MessageColumns.TIMESTAMP + ")"
358 EmailContent.MessageColumns.ACCOUNT_KEY + "=?" + " AND " + in synchronizeMailboxGeneric()
359 MessageColumns.MAILBOX_KEY + "=? AND " + in synchronizeMailboxGeneric()
360 MessageColumns.TIMESTAMP + "!=0", in synchronizeMailboxGeneric()
512 EmailContent.MessageColumns.ACCOUNT_KEY + "=?" in synchronizeMailboxGeneric()
513 + " AND " + MessageColumns.MAILBOX_KEY + "=?" in synchronizeMailboxGeneric()
[all …]
DPop3Service.java48 import com.android.emailcommon.provider.EmailContent.MessageColumns;
140 EmailContent.RECORD_ID, MessageColumns.FLAG_LOADED, SyncColumns.SERVER_ID
245 MessageColumns.MAILBOX_KEY + "=?", in synchronizePop3Mailbox()
277 EmailContent.MessageColumns.ACCOUNT_KEY + "=?", accountIdArgs, in synchronizePop3Mailbox()
DEmailServiceStub.java53 import com.android.emailcommon.provider.EmailContent.MessageColumns;
428 moveToSentValues.put(MessageColumns.MAILBOX_KEY, sentFolder.mId); in sendMailImpl()
437 moveToSentValues.remove(EmailContent.MessageColumns.FLAGS); in sendMailImpl()
476 moveToSentValues.put(EmailContent.MessageColumns.FLAGS, flags); in sendMailImpl()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DEmailSyncAdapter.java53 import com.android.emailcommon.provider.EmailContent.MessageColumns;
97 {MessageColumns.FLAG_READ, MessageColumns.MAILBOX_KEY, SyncColumns.SERVER_ID,
98 MessageColumns.FLAG_FAVORITE};
103 new String[] { Message.RECORD_ID, MessageColumns.SUBJECT };
107 MessageColumns.MAILBOX_KEY + "=? AND (" + MessageColumns.FLAGS + "&" +
197 MessageColumns.FLAG_LOADED + "=" + Message.FLAG_LOADED_PARTIAL + " AND " + in sendSyncOptions()
198 MessageColumns.MAILBOX_KEY + "=?", in sendSyncOptions()
467 SyncColumns.SERVER_ID + "=? and " + MessageColumns.MAILBOX_KEY + "=?";
1192 cv.put(MessageColumns.FLAG_READ, change.read);
1195 cv.put(MessageColumns.FLAG_FAVORITE, change.flag);
[all …]
DEmailSyncParser.java57 + "=? and " + EmailContent.MessageColumns.MAILBOX_KEY + "=?";
71 new String[] { EmailContent.Message.RECORD_ID, EmailContent.MessageColumns.SUBJECT };
855 cv.put(EmailContent.MessageColumns.FLAG_READ, change.read); in commitImpl()
858 cv.put(EmailContent.MessageColumns.FLAG_FAVORITE, change.flag); in commitImpl()
861 cv.put(EmailContent.MessageColumns.FLAGS, change.flags); in commitImpl()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java47 import com.android.emailcommon.provider.EmailContent.MessageColumns;
930 count(mMockContext, Message.CONTENT_URI, MessageColumns.MAILBOX_KEY + "=?", args)); in testMessageQueryWithLimit()
932 MessageColumns.MAILBOX_KEY + "=?", args)); in testMessageQueryWithLimit()
1019 v.put(MessageColumns.DISPLAY_NAME, "--updated--"); in testDeleteOrphanMessages()
1137 String selection = EmailContent.MessageColumns.ACCOUNT_KEY + "=? AND " in testMessageDelete()
1138 + EmailContent.MessageColumns.MAILBOX_KEY + "=?"; in testMessageDelete()
1188 String selection = EmailContent.MessageColumns.ACCOUNT_KEY + "=? AND " in testSyncedMessageDelete()
1189 + EmailContent.MessageColumns.MAILBOX_KEY + "=?"; in testSyncedMessageDelete()
1254 String selection = EmailContent.MessageColumns.ACCOUNT_KEY + "=? AND " in testMessageUpdate()
1255 + EmailContent.MessageColumns.MAILBOX_KEY + "=?"; in testMessageUpdate()
[all …]
/packages/apps/Exchange/src/com/android/exchange/
DEasOutboxService.java37 import com.android.emailcommon.provider.EmailContent.MessageColumns;
65 MessageColumns.MAILBOX_KEY + "=? and (" + SyncColumns.SERVER_ID + " is null or " +
276 SyncColumns.SERVER_ID, MessageColumns.MAILBOX_KEY, in getOriginalMessageInfo()
277 MessageColumns.PROTOCOL_SEARCH_INFO); in getOriginalMessageInfo()
/packages/apps/Exchange/src/com/android/exchange/eas/
DEasSyncMail.java9 import com.android.emailcommon.provider.EmailContent.MessageColumns;
128 FETCH_REQUEST_PROJECTION, MessageColumns.FLAG_LOADED + "=" + in addToFetchRequestList()
129 Message.FLAG_LOADED_PARTIAL + " AND " + MessageColumns.MAILBOX_KEY + "=?", in addToFetchRequestList()
DEasOutboxSync.java18 import com.android.emailcommon.provider.EmailContent.MessageColumns;
350 SyncColumns.SERVER_ID, MessageColumns.MAILBOX_KEY, in getSmartSendInfo()
351 MessageColumns.PROTOCOL_SEARCH_INFO); in getSmartSendInfo()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/protos/mock/
DMockUiProviderTests.java187 int subject = messageCursor.getColumnIndex(UIProvider.MessageColumns.SUBJECT); in testGetFolders()
189 .getColumnIndex(UIProvider.MessageColumns.ATTACHMENT_LIST_URI); in testGetFolders()
191 .getColumnIndex(UIProvider.MessageColumns.HAS_ATTACHMENTS); in testGetFolders()
/packages/apps/Email/emailsync/src/com/android/emailsync/
DEmailSyncAlarmReceiver.java27 import com.android.emailcommon.provider.EmailContent.MessageColumns;
52 final String[] MAILBOX_DATA_PROJECTION = {MessageColumns.MAILBOX_KEY};
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java37 import com.android.emailcommon.provider.EmailContent.MessageColumns;
358 Message.ID_COLUMN_PROJECTION, MessageColumns.MAILBOX_KEY + "=?", in deleteAllMailboxAttachmentFiles()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DEmailSyncAdapterTests.java27 import com.android.emailcommon.provider.EmailContent.MessageColumns;
229 cv.put(MessageColumns.FLAGS, randomFlags); in brokentestChangeParser()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java34 import com.android.emailcommon.provider.EmailContent.MessageColumns;
405 values.put(MessageColumns.MAILBOX_KEY, b4.mId); in testMessageCount()
/packages/apps/Exchange/src/com/android/exchange/service/
DEmailSyncAdapterService.java51 import com.android.emailcommon.provider.EmailContent.MessageColumns;
126 MessageColumns.MAILBOX_KEY + "=? and (" + SyncColumns.SERVER_ID + " is null or " +

12