Home
last modified time | relevance | path

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

/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java482 public interface MessageColumns { interface in EmailContent
533 public static final class Message extends EmailContent implements SyncColumns, MessageColumns {
551 public static final String KEY_TIMESTAMP_DESC = MessageColumns.TIMESTAMP + " desc";
580 MessageColumns.DISPLAY_NAME, MessageColumns.TIMESTAMP,
581 MessageColumns.SUBJECT, MessageColumns.FLAG_READ,
582 MessageColumns.FLAG_LOADED, MessageColumns.FLAG_FAVORITE,
583 MessageColumns.FLAG_ATTACHMENT, MessageColumns.FLAGS,
584 SyncColumns.SERVER_ID, MessageColumns.CLIENT_ID,
585 MessageColumns.MESSAGE_ID, MessageColumns.MAILBOX_KEY,
586 MessageColumns.ACCOUNT_KEY, MessageColumns.FROM_LIST,
[all …]
DAccount.java188 MessageColumns.MAILBOX_KEY + " =?";
191 MessageColumns.MAILBOX_KEY + " =? and " + MessageColumns.FLAG_READ + "= 0";
613 return Message.getKeyColumnLong(context, messageId, MessageColumns.ACCOUNT_KEY); in getAccountIdForMessageId()
DMailbox.java443 MessageColumns.MAILBOX_KEY); in getMailboxForMessageId()
/packages/apps/Email/src/com/android/email/provider/
DDBHelper.java44 import com.android.emailcommon.provider.EmailContent.MessageColumns;
64 " where " + MessageColumns.MAILBOX_KEY + "=old." + EmailContent.RECORD_ID +
66 " where " + MessageColumns.MAILBOX_KEY + "=old." + EmailContent.RECORD_ID +
68 " where " + MessageColumns.MAILBOX_KEY + "=old." + EmailContent.RECORD_ID +
154 String messageColumns = MessageColumns.DISPLAY_NAME + " text, " in createMessageTable()
155 + MessageColumns.TIMESTAMP + " integer, " in createMessageTable()
156 + MessageColumns.SUBJECT + " text, " in createMessageTable()
157 + MessageColumns.FLAG_READ + " integer, " in createMessageTable()
158 + MessageColumns.FLAG_LOADED + " integer, " in createMessageTable()
159 + MessageColumns.FLAG_FAVORITE + " integer, " in createMessageTable()
[all …]
DEmailProvider.java52 import com.android.emailcommon.provider.EmailContent.MessageColumns;
117 = new String[] {MessageColumns.ID, MessageColumns.MAILBOX_KEY};
494 deleteUnlinked(mDatabase, Message.TABLE_NAME, MessageColumns.ACCOUNT_KEY, AccountColumns.ID, in getDatabase()
992 values.put(MessageColumns.MAILBOX_KEY, longId); in insert()
1784 ", count(" + Message.TABLE_NAME + "." + MessageColumns.ID + ")" +
1795 MessageColumns.MAILBOX_KEY + " AND " + Message.TABLE_NAME + "." +
1796 MessageColumns.ID + ">Boxes." + MailboxColumns.LAST_NOTIFIED_MESSAGE_KEY +
1797 " AND " + MessageColumns.FLAG_READ + "=0 AND " + MessageColumns.TIMESTAMP + "!=0";
/packages/apps/Email/src/com/android/mail/providers/
DUIProvider.java895 MessageColumns.SERVER_ID,
896 MessageColumns.URI,
897 MessageColumns.CONVERSATION_ID,
898 MessageColumns.SUBJECT,
899 MessageColumns.SNIPPET,
900 MessageColumns.FROM,
901 MessageColumns.TO,
902 MessageColumns.CC,
903 MessageColumns.BCC,
904 MessageColumns.REPLY_TO,
[all …]
/packages/apps/Email/src/com/android/email/widget/
DEmailWidgetLoader.java24 import com.android.emailcommon.provider.EmailContent.MessageColumns;
42 private static final String SORT_TIMESTAMP_DESCENDING = MessageColumns.TIMESTAMP + " DESC";
46 EmailContent.RECORD_ID, MessageColumns.DISPLAY_NAME, MessageColumns.TIMESTAMP,
47 MessageColumns.SUBJECT, MessageColumns.FLAG_READ, MessageColumns.FLAG_FAVORITE,
48 MessageColumns.FLAG_ATTACHMENT, MessageColumns.MAILBOX_KEY, MessageColumns.SNIPPET,
49 MessageColumns.ACCOUNT_KEY, MessageColumns.FLAGS
119 String selection = "(" + getSelection() + " ) AND " + MessageColumns.FLAG_READ + " = 0"; in loadInBackground()
194 MessageColumns.ACCOUNT_KEY + "=? AND " + in setSelectionAndArgs()
195 MessageColumns.MAILBOX_KEY + "=?"); in setSelectionAndArgs()
/packages/apps/Email/src/com/android/email/activity/
DMessagesAdapter.java39 import com.android.emailcommon.provider.EmailContent.MessageColumns;
57 EmailContent.RECORD_ID, MessageColumns.MAILBOX_KEY, MessageColumns.ACCOUNT_KEY,
58 MessageColumns.DISPLAY_NAME, MessageColumns.SUBJECT, MessageColumns.TIMESTAMP,
59 MessageColumns.FLAG_READ, MessageColumns.FLAG_FAVORITE, MessageColumns.FLAG_ATTACHMENT,
60 MessageColumns.FLAGS, MessageColumns.SNIPPET
299 EmailContent.MessageColumns.TIMESTAMP + " DESC"); in MessagesCursorLoader()
DMessageCompose.java75 import com.android.emailcommon.provider.EmailContent.MessageColumns;
1226 values.put(MessageColumns.TIMESTAMP, message.mTimeStamp); in getUpdateContentValues()
1227 values.put(MessageColumns.FROM_LIST, message.mFrom); in getUpdateContentValues()
1228 values.put(MessageColumns.TO_LIST, message.mTo); in getUpdateContentValues()
1229 values.put(MessageColumns.CC_LIST, message.mCc); in getUpdateContentValues()
1230 values.put(MessageColumns.BCC_LIST, message.mBcc); in getUpdateContentValues()
1231 values.put(MessageColumns.SUBJECT, message.mSubject); in getUpdateContentValues()
1232 values.put(MessageColumns.DISPLAY_NAME, message.mDisplayName); in getUpdateContentValues()
1233 values.put(MessageColumns.FLAG_READ, message.mFlagRead); in getUpdateContentValues()
1234 values.put(MessageColumns.FLAG_LOADED, message.mFlagLoaded); in getUpdateContentValues()
[all …]
DMessageOrderManager.java358 null, EmailContent.MessageColumns.TIMESTAMP + " DESC"); in openNewCursor()
/packages/apps/Email/src/com/android/email/
DMessagingController.java54 import com.android.emailcommon.provider.EmailContent.MessageColumns;
401 MessageColumns.FLAG_READ, MessageColumns.FLAG_FAVORITE, MessageColumns.FLAG_LOADED,
402 SyncColumns.SERVER_ID, MessageColumns.MAILBOX_KEY, MessageColumns.ACCOUNT_KEY,
403 MessageColumns.FLAGS
756 EmailContent.MessageColumns.ACCOUNT_KEY + "=?" + in synchronizeMailboxGeneric()
757 " AND " + MessageColumns.MAILBOX_KEY + "=?", in synchronizeMailboxGeneric()
904 updateValues.put(MessageColumns.FLAG_READ, remoteSeen); in synchronizeMailboxGeneric()
905 updateValues.put(MessageColumns.FLAG_FAVORITE, remoteFlagged); in synchronizeMailboxGeneric()
911 updateValues.put(MessageColumns.FLAGS, localFlags); in synchronizeMailboxGeneric()
968 EmailContent.MessageColumns.ACCOUNT_KEY + "=?" + in copyOneMessageToProvider()
[all …]
DController.java48 import com.android.emailcommon.provider.EmailContent.MessageColumns;
96 private static final String WHERE_MAILBOX_KEY = MessageColumns.MAILBOX_KEY + "=?";
100 EmailContent.MessageColumns.ACCOUNT_KEY
113 private static final String MESSAGES_FOR_ACCOUNT_SELECTION = MessageColumns.ACCOUNT_KEY + "=?";
450 cv.put(MessageColumns.FLAG_LOADED, Message.FLAG_LOADED_COMPLETE); in loadMessageForView()
579 cv.put(EmailContent.MessageColumns.MAILBOX_KEY, outboxId); in sendMessage()
809 cv.put(EmailContent.MessageColumns.MAILBOX_KEY, trashMailboxId); in deleteMessageSync()
841 cv.put(EmailContent.MessageColumns.MAILBOX_KEY, newMailboxId); in moveMessages()
863 setMessageBooleanSync(messageId, EmailContent.MessageColumns.FLAG_READ, isRead);
878 setMessageBooleanSync(messageId, EmailContent.MessageColumns.FLAG_READ, isRead);
[all …]
DNotificationController.java56 import com.android.emailcommon.provider.EmailContent.MessageColumns;
805 MessageColumns.MAILBOX_KEY + "=? AND "
806 + MessageColumns.ID + ">? AND "
807 + MessageColumns.FLAG_READ + "=0 AND "
858 MessageColumns.ID + " DESC"); in onChange()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DEmailSyncAdapter.java51 import com.android.emailcommon.provider.EmailContent.MessageColumns;
95 {MessageColumns.FLAG_READ, MessageColumns.MAILBOX_KEY, SyncColumns.SERVER_ID,
96 MessageColumns.FLAG_FAVORITE};
101 new String[] { Message.RECORD_ID, MessageColumns.SUBJECT };
105 MessageColumns.MAILBOX_KEY + "=? AND (" + MessageColumns.FLAGS + "&" +
211 MessageColumns.FLAG_LOADED + "=" + Message.FLAG_LOADED_PARTIAL + " AND " + in sendSyncOptions()
212 MessageColumns.MAILBOX_KEY + "=?", in sendSyncOptions()
492 SyncColumns.SERVER_ID + "=? and " + MessageColumns.MAILBOX_KEY + "=?";
1200 cv.put(MessageColumns.FLAG_READ, change.read);
1203 cv.put(MessageColumns.FLAG_FAVORITE, change.flag);
[all …]
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEasOutboxService.java37 import com.android.emailcommon.provider.EmailContent.MessageColumns;
64 MessageColumns.MAILBOX_KEY + "=? and (" + SyncColumns.SERVER_ID + " is null or " +
288 SyncColumns.SERVER_ID, MessageColumns.MAILBOX_KEY, in getOriginalMessageInfo()
289 MessageColumns.PROTOCOL_SEARCH_INFO); in getOriginalMessageInfo()
DEmailSyncAlarmReceiver.java28 import com.android.emailcommon.provider.EmailContent.MessageColumns;
52 final String[] MAILBOX_DATA_PROJECTION = {MessageColumns.MAILBOX_KEY};
DEasSyncService.java46 import com.android.emailcommon.provider.EmailContent.MessageColumns;
1050 msg.mId), new String[] {MessageColumns.MAILBOX_KEY}, null, null, null); in messageMoveRequest()
1080 cv.put(MessageColumns.MAILBOX_KEY, srcMailbox.mServerId); in messageMoveRequest()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java36 import com.android.emailcommon.provider.EmailContent.MessageColumns;
336 Message.ID_COLUMN_PROJECTION, MessageColumns.MAILBOX_KEY + "=?", in deleteAllMailboxAttachmentFiles()
DUtility.java55 import com.android.emailcommon.provider.EmailContent.MessageColumns;
1194 MessageColumns.MAILBOX_KEY + "=?",
1196 MessageColumns.ID + " DESC",
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DEmailSyncAdapterTests.java27 import com.android.emailcommon.provider.EmailContent.MessageColumns;
228 cv.put(MessageColumns.FLAGS, randomFlags); in testChangeParser()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DEmailSyncAdapterTests.java27 import com.android.emailcommon.provider.EmailContent.MessageColumns;
228 cv.put(MessageColumns.FLAGS, randomFlags); in testChangeParser()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java24 import com.android.emailcommon.provider.EmailContent.MessageColumns;
442 values.put(MessageColumns.MAILBOX_KEY, b4.mId); in testMessageCount()
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityMediumTests.java25 import com.android.emailcommon.provider.EmailContent.MessageColumns;