/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
D | BluetoothMapContract.java | 528 public interface MessageColumns extends EmailMessageColumns { interface in BluetoothMapContract 1074 MessageColumns._ID, 1075 MessageColumns.DATE, 1076 MessageColumns.SUBJECT, 1078 MessageColumns.BODY, 1079 MessageColumns.MESSAGE_SIZE, 1080 MessageColumns.FOLDER_ID, 1081 MessageColumns.FLAG_READ, 1082 MessageColumns.FLAG_PROTECTED, 1083 MessageColumns.FLAG_HIGH_PRIORITY, [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseHelper.java | 204 public static class MessageColumns implements BaseColumns { class in DatabaseHelper 268 + MessageColumns._ID + " INTEGER PRIMARY KEY AUTOINCREMENT, " 269 + MessageColumns.CONVERSATION_ID + " INT, " 270 + MessageColumns.SENDER_PARTICIPANT_ID + " INT, " 271 + MessageColumns.SENT_TIMESTAMP + " INT DEFAULT(0), " 272 + MessageColumns.RECEIVED_TIMESTAMP + " INT DEFAULT(0), " 273 + MessageColumns.PROTOCOL + " INT DEFAULT(0), " 274 + MessageColumns.STATUS + " INT DEFAULT(0), " 275 + MessageColumns.SEEN + " INT DEFAULT(0), " 276 + MessageColumns.READ + " INT DEFAULT(0), " [all …]
|
D | ConversationImagePartsView.java | 23 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 39 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.CONVERSATION_ID 56 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.RECEIVED_TIMESTAMP 58 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.STATUS 62 + " ON (" + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns._ID 65 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.SENDER_PARTICIPANT_ID 73 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.RECEIVED_TIMESTAMP + " ASC, " 77 static final String CONVERSATION_ID = MessageColumns.CONVERSATION_ID; 85 static final String RECEIVED_TIMESTAMP = MessageColumns.RECEIVED_TIMESTAMP; 86 static final String STATUS = MessageColumns.STATUS;
|
D | NotificationState.java | 22 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 50 "((" + MessageColumns.STATUS + " = " + 52 MessageColumns.STATUS + " = " + 54 DatabaseHelper.MessageColumns.SEEN + " = 0)"; 56 static final String FAILED_ORDER_BY = DatabaseHelper.MessageColumns.CONVERSATION_ID + ", " + 57 DatabaseHelper.MessageColumns.SENT_TIMESTAMP + " asc";
|
D | BugleDatabaseOperations.java | 33 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 480 MessageColumns.CONVERSATION_ID + "=?", new String[] { conversationId }); in deleteConversation() 485 MessageColumns.CONVERSATION_ID + "=? AND " in deleteConversation() 486 + MessageColumns.RECEIVED_TIMESTAMP + "<=?", in deleteConversation() 496 MessageColumns.STATUS + "=? AND " + MessageColumns.CONVERSATION_ID + "=?", in deleteConversation() 504 MessageColumns.CONVERSATION_ID + "=?", new String[] { conversationId }); in deleteConversation() 533 "MAX(" + MessageColumns.RECEIVED_TIMESTAMP + ")"; 542 MessageColumns.CONVERSATION_ID + "=?", in getConversationMaxTimestamp() 727 MessageColumns.CONVERSATION_ID + "=?", in updateConversationDraftSnippetAndPreviewInTransaction() 729 MessageColumns.RECEIVED_TIMESTAMP + " DESC", "1" /* limit */); in updateConversationDraftSnippetAndPreviewInTransaction() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ConversationMessageData.java | 26 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 625 + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns.CONVERSATION_ID + "=?)" in getConversationMessagesQuerySql() 633 + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns.CONVERSATION_ID + "=?)" in getConversationMessageIdsQuerySql() 640 + "(" + DatabaseHelper.MessageColumns.STATUS + " in (" in getNotificationQuerySql() 644 + DatabaseHelper.MessageColumns.SEEN + " = 0)" in getNotificationQuerySql() 652 + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns.CONVERSATION_ID + "=?" in getWearableQuerySql() 654 + DatabaseHelper.MessageColumns.STATUS + " IN (" in getWearableQuerySql() 705 DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns._ID 707 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.CONVERSATION_ID 709 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.SENDER_PARTICIPANT_ID [all …]
|
D | MessageData.java | 28 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 44 MessageColumns._ID, 45 MessageColumns.CONVERSATION_ID, 46 MessageColumns.SENDER_PARTICIPANT_ID, 47 MessageColumns.SELF_PARTICIPANT_ID, 48 MessageColumns.SENT_TIMESTAMP, 49 MessageColumns.RECEIVED_TIMESTAMP, 50 MessageColumns.SEEN, 51 MessageColumns.READ, 52 MessageColumns.PROTOCOL, [all …]
|
D | ConversationListItemData.java | 26 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 286 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.READ 325 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.STATUS 327 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.RAW_TELEPHONY_STATUS 329 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns._ID 338 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.SENDER_PARTICIPANT_ID 354 + '=' + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns._ID + ") " 363 static final String READ = MessageColumns.READ; 387 static final String MESSAGE_STATUS = MessageColumns.STATUS; 388 static final String MESSAGE_RAW_TELEPHONY_STATUS = MessageColumns.RAW_TELEPHONY_STATUS;
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | MessageModification.java | 23 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 …]
|
D | UIProvider.java | 1592 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 …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | EmailContent.java | 638 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/ |
D | DBHelper.java | 48 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 …]
|
D | EmailProvider.java | 91 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 …]
|
D | EmailConversationCursor.java | 180 … 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()
|
D | Utilities.java | 36 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/Messaging/src/com/android/messaging/datamodel/action/ |
D | MarkAsReadAction.java | 27 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 70 values.put(MessageColumns.CONVERSATION_ID, conversationId); in executeAction() 71 values.put(MessageColumns.READ, 1); in executeAction() 72 values.put(MessageColumns.SEEN, 1); // if they read it, they saw it in executeAction() 75 "(" + MessageColumns.READ + " !=1 OR " + in executeAction() 76 MessageColumns.SEEN + " !=1 ) AND " + in executeAction() 77 MessageColumns.CONVERSATION_ID + "=?", in executeAction()
|
D | ProcessPendingMessagesAction.java | 32 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 308 DatabaseHelper.MessageColumns.STATUS + " IN (?, ?)", in findNextMessageToSend() 313 DatabaseHelper.MessageColumns.RECEIVED_TIMESTAMP + " ASC"); in findNextMessageToSend() 318 values.put(DatabaseHelper.MessageColumns.STATUS, in findNextMessageToSend() 322 DatabaseHelper.MessageColumns.STATUS + " IN (" in findNextMessageToSend() 328 DatabaseHelper.MessageColumns.RECEIVED_TIMESTAMP + " ASC"); in findNextMessageToSend() 351 selfValues.put(MessageColumns.SELF_PARTICIPANT_ID, in findNextMessageToSend() 400 DatabaseHelper.MessageColumns.STATUS + " IN (?, ?)", in findNextMessageToDownload() 409 DatabaseHelper.MessageColumns.STATUS + " =? OR " in findNextMessageToDownload() 410 + DatabaseHelper.MessageColumns.STATUS + " =?", in findNextMessageToDownload() [all …]
|
D | MarkAsSeenAction.java | 27 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 80 values.put(MessageColumns.SEEN, 1); in executeAction() 84 MessageColumns.SEEN + " != 1 AND " + in executeAction() 85 MessageColumns.CONVERSATION_ID + "=?", in executeAction() 92 MessageColumns.SEEN + " != 1", null/*selectionArgs*/); in executeAction()
|
D | ResendMessageAction.java | 25 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 80 values.put(MessageColumns.STATUS, MessageData.BUGLE_STATUS_OUTGOING_YET_TO_SEND); in executeAction() 81 values.put(MessageColumns.RECEIVED_TIMESTAMP, timestamp); in executeAction() 82 values.put(MessageColumns.SENT_TIMESTAMP, timestamp); in executeAction() 83 values.put(MessageColumns.RETRY_START_TIMESTAMP, timestamp); in executeAction()
|
D | SyncCursorPair.java | 31 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 87 MessageColumns.RECEIVED_TIMESTAMP, in SyncCursorPair() 108 MessageColumns.RECEIVED_TIMESTAMP, in SyncCursorPair() 111 MessageColumns.CONVERSATION_ID, conversationId); in SyncCursorPair() 330 MessageColumns.SMS_MESSAGE_URI); 333 MessageColumns.RECEIVED_TIMESTAMP + " DESC"; 338 MessageColumns._ID, 339 MessageColumns.RECEIVED_TIMESTAMP, 340 MessageColumns.SMS_MESSAGE_URI, 341 MessageColumns.PROTOCOL, [all …]
|
D | FixupMessageStatusOnStartupAction.java | 61 values.put(DatabaseHelper.MessageColumns.STATUS, in executeAction() 64 DatabaseHelper.MessageColumns.STATUS + " IN (?, ?)", in executeAction() 72 values.put(DatabaseHelper.MessageColumns.STATUS, in executeAction() 75 DatabaseHelper.MessageColumns.STATUS + " IN (?, ?)", in executeAction()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
D | MockUiProvider.java | 41 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/Email/provider_src/com/android/email/service/ |
D | ImapService.java | 57 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 …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContent.java | 334 BluetoothMapContract.MessageColumns._ID); in setMessageColumns() 336 BluetoothMapContract.MessageColumns.DATE); in setMessageColumns() 338 BluetoothMapContract.MessageColumns.SUBJECT); in setMessageColumns() 340 BluetoothMapContract.MessageColumns.FOLDER_ID); in setMessageColumns() 342 BluetoothMapContract.MessageColumns.FLAG_READ); in setMessageColumns() 344 BluetoothMapContract.MessageColumns.MESSAGE_SIZE); in setMessageColumns() 346 BluetoothMapContract.MessageColumns.FROM_LIST); in setMessageColumns() 348 BluetoothMapContract.MessageColumns.TO_LIST); in setMessageColumns() 350 BluetoothMapContract.MessageColumns.FLAG_ATTACHMENT); in setMessageColumns() 352 BluetoothMapContract.MessageColumns.ATTACHMENT_SIZE); in setMessageColumns() [all …]
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
D | BluetoothMapContentTest.java | 68 BluetoothMapContract.MessageColumns.FOLDER_ID, 69 BluetoothMapContract.MessageColumns.ACCOUNT_ID, 73 if (D) Log.d(TAG, BluetoothMapContract.MessageColumns.ACCOUNT_ID + " : " + in printAccountInfo() 74 c.getInt(c.getColumnIndex(BluetoothMapContract.MessageColumns.ACCOUNT_ID)) ); in printAccountInfo() 78 BluetoothMapContract.MessageColumns._ID, 79 BluetoothMapContract.MessageColumns.DATE, 187 if(c.getColumnName(i).equals(BluetoothMapContract.MessageColumns.DATE)){ in printCursor() 199 long id = c.getLong(c.getColumnIndex(BluetoothMapContract.MessageColumns._ID)); in dumpMessageContent() 237 long id = c.getLong(c.getColumnIndex(BluetoothMapContract.MessageColumns._ID)); in writeMessageContent() 247 newMessage.put(BluetoothMapContract.MessageColumns.FOLDER_ID, outFolder.getFolderId()); in writeMessageContent() [all …]
|