Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DParticipantData.java33 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
59 ParticipantColumns._ID,
60 ParticipantColumns.SUB_ID,
61 ParticipantColumns.SIM_SLOT_ID,
62 ParticipantColumns.NORMALIZED_DESTINATION,
63 ParticipantColumns.SEND_DESTINATION,
64 ParticipantColumns.DISPLAY_DESTINATION,
65 ParticipantColumns.FULL_NAME,
66 ParticipantColumns.FIRST_NAME,
67 ParticipantColumns.PROFILE_PHOTO_URI,
[all …]
DConversationMessageData.java28 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
754 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.FULL_NAME
756 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.FIRST_NAME
758 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.DISPLAY_DESTINATION
760 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.NORMALIZED_DESTINATION
762 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.PROFILE_PHOTO_URI
764 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.CONTACT_ID
766 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.LOOKUP_KEY
776 + '=' + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns._ID + ")"
826 static final String SENDER_FULL_NAME = ParticipantColumns.FULL_NAME;
[all …]
DConversationListData.java28 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
74 ParticipantColumns._ID,
75 ParticipantColumns.NORMALIZED_DESTINATION,
94 ParticipantColumns.BLOCKED + "=1", null, null); in onCreateLoader()
DConversationListItemData.java27 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
346 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.FIRST_NAME
348 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.DISPLAY_DESTINATION
356 + '=' + DatabaseHelper.PARTICIPANTS_TABLE + '.' + DatabaseHelper.ParticipantColumns._ID
DBlockedParticipantsData.java27 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
62 ParticipantColumns.BLOCKED + "=1", null, null); in onCreateLoader()
DSettingsData.java28 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
141 ParticipantColumns.SUB_ID + " <> ?", in onCreateLoader()
DConversationData.java36 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
414 ParticipantColumns.SUB_ID + " <> ?", in onCreateLoader()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseHelper.java294 + PARTICIPANTS_TABLE + "(" + ParticipantColumns._ID + ") ON DELETE SET NULL "
296 + PARTICIPANTS_TABLE + "(" + ParticipantColumns._ID + ") ON DELETE SET NULL "
385 public static class ParticipantColumns implements BaseColumns { class in DatabaseHelper
444 + ParticipantColumns._ID + " INTEGER PRIMARY KEY AUTOINCREMENT,"
445 + ParticipantColumns.SUB_ID + " INT DEFAULT("
447 + ParticipantColumns.SIM_SLOT_ID + " INT DEFAULT("
449 + ParticipantColumns.NORMALIZED_DESTINATION + " TEXT,"
450 + ParticipantColumns.SEND_DESTINATION + " TEXT,"
451 + ParticipantColumns.DISPLAY_DESTINATION + " TEXT,"
452 + ParticipantColumns.FULL_NAME + " TEXT,"
[all …]
DParticipantRefresh.java32 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
250 selection = ParticipantColumns.CONTACT_ID + "=?"; in refreshParticipants()
308 private static final String SELF_PARTICIPANTS_CLAUSE = ParticipantColumns.SUB_ID
339 + ParticipantColumns.SIM_SLOT_ID + " = %d, "
340 + ParticipantColumns.SUBSCRIPTION_COLOR + " = %d, "
341 + ParticipantColumns.SUBSCRIPTION_NAME + " = %s "
397 ParticipantColumns.SUB_ID + " = " + subId)); in refreshSelfParticipantList()
401 ParticipantColumns.SUB_ID + " NOT IN (" + in refreshSelfParticipantList()
602 values.put(ParticipantColumns.NORMALIZED_DESTINATION, in updateParticipant()
604 values.put(ParticipantColumns.DISPLAY_DESTINATION, in updateParticipant()
[all …]
DBugleDatabaseOperations.java35 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
320 return isBlockedParticipant(db, destination, ParticipantColumns.NORMALIZED_DESTINATION); in isBlockedDestination()
324 return isBlockedParticipant(db, participantId, ParticipantColumns._ID); in isBlockedParticipant()
332 new String[] { ParticipantColumns.BLOCKED }, in isBlockedParticipant()
333 column + "=? AND " + ParticipantColumns.SUB_ID + "=?", in isBlockedParticipant()
695 final String selection = ParticipantColumns._ID + "=? AND " + in addConversationSelfIdToContentValues()
696 ParticipantColumns.SIM_SLOT_ID + "<>?"; in addConversationSelfIdToContentValues()
700 new String[] { ParticipantColumns._ID }, selection, in addConversationSelfIdToContentValues()
953 ParticipantColumns._ID + " =?", in getExistingParticipant()
990 ParticipantColumns._ID + " IN ( " + "SELECT " in getParticipantsForConversation()
[all …]
DConversationImagePartsView.java25 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
43 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.FULL_NAME
54 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.DISPLAY_DESTINATION
66 + '=' + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns._ID + ")"
84 static final String DISPLAY_DESTINATION = ParticipantColumns.DISPLAY_DESTINATION;
DMessagingContentProvider.java33 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
78 static class ConversationParticipantsQueryColumns extends ParticipantColumns {
298 queryBuilder.appendWhere(ParticipantColumns._ID + " IN ( " + "SELECT " in query()
300 + ParticipantColumns._ID in query()
303 + " =? UNION SELECT " + ParticipantColumns._ID + " FROM " in query()
305 + ParticipantColumns.SUB_ID + " != " in query()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DTestDataFactory.java32 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
184 ParticipantColumns._ID, in getConversationParticipantsCursor()
185 ParticipantColumns.SUB_ID, in getConversationParticipantsCursor()
186 ParticipantColumns.NORMALIZED_DESTINATION, in getConversationParticipantsCursor()
187 ParticipantColumns.SEND_DESTINATION, in getConversationParticipantsCursor()
188 ParticipantColumns.FULL_NAME, in getConversationParticipantsCursor()
189 ParticipantColumns.FIRST_NAME, in getConversationParticipantsCursor()
190 ParticipantColumns.PROFILE_PHOTO_URI, in getConversationParticipantsCursor()
DConversationParticipantsDataTest.java22 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
37 ParticipantColumns.FIRST_NAME, 1) ); in testBindParticipants()
39 ParticipantColumns.SEND_DESTINATION, 1)); in testBindParticipants()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DParticipantRefreshTest.java30 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
81 values.put(ParticipantColumns.NORMALIZED_DESTINATION, normalizedDestination); in addParticipant()
82 values.put(ParticipantColumns.CONTACT_ID, contactId); in addParticipant()
83 values.put(ParticipantColumns.FULL_NAME, name); in addParticipant()
84 values.put(ParticipantColumns.PROFILE_PHOTO_URI, photoUrl); in addParticipant()
103 final String selection = ParticipantColumns.NORMALIZED_DESTINATION + "=?"; in verifyParticipant()