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.java638 public interface MessageColumns extends BaseColumns, SyncColumns { interface in EmailContent
766 MessageColumns._ID,
767 MessageColumns.DISPLAY_NAME, MessageColumns.TIMESTAMP,
768 MessageColumns.SUBJECT, MessageColumns.FLAG_READ,
769 MessageColumns.FLAG_LOADED, MessageColumns.FLAG_FAVORITE,
770 MessageColumns.FLAG_ATTACHMENT, MessageColumns.FLAGS,
771 SyncColumns.SERVER_ID, MessageColumns.DRAFT_INFO,
772 MessageColumns.MESSAGE_ID, MessageColumns.MAILBOX_KEY,
773 MessageColumns.ACCOUNT_KEY, MessageColumns.FROM_LIST,
774 MessageColumns.TO_LIST, MessageColumns.CC_LIST,
[all …]
/packages/apps/Email/provider_src/com/android/email/provider/
DDBHelper.java48 import com.android.emailcommon.provider.EmailContent.MessageColumns;
85 " where " + MessageColumns.MAILBOX_KEY + "=old." + BaseColumns._ID +
87 " where " + MessageColumns.MAILBOX_KEY + "=old." + BaseColumns._ID +
89 " where " + MessageColumns.MAILBOX_KEY + "=old." + BaseColumns._ID +
219 " where " + BaseColumns._ID + "=NEW." + MessageColumns.MAILBOX_KEY + in createMessageCountTriggers()
227 " where " + BaseColumns._ID + "=OLD." + MessageColumns.MAILBOX_KEY + in createMessageCountTriggers()
232 MessageColumns.MAILBOX_KEY + " on " + Message.TABLE_NAME + in createMessageCountTriggers()
235 " where " + BaseColumns._ID + "=OLD." + MessageColumns.MAILBOX_KEY + in createMessageCountTriggers()
238 " where " + BaseColumns._ID + "=NEW." + MessageColumns.MAILBOX_KEY + in createMessageCountTriggers()
281 + MessageColumns.MAILBOX_KEY + ")!=" + Mailbox.TYPE_SEARCH in createDeleteDuplicateMessagesTrigger()
[all …]
DEmailProvider.java91 import com.android.emailcommon.provider.EmailContent.MessageColumns;
200 = new String[] {MessageColumns._ID, MessageColumns.MAILBOX_KEY};
506 deleteUnlinked(mDatabase, Message.TABLE_NAME, MessageColumns.ACCOUNT_KEY, in getDatabase()
949 final long mailboxId = values.getAsLong(MessageColumns.MAILBOX_KEY); in insert()
953 notifyUIFolder(mailboxId, values.getAsLong(MessageColumns.ACCOUNT_KEY)); in insert()
1001 values.put(MessageColumns.MAILBOX_KEY, longId); in insert()
1752 + "(select " + MessageColumns.SERVER_ID + " from " +
1754 + "(select " + MessageColumns.ACCOUNT_KEY + " from " +
1768 + "(select " + MessageColumns.MAILBOX_KEY +
1771 + MessageColumns.MAILBOX_KEY + " from " + Message.TABLE_NAME + " where _id=%s)),"
[all …]
DEmailConversationCursor.java180 … final String senderString = getString(getColumnIndex(EmailContent.MessageColumns.DISPLAY_NAME)); in generateConversationInfo()
182 final String fromString = getString(getColumnIndex(EmailContent.MessageColumns.FROM_LIST)); in generateConversationInfo()
206 EmailContent.MessageColumns.TO_LIST)); in generateConversationInfo()
228 contentValues.put(EmailContent.MessageColumns.FLAG_SEEN, true); in markContentsSeen()
230 final String where = EmailContent.MessageColumns.MAILBOX_KEY + " = ? AND " + in markContentsSeen()
231 EmailContent.MessageColumns.FLAG_SEEN + " != ?"; in markContentsSeen()
DUtilities.java36 import com.android.emailcommon.provider.EmailContent.MessageColumns;
65 EmailContent.MessageColumns.ACCOUNT_KEY + "=?" + in copyOneMessageToProvider()
66 " AND " + MessageColumns.MAILBOX_KEY + "=?" + in copyOneMessageToProvider()
173 cv.put(EmailContent.MessageColumns.FLAG_ATTACHMENT, localMessage.mFlagAttachment); in copyOneMessageToProvider()
174 cv.put(EmailContent.MessageColumns.FLAG_LOADED, localMessage.mFlagLoaded); in copyOneMessageToProvider()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DUIProvider.java1592 MessageColumns.SERVER_ID,
1593 MessageColumns.URI,
1594 MessageColumns.CONVERSATION_ID,
1595 MessageColumns.SUBJECT,
1596 MessageColumns.SNIPPET,
1597 MessageColumns.FROM,
1598 MessageColumns.TO,
1599 MessageColumns.CC,
1600 MessageColumns.BCC,
1601 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.java41 import com.android.mail.providers.UIProvider.MessageColumns;
707 values.put(UIProvider.MessageColumns.ALWAYS_SHOW_IMAGES, 1); in markAlwaysShowImages()
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapContract.java322 public interface MessageColumns { interface in BluetoothMapContract
517 MessageColumns._ID,
518 MessageColumns.DATE,
519 MessageColumns.SUBJECT,
520 MessageColumns.FLAG_READ,
521 MessageColumns.FLAG_ATTACHMENT,
522 MessageColumns.FOLDER_ID,
523 MessageColumns.ACCOUNT_ID,
524 MessageColumns.FROM_LIST,
525 MessageColumns.TO_LIST,
[all …]
DBluetoothMapEmailProvider.java443 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in insert()
605 Long messageId = values.getAsLong(BluetoothMapContract.MessageColumns._ID); in update()
609 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in update()
610 … Boolean flagRead = values.getAsBoolean(BluetoothMapContract.MessageColumns.FLAG_READ); in update()
/packages/apps/Email/provider_src/com/android/email/service/
DImapService.java57 import com.android.emailcommon.provider.EmailContent.MessageColumns;
210 MessageColumns._ID,
211 MessageColumns.FLAG_READ,
212 MessageColumns.FLAG_FAVORITE,
213 MessageColumns.FLAG_LOADED,
215 MessageColumns.FLAGS,
216 MessageColumns.TIMESTAMP
242 "MIN(" + MessageColumns.TIMESTAMP + ")"
405 EmailContent.MessageColumns.ACCOUNT_KEY + "=?" + " AND " + in synchronizeMailboxGeneric()
406 MessageColumns.MAILBOX_KEY + "=? AND " + in synchronizeMailboxGeneric()
[all …]
DEmailServiceStub.java53 import com.android.emailcommon.provider.EmailContent.MessageColumns;
445 MessageColumns.MAILBOX_KEY + "=?", new String[] { Long.toString(outboxId)}, in sendMailImpl()
459 moveToSentValues.put(MessageColumns.MAILBOX_KEY, sentFolder.mId); in sendMailImpl()
468 moveToSentValues.remove(EmailContent.MessageColumns.FLAGS); in sendMailImpl()
508 moveToSentValues.put(EmailContent.MessageColumns.FLAGS, flags); in sendMailImpl()
DPopImapSyncAdapterService.java40 import com.android.emailcommon.provider.EmailContent.MessageColumns;
116 resolver.delete(Message.UPDATED_CONTENT_URI, MessageColumns.MAILBOX_KEY + "=?", in sync()
210 new String[] {MessageColumns.MAILBOX_KEY}, in performSync()
211 MessageColumns.ACCOUNT_KEY + "=?", in performSync()
DPop3Service.java49 import com.android.emailcommon.provider.EmailContent.MessageColumns;
144 EmailContent.RECORD_ID, MessageColumns.FLAG_LOADED, SyncColumns.SERVER_ID
249 MessageColumns.MAILBOX_KEY + "=?", in synchronizePop3Mailbox()
281 EmailContent.MessageColumns.ACCOUNT_KEY + "=?", accountIdArgs, in synchronizePop3Mailbox()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java41 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()
252 messageMap.put(MessageColumns.URI, messageUri); in createMessageDetailsMap()
253 messageMap.put(MessageColumns.SUBJECT, "Message " + subject); in createMessageDetailsMap()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java28 import com.android.bluetooth.mapapi.BluetoothMapContract.MessageColumns;
171 … mEmailColThreadId = c.getColumnIndex(BluetoothMapContract.MessageColumns.THREAD_ID); in setEmailColumns()
172 … mEmailColProtected = c.getColumnIndex(BluetoothMapContract.MessageColumns.FLAG_PROTECTED); in setEmailColumns()
173 … mEmailColFolder = c.getColumnIndex(BluetoothMapContract.MessageColumns.FOLDER_ID); in setEmailColumns()
174 … mEmailColRead = c.getColumnIndex(BluetoothMapContract.MessageColumns.FLAG_READ); in setEmailColumns()
175 …mEmailColPriority = c.getColumnIndex(BluetoothMapContract.MessageColumns.FLAG_HIGH_PRIORITY… in setEmailColumns()
176 … mEmailColAttachment = c.getColumnIndex(BluetoothMapContract.MessageColumns.FLAG_ATTACHMENT); in setEmailColumns()
177 … mEmailColAttachementSize = c.getColumnIndex(BluetoothMapContract.MessageColumns.ATTACHMENT_SIZE); in setEmailColumns()
178 … mEmailColSize = c.getColumnIndex(BluetoothMapContract.MessageColumns.MESSAGE_SIZE); in setEmailColumns()
179 … mEmailColToAddress = c.getColumnIndex(BluetoothMapContract.MessageColumns.TO_LIST); in setEmailColumns()
[all …]
DBluetoothMapContentObserver.java58 import com.android.bluetooth.mapapi.BluetoothMapContract.MessageColumns;
154 BluetoothMapContract.MessageColumns._ID,
155 BluetoothMapContract.MessageColumns.FOLDER_ID,
156 BluetoothMapContract.MessageColumns.FLAG_READ
511 long id = c.getLong(c.getColumnIndex(MessageColumns._ID)); in initMsgList()
512 … long folderId = c.getInt(c.getColumnIndex(BluetoothMapContract.MessageColumns.FOLDER_ID)); in initMsgList()
702 long id = c.getLong(c.getColumnIndex(BluetoothMapContract.MessageColumns._ID)); in handleMsgListChangesEmail()
704 BluetoothMapContract.MessageColumns.FOLDER_ID)); in handleMsgListChangesEmail()
831 contentValues.put(BluetoothMapContract.MessageColumns._ID, handle); in setEmailMessageStatusDelete()
840 contentValues.put(BluetoothMapContract.MessageColumns.FOLDER_ID,folderId); in setEmailMessageStatusDelete()
[all …]
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java47 import com.android.emailcommon.provider.EmailContent.MessageColumns;
899 count(mMockContext, Message.CONTENT_URI, MessageColumns.MAILBOX_KEY + "=?", args)); in testMessageQueryWithLimit()
901 MessageColumns.MAILBOX_KEY + "=?", args)); in testMessageQueryWithLimit()
988 v.put(MessageColumns.DISPLAY_NAME, "--updated--"); in testDeleteOrphanMessages()
1106 String selection = EmailContent.MessageColumns.ACCOUNT_KEY + "=? AND " in testMessageDelete()
1107 + EmailContent.MessageColumns.MAILBOX_KEY + "=?"; in testMessageDelete()
1157 String selection = EmailContent.MessageColumns.ACCOUNT_KEY + "=? AND " in testSyncedMessageDelete()
1158 + EmailContent.MessageColumns.MAILBOX_KEY + "=?"; in testSyncedMessageDelete()
1223 String selection = EmailContent.MessageColumns.ACCOUNT_KEY + "=? AND " in testMessageUpdate()
1224 + EmailContent.MessageColumns.MAILBOX_KEY + "=?"; in testMessageUpdate()
[all …]
/packages/apps/Exchange/src/com/android/exchange/adapter/
DEmailSyncParser.java30 import com.android.emailcommon.provider.EmailContent.MessageColumns;
60 + "=? and " + MessageColumns.MAILBOX_KEY + "=?";
74 new String[] { MessageColumns._ID, MessageColumns.SUBJECT };
846 .withSelection(MessageColumns._ID + "=?", bindArgument) in commitImpl()
847 .withValue(MessageColumns.FLAG_LOADED, in commitImpl()
871 cv.put(EmailContent.MessageColumns.FLAG_READ, change.read); in commitImpl()
874 cv.put(EmailContent.MessageColumns.FLAG_FAVORITE, change.flag); in commitImpl()
877 cv.put(EmailContent.MessageColumns.FLAGS, change.flags); in commitImpl()
/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;
370 refId, SyncColumns.SERVER_ID, MessageColumns.MAILBOX_KEY, in getSmartSendInfo()
371 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/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java35 import com.android.emailcommon.provider.EmailContent.MessageColumns;
356 Message.ID_COLUMN_PROJECTION, MessageColumns.MAILBOX_KEY + "=?", in deleteAllMailboxAttachmentFiles()
/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()

12