/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | LogTelephonyDatabaseAction.java | 24 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 …]
|
D | ReceiveSmsMessageAction.java | 84 final long threadId = MmsSmsUtils.Threads.getOrCreateThreadId(context, address); in executeAction()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | MmsSmsDatabaseHelper.java | 46 import android.provider.Telephony.Threads; 1116 Threads._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," + in createCommonTables() 1117 Threads.DATE + " INTEGER DEFAULT 0," + in createCommonTables() 1118 Threads.MESSAGE_COUNT + " INTEGER DEFAULT 0," + in createCommonTables() 1119 Threads.RECIPIENT_IDS + " TEXT," + in createCommonTables() 1120 Threads.SNIPPET + " TEXT," + in createCommonTables() 1121 Threads.SNIPPET_CHARSET + " INTEGER DEFAULT 0," + in createCommonTables() 1122 Threads.READ + " INTEGER DEFAULT 1," + in createCommonTables() 1123 Threads.ARCHIVED + " INTEGER DEFAULT 0," + in createCommonTables() 1124 Threads.TYPE + " INTEGER DEFAULT 0," + in createCommonTables() [all …]
|
D | TelephonyBackupAgent.java | 208 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 …]
|
D | MmsSmsProvider.java | 41 import android.provider.Telephony.Threads; 377 selection, Threads.TYPE + "=" + threadType); in query() 676 values.put(Threads.TYPE, Threads.BROADCAST_THREAD); in insertThread() 1346 if (values.containsKey(Threads.ARCHIVED)) { in update() 1348 finalValues.put(Threads.ARCHIVED, values.getAsBoolean(Threads.ARCHIVED)); in update()
|
D | MmsProvider.java | 46 import android.provider.Telephony.Threads; 399 finalValues.put(Mms.THREAD_ID, Threads.getOrCreateThreadId(getContext(), address)); in insert()
|
D | SmsProvider.java | 39 import android.provider.Telephony.Threads; 700 values.put(Sms.THREAD_ID, Threads.getOrCreateThreadId( in insertInner()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContent.java | 32 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 …]
|
D | BluetoothMapContentObserver.java | 2299 Long oldThreadId = Telephony.Threads.getOrCreateThreadId(mContext, recipients); in unDeleteMessageMms() 2374 Long oldThreadId = Telephony.Threads.getOrCreateThreadId(mContext, recipients); in unDeleteMessageSms() 2953 values.put(Mms.THREAD_ID, Telephony.Threads.getOrCreateThreadId(mContext, recipients)); in pushMmsToFolder()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsSmsUtils.java | 148 public static final class Threads implements android.provider.Telephony.ThreadsColumns { class in MmsSmsUtils 156 private Threads() { in Threads() method in MmsSmsUtils.Threads
|
D | MmsUtils.java | 36 import android.provider.Telephony.Threads; 722 Threads.CONTENT_URI.buildUpon().appendQueryParameter("simple", "true").build(); 725 Threads._ID, 726 Threads.RECIPIENT_IDS 822 return MmsSmsUtils.Threads.getOrCreateThreadId(context, recipients); in getOrCreateSmsThreadId() 837 return MmsSmsUtils.Threads.getOrCreateThreadId(context, recipients); in getOrCreateThreadId() 2511 final Uri threadUri = ContentUris.withAppendedId(Telephony.Threads.CONTENT_URI, threadId);
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 940 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/ |
D | MmsService.java | 327 Telephony.Threads.CONTENT_URI, conversationId); 732 private static final String ARCHIVE_CONVERSATION_SELECTION = Telephony.Threads._ID + "=?"; 736 values.put(Telephony.Threads.ARCHIVED, archived ? 1 : 0); in archiveConversation() 743 Telephony.Threads.CONTENT_URI, in archiveConversation()
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | TelephonyThreadsCompat.java | 51 return Telephony.Threads.getOrCreateThreadId(context, recipient); in getOrCreateThreadId()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduPersister.java | 1171 final long threadId = MmsSmsUtils.Threads.getOrCreateThreadId(mContext, recipients); in updateHeaders() 1433 threadId = MmsSmsUtils.Threads.getOrCreateThreadId(mContext, recipients); in persist()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertService.java | 848 cv.put(Telephony.Sms.Inbox.THREAD_ID, Telephony.Threads.getOrCreateThreadId(mContext, in writeMessageToSmsInbox()
|