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.java627 + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns.CONVERSATION_ID + "=?)" in getConversationMessagesQuerySql()
635 + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns.CONVERSATION_ID + "=?)" in getConversationMessageIdsQuerySql()
654 + DatabaseHelper.MESSAGES_TABLE + "." + MessageColumns.CONVERSATION_ID + "=?" in getWearableQuerySql()
707 DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns._ID
709 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.CONVERSATION_ID
711 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.SENDER_PARTICIPANT_ID
730 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.SENT_TIMESTAMP
732 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.RECEIVED_TIMESTAMP
734 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.SEEN
736 + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns.READ
[all …]
DConversationListItemData.java301 + 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
369 + " LEFT JOIN " + DatabaseHelper.MESSAGES_TABLE + " ON ("
371 + '=' + DatabaseHelper.MESSAGES_TABLE + '.' + MessageColumns._ID + ") "
DMessageData.java87 "INSERT INTO " + DatabaseHelper.MESSAGES_TABLE + " ( "
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseHelper.java62 public static final String MESSAGES_TABLE = "messages"; field in DatabaseHelper
274 "CREATE TABLE " + MESSAGES_TABLE + " ("
304 "CREATE INDEX index_" + MESSAGES_TABLE + "_sort ON " + MESSAGES_TABLE + "("
310 "CREATE INDEX index_" + MESSAGES_TABLE + "_status_seen ON " + MESSAGES_TABLE + "("
359 + MESSAGES_TABLE + "(" + MessageColumns._ID + ") ON DELETE CASCADE "
369 + " (SELECT received_timestamp FROM " + MESSAGES_TABLE + " WHERE " + MESSAGES_TABLE
375 "CREATE TRIGGER " + MESSAGES_TABLE + "_TRIGGER" + " AFTER UPDATE OF "
376 + MessageColumns.RECEIVED_TIMESTAMP + " ON " + MESSAGES_TABLE
525 + MESSAGES_TABLE + '.' + MessageColumns.CONVERSATION_ID
527 + " FROM " + MESSAGES_TABLE + " LEFT JOIN " + PARTS_TABLE + " ON ("
[all …]
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, "
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()
1047 cursor = dbWrapper.query(DatabaseHelper.MESSAGES_TABLE, in readMessageData()
1070 cursor = dbWrapper.query(DatabaseHelper.MESSAGES_TABLE, in readMessageData()
1253 count = dbWrapper.delete(DatabaseHelper.MESSAGES_TABLE, in deleteMessage()
[all …]
DMessageNotificationState.java1190 final Cursor messageDataCursor = db.query(DatabaseHelper.MESSAGES_TABLE, in checkFailedMessages()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessPendingMessagesAction.java329 sendingCnt = (int) db.queryNumEntries(DatabaseHelper.MESSAGES_TABLE, in findNextMessageToSend()
339 cursor = db.query(DatabaseHelper.MESSAGES_TABLE, in findNextMessageToSend()
414 downloadingCnt = (int) db.queryNumEntries(DatabaseHelper.MESSAGES_TABLE, in findNextMessageToDownload()
424 cursor = db.query(DatabaseHelper.MESSAGES_TABLE, in findNextMessageToDownload()
DFixupMessageStatusOnStartupAction.java63 downloadFailedCnt = db.update(DatabaseHelper.MESSAGES_TABLE, values, in executeAction()
73 sendFailedCnt = db.update(DatabaseHelper.MESSAGES_TABLE, values, in executeAction()
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()
DSyncCursorPair.java382 DatabaseHelper.MESSAGES_TABLE, in LocalCursorIterator()
657 DatabaseHelper.MESSAGES_TABLE, in isSynchronized()
DDeleteConversationAction.java145 cursor = db.query(DatabaseHelper.MESSAGES_TABLE, in deleteConversationMessagesFromTelephony()
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()