Home
last modified time | relevance | path

Searched refs:ConversationColumns (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationListItemData.java25 import com.android.messaging.datamodel.DatabaseHelper.ConversationColumns;
293 DatabaseHelper.CONVERSATIONS_TABLE + '.' + ConversationColumns._ID
295 + DatabaseHelper.CONVERSATIONS_TABLE + '.' + ConversationColumns.NAME
297 + DatabaseHelper.CONVERSATIONS_TABLE + '.' + ConversationColumns.CURRENT_SELF_ID
299 + DatabaseHelper.CONVERSATIONS_TABLE + '.' + ConversationColumns.ARCHIVE_STATUS
303 + DatabaseHelper.CONVERSATIONS_TABLE + '.' + ConversationColumns.ICON
305 + DatabaseHelper.CONVERSATIONS_TABLE + '.' + ConversationColumns.PARTICIPANT_CONTACT_ID
307 + DatabaseHelper.CONVERSATIONS_TABLE + '.' + ConversationColumns.PARTICIPANT_LOOKUP_KEY
310 + ConversationColumns.OTHER_PARTICIPANT_NORMALIZED_DESTINATION
312 + DatabaseHelper.CONVERSATIONS_TABLE + '.' + ConversationColumns.SORT_TIMESTAMP
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseHelper.java68 public static class ConversationColumns implements BaseColumns { class in DatabaseHelper
160 + ConversationColumns._ID + " INTEGER PRIMARY KEY AUTOINCREMENT, "
162 + ConversationColumns.SMS_THREAD_ID + " INT DEFAULT(0), "
163 + ConversationColumns.NAME + " TEXT, "
164 + ConversationColumns.LATEST_MESSAGE_ID + " INT, "
165 + ConversationColumns.SNIPPET_TEXT + " TEXT, "
166 + ConversationColumns.SUBJECT_TEXT + " TEXT, "
167 + ConversationColumns.PREVIEW_URI + " TEXT, "
168 + ConversationColumns.PREVIEW_CONTENT_TYPE + " TEXT, "
169 + ConversationColumns.SHOW_DRAFT + " INT DEFAULT(0), "
[all …]
DBugleDatabaseOperations.java31 import com.android.messaging.datamodel.DatabaseHelper.ConversationColumns;
263 cursor = dbWrapper.rawQuery("SELECT " + ConversationColumns._ID in getExistingConversation()
265 + " WHERE " + ConversationColumns.SMS_THREAD_ID + "=" + threadId, in getExistingConversation()
297 new String[] { ConversationColumns.SMS_THREAD_ID }, in getThreadId()
298 ConversationColumns._ID + " =?", in getThreadId()
383 values.put(ConversationColumns.SMS_THREAD_ID, threadId); in createConversationInTransaction()
385 values.put(ConversationColumns.SORT_TIMESTAMP, 0L); in createConversationInTransaction()
386 values.put(ConversationColumns.CURRENT_SELF_ID, selfId); in createConversationInTransaction()
387 values.put(ConversationColumns.PARTICIPANT_COUNT, participants.size()); in createConversationInTransaction()
388 values.put(ConversationColumns.INCLUDE_EMAIL_ADDRESS, (hasEmailAddress ? 1 : 0)); in createConversationInTransaction()
[all …]
DMessagingContentProvider.java31 import com.android.messaging.datamodel.DatabaseHelper.ConversationColumns;
282 queryBuilder.appendWhere(ConversationColumns.SORT_TIMESTAMP + " > 0 "); in query()
287 queryBuilder.appendWhere(ConversationColumns._ID + "=?"); in query()
DParticipantRefresh.java30 import com.android.messaging.datamodel.DatabaseHelper.ConversationColumns;
673 ConversationColumns.CURRENT_SELF_ID + " IN (" + selectionList + ")"; in getConversationsWithSelfParticipantIds()
675 new String[] { ConversationColumns._ID }, in getConversationsWithSelfParticipantIds()
DDatabaseUpgradeHelper.java61 DatabaseHelper.ConversationColumns.IS_ENTERPRISE + " INT DEFAULT(0)"); in upgradeToVersion2()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DUIProvider.java1079 ConversationColumns.URI,
1080 ConversationColumns.MESSAGE_LIST_URI,
1081 ConversationColumns.SUBJECT,
1082 ConversationColumns.SNIPPET,
1083 ConversationColumns.CONVERSATION_INFO,
1084 ConversationColumns.DATE_RECEIVED_MS,
1085 ConversationColumns.HAS_ATTACHMENTS,
1086 ConversationColumns.NUM_MESSAGES,
1087 ConversationColumns.NUM_DRAFTS,
1088 ConversationColumns.SENDING_STATE,
[all …]
DConversation.java32 import com.android.mail.providers.UIProvider.ConversationColumns;
267 public static final String UPDATE_FOLDER_COLUMN = ConversationColumns.RAW_FOLDERS;
616 if (ConversationColumns.READ.equals(key)) { in applyCachedValues()
618 } else if (ConversationColumns.CONVERSATION_INFO.equals(key)) { in applyCachedValues()
625 } else if (ConversationColumns.FLAGS.equals(key)) { in applyCachedValues()
627 } else if (ConversationColumns.STARRED.equals(key)) { in applyCachedValues()
629 } else if (ConversationColumns.SEEN.equals(key)) { in applyCachedValues()
631 } else if (ConversationColumns.RAW_FOLDERS.equals(key)) { in applyCachedValues()
633 } else if (ConversationColumns.VIEWED.equals(key)) { in applyCachedValues()
635 } else if (ConversationColumns.PRIORITY.equals(key)) { in applyCachedValues()
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapContract.java791 public interface ConversationColumns extends ConvoContactColumns { interface in BluetoothMapContract
1160 ConversationColumns.THREAD_ID,
1161 ConversationColumns.THREAD_NAME,
1162 ConversationColumns.READ_STATUS,
1163 ConversationColumns.LAST_THREAD_ACTIVITY,
1164 ConversationColumns.VERSION_COUNTER,
1165 ConversationColumns.SUMMARY,
1167 ConversationColumns.UCI,
1168 ConversationColumns.NAME,
1169 ConversationColumns.NICKNAME,
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java37 import com.android.mail.providers.UIProvider.ConversationColumns;
102 resultMap.put(conversations.get(0).get(ConversationColumns.MESSAGE_LIST_URI).toString(), in initializeAccount()
112 resultMap.put(conversations.get(1).get(ConversationColumns.MESSAGE_LIST_URI).toString(), in initializeAccount()
141 resultMap.put(conv3.get(ConversationColumns.URI).toString(), in initializeAccount()
146 resultMap.put(conv4.get(ConversationColumns.URI).toString(), in initializeAccount()
154 resultMap.put(conv3.get(ConversationColumns.MESSAGE_LIST_URI).toString(), in initializeAccount()
159 resultMap.put(conv4.get(ConversationColumns.MESSAGE_LIST_URI).toString(), in initializeAccount()
185 conversationMap.put(ConversationColumns.URI, conversationUri); in createConversationDetailsMap()
186 conversationMap.put(ConversationColumns.MESSAGE_LIST_URI, conversationUri + "/getMessages"); in createConversationDetailsMap()
187 conversationMap.put(ConversationColumns.SUBJECT, "Conversation " + subject); in createConversationDetailsMap()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DUpdateConversationOptionsAction.java25 import com.android.messaging.datamodel.DatabaseHelper.ConversationColumns;
100 values.put(ConversationColumns.NOTIFICATION_ENABLED, in putOptionValuesInTransaction()
105 values.put(ConversationColumns.NOTIFICATION_SOUND_URI, in putOptionValuesInTransaction()
110 values.put(ConversationColumns.NOTIFICATION_VIBRATION, in putOptionValuesInTransaction()
DSyncMessageBatch.java29 import com.android.messaging.datamodel.DatabaseHelper.ConversationColumns;
304 cursor = db.rawQuery("SELECT " + ConversationColumns._ID in rethrowSQLiteConstraintExceptionWithDetails()
306 + " WHERE " + ConversationColumns._ID + "=" + conversationId, in rethrowSQLiteConstraintExceptionWithDetails()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailConversationCursor.java41 import com.android.mail.providers.UIProvider.ConversationColumns;
172 final int numMessages = getInt(getColumnIndex(ConversationColumns.NUM_MESSAGES)); in generateConversationInfo()
175 conversationInfo.firstSnippet = getString(getColumnIndex(ConversationColumns.SNIPPET)); in generateConversationInfo()
179 final boolean isRead = getInt(getColumnIndex(ConversationColumns.READ)) != 0; in generateConversationInfo()
DEmailProvider.java2666 .add(UIProvider.ConversationColumns.URI, uriWithId("uimessage")) in getMessageListMap()
2667 .add(UIProvider.ConversationColumns.MESSAGE_LIST_URI, uriWithId("uimessage")) in getMessageListMap()
2668 .add(UIProvider.ConversationColumns.SUBJECT, MessageColumns.SUBJECT) in getMessageListMap()
2669 .add(UIProvider.ConversationColumns.SNIPPET, MessageColumns.SNIPPET) in getMessageListMap()
2670 .add(UIProvider.ConversationColumns.CONVERSATION_INFO, null) in getMessageListMap()
2671 .add(UIProvider.ConversationColumns.DATE_RECEIVED_MS, MessageColumns.TIMESTAMP) in getMessageListMap()
2672 .add(UIProvider.ConversationColumns.HAS_ATTACHMENTS, MessageColumns.FLAG_ATTACHMENT) in getMessageListMap()
2673 .add(UIProvider.ConversationColumns.NUM_MESSAGES, "1") in getMessageListMap()
2674 .add(UIProvider.ConversationColumns.NUM_DRAFTS, "0") in getMessageListMap()
2675 .add(UIProvider.ConversationColumns.SENDING_STATE, in getMessageListMap()
[all …]
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DTestDataFactory.java29 import com.android.messaging.datamodel.DatabaseHelper.ConversationColumns;
301 conversationValues.put(ConversationColumns.NAME, "Conversation " + i); in createTestData()
325 conversationValues.put(ConversationColumns.LATEST_MESSAGE_ID, messageId); in createTestData()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java45 import com.android.bluetooth.mapapi.BluetoothMapContract.ConversationColumns;
226 ConversationColumns.THREAD_ID,
227 ConversationColumns.THREAD_NAME,
228 ConversationColumns.READ_STATUS,
229 ConversationColumns.LAST_THREAD_ACTIVITY,
230 ConversationColumns.SUMMARY,
370 mConvoColConvoId = c.getColumnIndex(BluetoothMapContract.ConversationColumns.THREAD_ID); in setEmailImConvoColumns()
372 c.getColumnIndex(BluetoothMapContract.ConversationColumns.LAST_THREAD_ACTIVITY); in setEmailImConvoColumns()
373 mConvoColName = c.getColumnIndex(BluetoothMapContract.ConversationColumns.THREAD_NAME); in setEmailImConvoColumns()
374 mConvoColRead = c.getColumnIndex(BluetoothMapContract.ConversationColumns.READ_STATUS); in setEmailImConvoColumns()
[all …]
DBluetoothMapUtils.java129 .equals(BluetoothMapContract.ConversationColumns.LAST_THREAD_ACTIVITY) in printCursor()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAbstractActivityController.java93 import com.android.mail.providers.UIProvider.ConversationColumns;
1578 ConversationColumns.PRIORITY, UIProvider.ConversationPriority.HIGH);
1585 updateConversation(target, ConversationColumns.PRIORITY,
1829 mConversationListCursor.setConversationColumn(conv.uri, ConversationColumns.READ, 0);
1834 ConversationColumns.CONVERSATION_INFO, originalConversationInfo);
1926 value.put(ConversationColumns.READ, read);
1930 value.put(ConversationColumns.SEEN, Boolean.TRUE);
1936 value.put(ConversationColumns.VIEWED, true);
1941 value.put(ConversationColumns.CONVERSATION_INFO, info.toBlob());
2051 ConversationColumns.STARRED, conversationStarred);
[all …]
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DReadWriteDraftMessageActionTest.java32 import com.android.messaging.datamodel.DatabaseHelper.ConversationColumns;
228 new String[] { ConversationColumns._ID, ConversationColumns.CURRENT_SELF_ID }, null, in testWriteAndReadDraft()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSelectedConversationsActionMenu.java39 import com.android.mail.providers.UIProvider.ConversationColumns;
331 mUpdater.updateConversation(target, ConversationColumns.PRIORITY, priority); in markConversationsImportant()
346 mUpdater.updateConversation(target, ConversationColumns.STARRED, star); in starConversations()
DConversationViewHeader.java169 UIProvider.ConversationColumns.STARRED, mConversation.starred); in onClick()
DConversationItemView.java72 import com.android.mail.providers.UIProvider.ConversationColumns;
1445 cursor.updateBoolean(mHeader.conversation, ConversationColumns.STARRED, in toggleStar()
DConversationCursor.java1663 UIProvider.ConversationColumns.FLAGS, Conversation.FLAG_MOSTLY_DEAD); in setMostlyDead()
1688 cacheValue(uriString, UIProvider.ConversationColumns.FLAGS, in clearMostlyDead()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java1631 values.put(UIProvider.ConversationColumns.SEEN, Boolean.TRUE); in markConversationAsReadAndSeen()
1632 values.put(UIProvider.ConversationColumns.READ, Boolean.TRUE); in markConversationAsReadAndSeen()
1830 values.put(UIProvider.ConversationColumns.SEEN, 1); in markSeen()