Home
last modified time | relevance | path

Searched refs:MESSAGES_TABLE (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationMessageData.java625 + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns.CONVERSATION_ID + "=?)" in getConversationMessagesQuerySql()
633 + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns.CONVERSATION_ID + "=?)" in getConversationMessageIdsQuerySql()
652 + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns.CONVERSATION_ID + "=?" in getWearableQuerySql()
705 DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns._ID
707 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.CONVERSATION_ID
709 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.SENDER_PARTICIPANT_ID
728 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.SENT_TIMESTAMP
730 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.RECEIVED_TIMESTAMP
732 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.SEEN
734 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.READ
[all …]
DConversationListItemData.java286 + 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
352 + " LEFT JOIN " + DatabaseHelper.MESSAGES_TABLE + " ON ("
354 + '=' + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns._ID + ") "
DMessageData.java87 "INSERT INTO " + DatabaseHelper.MESSAGES_TABLE + " ( "
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DConversationImagePartsView.java39 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.CONVERSATION_ID
56 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.RECEIVED_TIMESTAMP
58 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.STATUS
61 + " FROM " + DatabaseHelper.MESSAGES_TABLE + " LEFT JOIN " + DatabaseHelper.PARTS_TABLE
62 + " ON (" + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns._ID
65 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.SENDER_PARTICIPANT_ID
73 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.RECEIVED_TIMESTAMP + " ASC, "
DDatabaseHelper.java59 public static final String MESSAGES_TABLE = "messages"; field in DatabaseHelper
267 "CREATE TABLE " + MESSAGES_TABLE + " ("
297 "CREATE INDEX index_" + MESSAGES_TABLE + "_sort ON " + MESSAGES_TABLE + "("
303 "CREATE INDEX index_" + MESSAGES_TABLE + "_status_seen ON " + MESSAGES_TABLE + "("
352 + MESSAGES_TABLE + "(" + MessageColumns._ID + ") ON DELETE CASCADE "
362 + " (SELECT received_timestamp FROM " + MESSAGES_TABLE + " WHERE " + MESSAGES_TABLE
368 "CREATE TRIGGER " + MESSAGES_TABLE + "_TRIGGER" + " AFTER UPDATE OF "
369 + MessageColumns.RECEIVED_TIMESTAMP + " ON " + MESSAGES_TABLE
518 + MESSAGES_TABLE + '.' + MessageColumns.CONVERSATION_ID
520 + " FROM " + MESSAGES_TABLE + " LEFT JOIN " + PARTS_TABLE + " ON ("
[all …]
DBugleDatabaseOperations.java479 dbWrapper.delete(DatabaseHelper.MESSAGES_TABLE, in deleteConversation()
484 dbWrapper.delete(DatabaseHelper.MESSAGES_TABLE, in deleteConversation()
495 dbWrapper.delete(DatabaseHelper.MESSAGES_TABLE, in deleteConversation()
503 final long count = dbWrapper.queryNumEntries(DatabaseHelper.MESSAGES_TABLE, in deleteConversation()
540 DatabaseHelper.MESSAGES_TABLE, in getConversationMaxTimestamp()
725 cursor = dbWrapper.query(DatabaseHelper.MESSAGES_TABLE, in updateConversationDraftSnippetAndPreviewInTransaction()
791 return updateRowIfExists(dbWrapper, DatabaseHelper.MESSAGES_TABLE, MessageColumns._ID, in updateMessageRowIfExists()
1042 cursor = dbWrapper.query(DatabaseHelper.MESSAGES_TABLE, in readMessageData()
1065 cursor = dbWrapper.query(DatabaseHelper.MESSAGES_TABLE, in readMessageData()
1248 count = dbWrapper.delete(DatabaseHelper.MESSAGES_TABLE, in deleteMessage()
[all …]
DMessageNotificationState.java1185 final Cursor messageDataCursor = db.query(DatabaseHelper.MESSAGES_TABLE, in checkFailedMessages()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DFixupMessageStatusOnStartupAction.java63 downloadFailedCnt += db.update(DatabaseHelper.MESSAGES_TABLE, values, in executeAction()
74 sendFailedCnt = db.update(DatabaseHelper.MESSAGES_TABLE, values, in executeAction()
DProcessPendingMessagesAction.java306 sending = db.query(DatabaseHelper.MESSAGES_TABLE, in findNextMessageToSend()
320 cursor = db.query(DatabaseHelper.MESSAGES_TABLE, in findNextMessageToSend()
399 downloadingCnt = (int) db.queryNumEntries(DatabaseHelper.MESSAGES_TABLE, in findNextMessageToDownload()
407 cursor = db.query(DatabaseHelper.MESSAGES_TABLE, in findNextMessageToDownload()
DMarkAsSeenAction.java83 final int count = db.update(DatabaseHelper.MESSAGES_TABLE, values, in executeAction()
91 db.update(DatabaseHelper.MESSAGES_TABLE, values, in executeAction()
DMarkAsReadAction.java74 final int count = db.update(DatabaseHelper.MESSAGES_TABLE, values, in executeAction()
DDeleteConversationAction.java145 cursor = db.query(DatabaseHelper.MESSAGES_TABLE, in deleteConversationMessagesFromTelephony()
DSyncCursorPair.java382 DatabaseHelper.MESSAGES_TABLE, in LocalCursorIterator()
657 DatabaseHelper.MESSAGES_TABLE, in isSynchronized()
DSyncMessageBatch.java96 batchDelete(db, DatabaseHelper.MESSAGES_TABLE, MessageColumns._ID, in updateLocalDatabase()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DTestDataFactory.java313 … final long messageId = db.insert(DatabaseHelper.MESSAGES_TABLE, null, messageValues); in createTestData()