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.java63 public static final String PARTS_TABLE = "parts"; field in DatabaseHelper
346 "CREATE TABLE " + PARTS_TABLE + "("
365 "CREATE TRIGGER " + PARTS_TABLE + "_TRIGGER" + " AFTER INSERT ON " + PARTS_TABLE
367 + " BEGIN UPDATE " + PARTS_TABLE
371 + " WHERE " + PARTS_TABLE + "." + PartColumns._ID + "=" + "NEW." + PartColumns._ID
377 + " FOR EACH ROW BEGIN UPDATE " + PARTS_TABLE + " SET " + PartColumns.TIMESTAMP
378 + " = NEW." + MessageColumns.RECEIVED_TIMESTAMP + " WHERE " + PARTS_TABLE + "."
384 "CREATE INDEX index_" + PARTS_TABLE + "_message_id ON " + PARTS_TABLE + "("
511 + PARTS_TABLE + '.' + PartColumns._ID
513 + 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()
1025 cursor = dbWrapper.query(DatabaseHelper.PARTS_TABLE, in readMessagePartData()
1098 cursor = dbWrapper.query(DatabaseHelper.PARTS_TABLE, in readMessagePartsData()
1230 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.java687 return DatabaseHelper.PARTS_TABLE + '.' + column; in makePartsTableColumnString()
702 "count(" + DatabaseHelper.PARTS_TABLE + '.' + PartColumns._ID + ")";
773 + " LEFT JOIN " + DatabaseHelper.PARTS_TABLE
775 + "=" + DatabaseHelper.PARTS_TABLE + "." + PartColumns.MESSAGE_ID + ") "
801 " GROUP BY " + DatabaseHelper.PARTS_TABLE + '.' + PartColumns.MESSAGE_ID
806 " GROUP BY " + DatabaseHelper.PARTS_TABLE + '.' + PartColumns.MESSAGE_ID
DMessagePartData.java94 "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()