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.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.java59 public static final String MESSAGES_TABLE = "messages"; field in DatabaseHelper
271 "CREATE TABLE " + MESSAGES_TABLE + " ("
301 "CREATE INDEX index_" + MESSAGES_TABLE + "_sort ON " + MESSAGES_TABLE + "("
307 "CREATE INDEX index_" + MESSAGES_TABLE + "_status_seen ON " + MESSAGES_TABLE + "("
356 + MESSAGES_TABLE + "(" + MessageColumns._ID + ") ON DELETE CASCADE "
366 + " (SELECT received_timestamp FROM " + MESSAGES_TABLE + " WHERE " + MESSAGES_TABLE
372 "CREATE TRIGGER " + MESSAGES_TABLE + "_TRIGGER" + " AFTER UPDATE OF "
373 + MessageColumns.RECEIVED_TIMESTAMP + " ON " + MESSAGES_TABLE
522 + MESSAGES_TABLE + '.' + MessageColumns.CONVERSATION_ID
524 + " 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.java1188 final Cursor messageDataCursor = db.query(DatabaseHelper.MESSAGES_TABLE, in checkFailedMessages()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessPendingMessagesAction.java346 String[] projection = prefixProjectionWithTable(DatabaseHelper.MESSAGES_TABLE, in findNextMessageToSend()
349 prefixColumnWithTable(DatabaseHelper.MESSAGES_TABLE, in findNextMessageToSend()
357 sending = db.query(DatabaseHelper.MESSAGES_TABLE + "," in findNextMessageToSend()
374 cursor = db.query(DatabaseHelper.MESSAGES_TABLE + "," in findNextMessageToSend()
455 String[] projection = prefixProjectionWithTable(DatabaseHelper.MESSAGES_TABLE, in findNextMessageToDownload()
458 prefixColumnWithTable(DatabaseHelper.MESSAGES_TABLE, in findNextMessageToDownload()
466 downloadingCnt = (int) db.queryNumEntries(DatabaseHelper.MESSAGES_TABLE in findNextMessageToDownload()
477 cursor = db.query(DatabaseHelper.MESSAGES_TABLE + "," in findNextMessageToDownload()
DFixupMessageStatusOnStartupAction.java63 downloadFailedCnt += db.update(DatabaseHelper.MESSAGES_TABLE, values, in executeAction()
74 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()
DSyncCursorPair.java382 DatabaseHelper.MESSAGES_TABLE, in LocalCursorIterator()
657 DatabaseHelper.MESSAGES_TABLE, in isSynchronized()
DMarkAsReadAction.java74 final int count = db.update(DatabaseHelper.MESSAGES_TABLE, values, in executeAction()
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()