/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
D | BluetoothMapContract.java | 538 public interface MessageColumns extends EmailMessageColumns { interface in BluetoothMapContract 1083 MessageColumns._ID, 1084 MessageColumns.DATE, 1085 MessageColumns.SUBJECT, 1087 MessageColumns.BODY, 1088 MessageColumns.MESSAGE_SIZE, 1089 MessageColumns.FOLDER_ID, 1090 MessageColumns.FLAG_READ, 1091 MessageColumns.FLAG_PROTECTED, 1092 MessageColumns.FLAG_HIGH_PRIORITY, [all …]
|
D | BluetoothMapEmailProvider.java | 460 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in insert() 630 Long messageId = values.getAsLong(BluetoothMapContract.MessageColumns._ID); in update() 634 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in update() 636 values.getAsBoolean(BluetoothMapContract.MessageColumns.FLAG_READ); in update()
|
D | BluetoothMapIMProvider.java | 530 Long messageId = values.getAsLong(BluetoothMapContract.MessageColumns._ID); in update() 534 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in update() 536 values.getAsBoolean(BluetoothMapContract.MessageColumns.FLAG_READ); in update()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseHelper.java | 208 public static class MessageColumns implements BaseColumns { class in DatabaseHelper 272 + MessageColumns._ID + " INTEGER PRIMARY KEY AUTOINCREMENT, " 273 + MessageColumns.CONVERSATION_ID + " INT, " 274 + MessageColumns.SENDER_PARTICIPANT_ID + " INT, " 275 + MessageColumns.SENT_TIMESTAMP + " INT DEFAULT(0), " 276 + MessageColumns.RECEIVED_TIMESTAMP + " INT DEFAULT(0), " 277 + MessageColumns.PROTOCOL + " INT DEFAULT(0), " 278 + MessageColumns.STATUS + " INT DEFAULT(0), " 279 + MessageColumns.SEEN + " INT DEFAULT(0), " 280 + 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 | 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 …]
|
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";
|
/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; 301 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.READ 340 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.STATUS 342 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.RAW_TELEPHONY_STATUS 344 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns._ID 355 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.SENDER_PARTICIPANT_ID 371 + '=' + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns._ID + ") " 380 static final String READ = MessageColumns.READ; 404 static final String MESSAGE_STATUS = MessageColumns.STATUS; 405 static final String MESSAGE_RAW_TELEPHONY_STATUS = MessageColumns.RAW_TELEPHONY_STATUS;
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ProcessPendingMessagesAction.java | 33 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 350 MessageColumns.SELF_PARTICIPANT_ID) in findNextMessageToSend() 360 DatabaseHelper.MessageColumns.STATUS + " IN (?, ?)" in findNextMessageToSend() 367 DatabaseHelper.MessageColumns.RECEIVED_TIMESTAMP + " ASC"); in findNextMessageToSend() 372 values.put(DatabaseHelper.MessageColumns.STATUS, in findNextMessageToSend() 377 DatabaseHelper.MessageColumns.STATUS + " IN (" in findNextMessageToSend() 384 DatabaseHelper.MessageColumns.RECEIVED_TIMESTAMP + " ASC"); in findNextMessageToSend() 407 selfValues.put(MessageColumns.SELF_PARTICIPANT_ID, in findNextMessageToSend() 459 MessageColumns.SELF_PARTICIPANT_ID) in findNextMessageToDownload() 468 DatabaseHelper.MessageColumns.STATUS + " IN (?, ?)" in findNextMessageToDownload() [all …]
|
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 | 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 | 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 | 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()
|
D | SendMessageAction.java | 31 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 266 values.put(MessageColumns.SMS_MESSAGE_URI, updatedMessageUri.toString()); in updateMessageUri() 395 values.put(MessageColumns.STATUS, message.getStatus()); in updateMessageAndStatus() 400 values.put(MessageColumns.SEEN, 0); in updateMessageAndStatus() 402 values.put(MessageColumns.RECEIVED_TIMESTAMP, message.getReceivedTimeStamp()); in updateMessageAndStatus() 403 values.put(MessageColumns.RAW_TELEPHONY_STATUS, message.getRawTelephonyStatus()); in updateMessageAndStatus()
|
D | DeleteConversationAction.java | 32 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 146 new String[] { MessageColumns.SMS_MESSAGE_URI }, in deleteConversationMessagesFromTelephony() 147 MessageColumns.CONVERSATION_ID + "=?", in deleteConversationMessagesFromTelephony()
|
D | RedownloadMmsAction.java | 85 values.put(DatabaseHelper.MessageColumns.STATUS, in executeAction() 87 values.put(DatabaseHelper.MessageColumns.RETRY_START_TIMESTAMP, timestamp); in executeAction()
|
D | DownloadMmsAction.java | 29 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 315 values.put(MessageColumns.STATUS, status); in updateMessageStatus() 316 values.put(MessageColumns.RAW_TELEPHONY_STATUS, rawStatus); in updateMessageStatus()
|
D | ProcessDeliveryReportAction.java | 78 values.put(DatabaseHelper.MessageColumns.STATUS, bugleStatus); in executeAction() 79 values.put(DatabaseHelper.MessageColumns.SENT_TIMESTAMP, in executeAction()
|
D | SyncMessageBatch.java | 30 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 96 batchDelete(db, DatabaseHelper.MESSAGES_TABLE, MessageColumns._ID, in updateLocalDatabase()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContent.java | 326 mMessageColId = c.getColumnIndex(BluetoothMapContract.MessageColumns._ID); in setMessageColumns() 327 mMessageColDate = c.getColumnIndex(BluetoothMapContract.MessageColumns.DATE); in setMessageColumns() 328 mMessageColSubject = c.getColumnIndex(BluetoothMapContract.MessageColumns.SUBJECT); in setMessageColumns() 329 mMessageColFolder = c.getColumnIndex(BluetoothMapContract.MessageColumns.FOLDER_ID); in setMessageColumns() 330 mMessageColRead = c.getColumnIndex(BluetoothMapContract.MessageColumns.FLAG_READ); in setMessageColumns() 331 mMessageColSize = c.getColumnIndex(BluetoothMapContract.MessageColumns.MESSAGE_SIZE); in setMessageColumns() 333 c.getColumnIndex(BluetoothMapContract.MessageColumns.FROM_LIST); in setMessageColumns() 334 mMessageColToAddress = c.getColumnIndex(BluetoothMapContract.MessageColumns.TO_LIST); in setMessageColumns() 336 c.getColumnIndex(BluetoothMapContract.MessageColumns.FLAG_ATTACHMENT); in setMessageColumns() 338 c.getColumnIndex(BluetoothMapContract.MessageColumns.ATTACHMENT_SIZE); in setMessageColumns() [all …]
|
D | BluetoothMapContentObserver.java | 61 import com.android.bluetooth.mapapi.BluetoothMapContract.MessageColumns; 223 BluetoothMapContract.MessageColumns._ID, 224 BluetoothMapContract.MessageColumns.FOLDER_ID, 225 BluetoothMapContract.MessageColumns.FLAG_READ 229 BluetoothMapContract.MessageColumns._ID, 230 BluetoothMapContract.MessageColumns.FOLDER_ID, 231 BluetoothMapContract.MessageColumns.FLAG_READ, 232 BluetoothMapContract.MessageColumns.DATE, 233 BluetoothMapContract.MessageColumns.SUBJECT, 234 BluetoothMapContract.MessageColumns.FROM_LIST, [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/ |
D | TestDataFactory.java | 30 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns; 309 messageValues.put(MessageColumns.RECEIVED_TIMESTAMP, messageTime); in createTestData() 310 messageValues.put(MessageColumns.CONVERSATION_ID, conversationId); in createTestData() 311 messageValues.put(MessageColumns.SENDER_PARTICIPANT_ID, in createTestData()
|