Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DLogTelephonyDatabaseAction.java24 import android.provider.Telephony.Threads;
37 Threads._ID,
38 Threads.DATE,
39 Threads.MESSAGE_COUNT,
40 Threads.RECIPIENT_IDS,
41 Threads.SNIPPET,
42 Threads.SNIPPET_CHARSET,
43 Threads.READ,
44 Threads.ERROR,
45 Threads.HAS_ATTACHMENT };
[all …]
DReceiveSmsMessageAction.java83 final long threadId = MmsSmsUtils.Threads.getOrCreateThreadId(context, address); in executeAction()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java46 import android.provider.Telephony.Threads;
1124 Threads._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," + in createCommonTables()
1125 Threads.DATE + " INTEGER DEFAULT 0," + in createCommonTables()
1126 Threads.MESSAGE_COUNT + " INTEGER DEFAULT 0," + in createCommonTables()
1127 Threads.RECIPIENT_IDS + " TEXT," + in createCommonTables()
1128 Threads.SNIPPET + " TEXT," + in createCommonTables()
1129 Threads.SNIPPET_CHARSET + " INTEGER DEFAULT 0," + in createCommonTables()
1130 Threads.READ + " INTEGER DEFAULT 1," + in createCommonTables()
1131 Threads.ARCHIVED + " INTEGER DEFAULT 0," + in createCommonTables()
1132 Threads.TYPE + " INTEGER DEFAULT 0," + in createCommonTables()
[all …]
DTelephonyBackupAgent.java208 Telephony.Threads._ID,
209 Telephony.Threads.RECIPIENT_IDS
755 jsonWriter.name(Telephony.Threads.ARCHIVED).value(true);
762 new String[] { Telephony.Threads.ARCHIVED };
766 Uri.Builder builder = Telephony.Threads.CONTENT_URI.buildUpon();
814 case Telephony.Threads.ARCHIVED:
942 case Telephony.Threads.ARCHIVED:
985 private static final String ARCHIVE_THREAD_SELECTION = Telephony.Threads._ID + "=?";
992 values.put(Telephony.Threads.ARCHIVED, 1);
994 Telephony.Threads.CONTENT_URI,
[all …]
DMmsSmsProvider.java41 import android.provider.Telephony.Threads;
349 selection, Threads.TYPE + "=" + threadType); in query()
648 values.put(Threads.TYPE, Threads.BROADCAST_THREAD); in insertThread()
1317 if (values.containsKey(Threads.ARCHIVED)) { in update()
1319 finalValues.put(Threads.ARCHIVED, values.getAsBoolean(Threads.ARCHIVED)); in update()
DSmsProvider.java40 import android.provider.Telephony.Threads;
560 values.put(Sms.THREAD_ID, Threads.getOrCreateThreadId( in insertInner()
DMmsProvider.java46 import android.provider.Telephony.Threads;
399 finalValues.put(Mms.THREAD_ID, Threads.getOrCreateThreadId(getContext(), address)); in insert()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java32 import android.provider.Telephony.Threads;
216 Threads._ID,
217 Threads.DATE,
218 Threads.SNIPPET,
219 Threads.SNIPPET_CHARSET,
220 Threads.READ,
221 Threads.RECIPIENT_IDS
246 MMS_SMS_THREAD_COL_ID = projection.indexOf(Threads._ID);
247 MMS_SMS_THREAD_COL_DATE = projection.indexOf(Threads.DATE);
248 MMS_SMS_THREAD_COL_SNIPPET = projection.indexOf(Threads.SNIPPET);
[all …]
DBluetoothMapContentObserver.java2288 Long oldThreadId = Telephony.Threads.getOrCreateThreadId(mContext, recipients); in unDeleteMessageMms()
2363 Long oldThreadId = Telephony.Threads.getOrCreateThreadId(mContext, recipients); in unDeleteMessageSms()
2899 values.put(Mms.THREAD_ID, Telephony.Threads.getOrCreateThreadId(mContext, recipients)); in pushMmsToFolder()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsSmsUtils.java136 public static final class Threads implements android.provider.Telephony.ThreadsColumns { class in MmsSmsUtils
144 private Threads() { in Threads() method in MmsSmsUtils.Threads
DMmsUtils.java38 import android.provider.Telephony.Threads;
717 Threads.CONTENT_URI.buildUpon().appendQueryParameter("simple", "true").build();
720 Threads._ID,
721 Threads.RECIPIENT_IDS
817 return MmsSmsUtils.Threads.getOrCreateThreadId(context, recipients); in getOrCreateSmsThreadId()
832 return MmsSmsUtils.Threads.getOrCreateThreadId(context, recipients); in getOrCreateThreadId()
2581 final Uri threadUri = ContentUris.withAppendedId(Telephony.Threads.CONTENT_URI, threadId);
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java940 row.put(Telephony.Threads.RECIPIENT_IDS, spaceSepIds); in query()
943 } else if (uri.toString().startsWith(Telephony.Threads.CONTENT_URI.toString())) { in query()
945 assertEquals(Telephony.Threads.ARCHIVED, projection[0]); in query()
950 row.put(Telephony.Threads.ARCHIVED, mIsThreadArchived.contains(threadId) ? 1 : 0); in query()
985 assertEquals(uri, Telephony.Threads.CONTENT_URI); in update()
986 assertEquals(values.getAsInteger(Telephony.Threads.ARCHIVED).intValue(), 1); in update()
/packages/services/Mms/src/com/android/mms/service/
DMmsService.java319 Telephony.Threads.CONTENT_URI, conversationId);
704 private static final String ARCHIVE_CONVERSATION_SELECTION = Telephony.Threads._ID + "=?";
708 values.put(Telephony.Threads.ARCHIVED, archived ? 1 : 0); in archiveConversation()
715 Telephony.Threads.CONTENT_URI, in archiveConversation()
/packages/apps/Contacts/src/com/android/contacts/compat/
DTelephonyThreadsCompat.java51 return Telephony.Threads.getOrCreateThreadId(context, recipient); in getOrCreateThreadId()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java1171 final long threadId = MmsSmsUtils.Threads.getOrCreateThreadId(mContext, recipients); in updateHeaders()
1433 threadId = MmsSmsUtils.Threads.getOrCreateThreadId(mContext, recipients); in persist()