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.java35 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
65 ParticipantColumns._ID,
66 ParticipantColumns.SUB_ID,
67 ParticipantColumns.SIM_SLOT_ID,
68 ParticipantColumns.NORMALIZED_DESTINATION,
69 ParticipantColumns.SEND_DESTINATION,
70 ParticipantColumns.DISPLAY_DESTINATION,
71 ParticipantColumns.FULL_NAME,
72 ParticipantColumns.FIRST_NAME,
73 ParticipantColumns.PROFILE_PHOTO_URI,
[all …]
DConversationMessageData.java28 import com.android.messaging.datamodel.DatabaseHelper.ParticipantColumns;
756 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.FULL_NAME
758 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.FIRST_NAME
760 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.DISPLAY_DESTINATION
762 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.NORMALIZED_DESTINATION
764 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.PROFILE_PHOTO_URI
766 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.CONTACT_ID
768 + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns.LOOKUP_KEY
778 + '=' + DatabaseHelper.PARTICIPANTS_TABLE + '.' + ParticipantColumns._ID + ")"
828 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.java297 + PARTICIPANTS_TABLE + "(" + ParticipantColumns._ID + ") ON DELETE SET NULL "
299 + PARTICIPANTS_TABLE + "(" + ParticipantColumns._ID + ") ON DELETE SET NULL "
388 public static class ParticipantColumns implements BaseColumns { class in DatabaseHelper
447 + ParticipantColumns._ID + " INTEGER PRIMARY KEY AUTOINCREMENT,"
448 + ParticipantColumns.SUB_ID + " INT DEFAULT("
450 + ParticipantColumns.SIM_SLOT_ID + " INT DEFAULT("
452 + ParticipantColumns.NORMALIZED_DESTINATION + " TEXT,"
453 + ParticipantColumns.SEND_DESTINATION + " TEXT,"
454 + ParticipantColumns.DISPLAY_DESTINATION + " TEXT,"
455 + 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 …]
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;
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 …]
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;
86 values.put(ParticipantColumns.NORMALIZED_DESTINATION, normalizedDestination); in addParticipant()
87 values.put(ParticipantColumns.CONTACT_ID, contactId); in addParticipant()
88 values.put(ParticipantColumns.FULL_NAME, name); in addParticipant()
89 values.put(ParticipantColumns.PROFILE_PHOTO_URI, photoUrl); in addParticipant()
108 final String selection = ParticipantColumns.NORMALIZED_DESTINATION + "=?"; in verifyParticipant()