Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/android/app/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapContract.java498 public interface MessageColumns extends EmailMessageColumns { interface in BluetoothMapContract
1012 MessageColumns._ID,
1013 MessageColumns.DATE,
1014 MessageColumns.SUBJECT,
1016 MessageColumns.BODY,
1017 MessageColumns.MESSAGE_SIZE,
1018 MessageColumns.FOLDER_ID,
1019 MessageColumns.FLAG_READ,
1020 MessageColumns.FLAG_PROTECTED,
1021 MessageColumns.FLAG_HIGH_PRIORITY,
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseHelper.java211 public static class MessageColumns implements BaseColumns { class in DatabaseHelper
275 + MessageColumns._ID + " INTEGER PRIMARY KEY AUTOINCREMENT, "
276 + MessageColumns.CONVERSATION_ID + " INT, "
277 + MessageColumns.SENDER_PARTICIPANT_ID + " INT, "
278 + MessageColumns.SENT_TIMESTAMP + " INT DEFAULT(0), "
279 + MessageColumns.RECEIVED_TIMESTAMP + " INT DEFAULT(0), "
280 + MessageColumns.PROTOCOL + " INT DEFAULT(0), "
281 + MessageColumns.STATUS + " INT DEFAULT(0), "
282 + MessageColumns.SEEN + " INT DEFAULT(0), "
283 + MessageColumns.READ + " INT DEFAULT(0), "
[all …]
DConversationImagePartsView.java23 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;
DNotificationState.java22 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";
DBugleDatabaseOperations.java33 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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DFilterInfoTest.java50 BluetoothMapContract.MessageColumns._ID, in setMessageColumns()
51 BluetoothMapContract.MessageColumns.DATE, in setMessageColumns()
52 BluetoothMapContract.MessageColumns.SUBJECT, in setMessageColumns()
53 BluetoothMapContract.MessageColumns.FOLDER_ID, in setMessageColumns()
54 BluetoothMapContract.MessageColumns.FLAG_READ, in setMessageColumns()
55 BluetoothMapContract.MessageColumns.MESSAGE_SIZE, in setMessageColumns()
56 BluetoothMapContract.MessageColumns.FROM_LIST, in setMessageColumns()
57 BluetoothMapContract.MessageColumns.TO_LIST, in setMessageColumns()
58 BluetoothMapContract.MessageColumns.FLAG_ATTACHMENT, in setMessageColumns()
59 BluetoothMapContract.MessageColumns.ATTACHMENT_SIZE, in setMessageColumns()
[all …]
DBluetoothMapContentTest.java883 BluetoothMapContract.MessageColumns.RECEPTION_STATE, in getEmailMessage_withFileNotFoundExceptionForEmailBodyAccess()
884 BluetoothMapContract.MessageColumns.FLAG_READ, in getEmailMessage_withFileNotFoundExceptionForEmailBodyAccess()
885 BluetoothMapContract.MessageColumns.FOLDER_ID, in getEmailMessage_withFileNotFoundExceptionForEmailBodyAccess()
886 BluetoothMapContract.MessageColumns.TO_LIST, in getEmailMessage_withFileNotFoundExceptionForEmailBodyAccess()
887 BluetoothMapContract.MessageColumns.FROM_LIST in getEmailMessage_withFileNotFoundExceptionForEmailBodyAccess()
936 BluetoothMapContract.MessageColumns.RECEPTION_STATE, in getEmailMessage_withNullPointerExceptionForEmailBodyAccess()
937 BluetoothMapContract.MessageColumns.FLAG_READ, in getEmailMessage_withNullPointerExceptionForEmailBodyAccess()
938 BluetoothMapContract.MessageColumns.FOLDER_ID, in getEmailMessage_withNullPointerExceptionForEmailBodyAccess()
939 BluetoothMapContract.MessageColumns.TO_LIST, in getEmailMessage_withNullPointerExceptionForEmailBodyAccess()
940 BluetoothMapContract.MessageColumns.FROM_LIST in getEmailMessage_withNullPointerExceptionForEmailBodyAccess()
[all …]
DBluetoothMapContentObserverTest.java51 import com.android.bluetooth.mapapi.BluetoothMapContract.MessageColumns;
987 MessageColumns._ID, MessageColumns.FOLDER_ID, MessageColumns.FLAG_READ in initMsgList_withMsg()
1082 BluetoothMapContract.MessageColumns._ID, in handleMsgListChangesMsg_withNonExistingMessage_andVersion11()
1083 BluetoothMapContract.MessageColumns.FOLDER_ID, in handleMsgListChangesMsg_withNonExistingMessage_andVersion11()
1084 BluetoothMapContract.MessageColumns.FLAG_READ, in handleMsgListChangesMsg_withNonExistingMessage_andVersion11()
1085 BluetoothMapContract.MessageColumns.DATE, in handleMsgListChangesMsg_withNonExistingMessage_andVersion11()
1086 BluetoothMapContract.MessageColumns.SUBJECT, in handleMsgListChangesMsg_withNonExistingMessage_andVersion11()
1087 BluetoothMapContract.MessageColumns.FROM_LIST, in handleMsgListChangesMsg_withNonExistingMessage_andVersion11()
1088 BluetoothMapContract.MessageColumns.FLAG_HIGH_PRIORITY in handleMsgListChangesMsg_withNonExistingMessage_andVersion11()
1130 BluetoothMapContract.MessageColumns._ID, in handleMsgListChangesMsg_withNonExistingMessage_andVersion12()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationMessageData.java26 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns;
627 + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns.CONVERSATION_ID + "=?)" in getConversationMessagesQuerySql()
635 + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns.CONVERSATION_ID + "=?)" in getConversationMessageIdsQuerySql()
642 + "(" + DatabaseHelper.MessageColumns.STATUS + " in (" in getNotificationQuerySql()
646 + DatabaseHelper.MessageColumns.SEEN + " = 0)" in getNotificationQuerySql()
654 + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns.CONVERSATION_ID + "=?" in getWearableQuerySql()
656 + DatabaseHelper.MessageColumns.STATUS + " IN (" in getWearableQuerySql()
707 DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns._ID
709 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.CONVERSATION_ID
711 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.SENDER_PARTICIPANT_ID
[all …]
DMessageData.java28 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 …]
DConversationListItemData.java26 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/
DMarkAsReadAction.java27 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()
DProcessPendingMessagesAction.java30 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns;
330 DatabaseHelper.MessageColumns.STATUS + " IN (?, ?) AND " in findNextMessageToSend()
331 + DatabaseHelper.MessageColumns.SELF_PARTICIPANT_ID + " =? ", in findNextMessageToSend()
341 DatabaseHelper.MessageColumns.STATUS + " IN (?, ?) AND " in findNextMessageToSend()
342 + DatabaseHelper.MessageColumns.SELF_PARTICIPANT_ID + " =? ", in findNextMessageToSend()
350 DatabaseHelper.MessageColumns.RECEIVED_TIMESTAMP + " ASC"); in findNextMessageToSend()
354 values.put(DatabaseHelper.MessageColumns.STATUS, in findNextMessageToSend()
415 DatabaseHelper.MessageColumns.STATUS + " IN (?, ?) AND " in findNextMessageToDownload()
416 + DatabaseHelper.MessageColumns.SELF_PARTICIPANT_ID + " =?", in findNextMessageToDownload()
426 DatabaseHelper.MessageColumns.STATUS + " IN (?, ?) AND " in findNextMessageToDownload()
[all …]
DMarkAsSeenAction.java27 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()
DFixupMessageStatusOnStartupAction.java61 values.put(DatabaseHelper.MessageColumns.STATUS, in executeAction()
64 DatabaseHelper.MessageColumns.STATUS + " IN (?, ?)", in executeAction()
71 values.put(DatabaseHelper.MessageColumns.STATUS, in executeAction()
74 DatabaseHelper.MessageColumns.STATUS + " IN (?, ?)", in executeAction()
DSyncCursorPair.java31 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 …]
DResendMessageAction.java25 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns;
82 values.put(MessageColumns.STATUS, MessageData.BUGLE_STATUS_OUTGOING_YET_TO_SEND); in executeAction()
83 values.put(MessageColumns.RETRY_START_TIMESTAMP, timestamp); in executeAction()
DSendMessageAction.java31 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns;
274 values.put(MessageColumns.SMS_MESSAGE_URI, updatedMessageUri.toString()); in updateMessageUri()
400 values.put(MessageColumns.STATUS, message.getStatus()); in updateMessageAndStatus()
405 values.put(MessageColumns.SEEN, 0); in updateMessageAndStatus()
407 values.put(MessageColumns.RECEIVED_TIMESTAMP, message.getReceivedTimeStamp()); in updateMessageAndStatus()
408 values.put(MessageColumns.RAW_TELEPHONY_STATUS, message.getRawTelephonyStatus()); in updateMessageAndStatus()
DDeleteConversationAction.java32 import com.android.messaging.datamodel.DatabaseHelper.MessageColumns;
146 new String[] { MessageColumns.SMS_MESSAGE_URI }, in deleteConversationMessagesFromTelephony()
147 MessageColumns.CONVERSATION_ID + "=?", in deleteConversationMessagesFromTelephony()
DRedownloadMmsAction.java87 values.put(DatabaseHelper.MessageColumns.STATUS, in executeAction()
89 values.put(DatabaseHelper.MessageColumns.RETRY_START_TIMESTAMP, timestamp); in executeAction()
DProcessDeliveryReportAction.java78 values.put(DatabaseHelper.MessageColumns.STATUS, bugleStatus); in executeAction()
79 values.put(DatabaseHelper.MessageColumns.SENT_TIMESTAMP, in executeAction()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapContent.java338 mMessageColId = c.getColumnIndex(BluetoothMapContract.MessageColumns._ID); in setMessageColumns()
339 mMessageColDate = c.getColumnIndex(BluetoothMapContract.MessageColumns.DATE); in setMessageColumns()
340 mMessageColSubject = c.getColumnIndex(BluetoothMapContract.MessageColumns.SUBJECT); in setMessageColumns()
341 mMessageColFolder = c.getColumnIndex(BluetoothMapContract.MessageColumns.FOLDER_ID); in setMessageColumns()
342 mMessageColRead = c.getColumnIndex(BluetoothMapContract.MessageColumns.FLAG_READ); in setMessageColumns()
343 mMessageColSize = c.getColumnIndex(BluetoothMapContract.MessageColumns.MESSAGE_SIZE); in setMessageColumns()
345 c.getColumnIndex(BluetoothMapContract.MessageColumns.FROM_LIST); in setMessageColumns()
346 mMessageColToAddress = c.getColumnIndex(BluetoothMapContract.MessageColumns.TO_LIST); in setMessageColumns()
348 c.getColumnIndex(BluetoothMapContract.MessageColumns.FLAG_ATTACHMENT); in setMessageColumns()
350 c.getColumnIndex(BluetoothMapContract.MessageColumns.ATTACHMENT_SIZE); in setMessageColumns()
[all …]
DBluetoothMapContentObserver.java64 import com.android.bluetooth.mapapi.BluetoothMapContract.MessageColumns;
230 BluetoothMapContract.MessageColumns._ID,
231 BluetoothMapContract.MessageColumns.FOLDER_ID,
232 BluetoothMapContract.MessageColumns.FLAG_READ
237 BluetoothMapContract.MessageColumns._ID,
238 BluetoothMapContract.MessageColumns.FOLDER_ID,
239 BluetoothMapContract.MessageColumns.FLAG_READ,
240 BluetoothMapContract.MessageColumns.DATE,
241 BluetoothMapContract.MessageColumns.SUBJECT,
242 BluetoothMapContract.MessageColumns.FROM_LIST,
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapapi/
DBluetoothMapEmailProviderTest.java169 values.put(BluetoothMapContract.MessageColumns.FOLDER_ID, Long.parseLong(FOLDER_ID)); in insert_whenTableNameIsWrong()
185 values.put(BluetoothMapContract.MessageColumns.FOLDER_ID, Long.parseLong(FOLDER_ID)); in insert_success()
354 values.put(BluetoothMapContract.MessageColumns._ID, MESSAGE_ID); in update_forMessageUri_success()
355 values.put(BluetoothMapContract.MessageColumns.FOLDER_ID, Long.parseLong(FOLDER_ID)); in update_forMessageUri_success()
356 values.put(BluetoothMapContract.MessageColumns.FLAG_READ, flagRead); in update_forMessageUri_success()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DTestDataFactory.java30 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()

12