Home
last modified time | relevance | path

Searched refs:PARTS_TABLE (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseHelper.java60 public static final String PARTS_TABLE = "parts"; field in DatabaseHelper
339 "CREATE TABLE " + PARTS_TABLE + "("
358 "CREATE TRIGGER " + PARTS_TABLE + "_TRIGGER" + " AFTER INSERT ON " + PARTS_TABLE
360 + " BEGIN UPDATE " + PARTS_TABLE
364 + " WHERE " + PARTS_TABLE + "." + PartColumns._ID + "=" + "NEW." + PartColumns._ID
370 + " FOR EACH ROW BEGIN UPDATE " + PARTS_TABLE + " SET " + PartColumns.TIMESTAMP
371 + " = NEW." + MessageColumns.RECEIVED_TIMESTAMP + " WHERE " + PARTS_TABLE + "."
377 "CREATE INDEX index_" + PARTS_TABLE + "_message_id ON " + PARTS_TABLE + "("
504 + PARTS_TABLE + '.' + PartColumns._ID
506 + PARTS_TABLE + '.' + PartColumns.MESSAGE_ID
[all …]
DConversationImagePartsView.java41 + DatabaseHelper.PARTS_TABLE + '.' + PartColumns.CONTENT_URI
45 + DatabaseHelper.PARTS_TABLE + '.' + PartColumns.CONTENT_URI
49 + DatabaseHelper.PARTS_TABLE + '.' + PartColumns.CONTENT_TYPE
61 + " FROM " + DatabaseHelper.MESSAGES_TABLE + " LEFT JOIN " + DatabaseHelper.PARTS_TABLE
63 + "=" + DatabaseHelper.PARTS_TABLE + "." + PartColumns.MESSAGE_ID + ") "
69 + " WHERE " + DatabaseHelper.PARTS_TABLE + "." + PartColumns.CONTENT_TYPE
74 + DatabaseHelper.PARTS_TABLE + '.' + PartColumns._ID + " ASC";
DBugleDatabaseOperations.java807 return updateRowIfExists(dbWrapper, DatabaseHelper.PARTS_TABLE, PartColumns._ID, in updatePartRowIfExists()
1020 cursor = dbWrapper.query(DatabaseHelper.PARTS_TABLE, in readMessagePartData()
1093 cursor = dbWrapper.query(DatabaseHelper.PARTS_TABLE, in readMessagePartsData()
1225 final int cnt = dbWrapper.delete(DatabaseHelper.PARTS_TABLE, in deletePartsForMessage()
DMessagingContentProvider.java65 static final Uri PARTS_URI = Uri.parse(CONTENT_AUTHORITY + DatabaseHelper.PARTS_TABLE);
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationMessageData.java685 return DatabaseHelper.PARTS_TABLE + '.' + column; in makePartsTableColumnString()
700 "count(" + DatabaseHelper.PARTS_TABLE + '.' + PartColumns._ID + ")";
771 + " LEFT JOIN " + DatabaseHelper.PARTS_TABLE
773 + "=" + DatabaseHelper.PARTS_TABLE + "." + PartColumns.MESSAGE_ID + ") "
799 " GROUP BY " + DatabaseHelper.PARTS_TABLE + '.' + PartColumns.MESSAGE_ID
804 " GROUP BY " + DatabaseHelper.PARTS_TABLE + '.' + PartColumns.MESSAGE_ID
DMessagePartData.java81 "INSERT INTO " + DatabaseHelper.PARTS_TABLE + " ( "
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DUpdateMessagePartSizeAction.java72 BugleDatabaseOperations.updateRowIfExists(db, DatabaseHelper.PARTS_TABLE, in executeAction()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DTestDataFactory.java321 db.insert(DatabaseHelper.PARTS_TABLE, null, partValues); in createTestData()