/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 | 83 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; 1115 Threads._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," + in createCommonTables() 1116 Threads.DATE + " INTEGER DEFAULT 0," + in createCommonTables() 1117 Threads.MESSAGE_COUNT + " INTEGER DEFAULT 0," + in createCommonTables() 1118 Threads.RECIPIENT_IDS + " TEXT," + in createCommonTables() 1119 Threads.SNIPPET + " TEXT," + in createCommonTables() 1120 Threads.SNIPPET_CHARSET + " INTEGER DEFAULT 0," + in createCommonTables() 1121 Threads.READ + " INTEGER DEFAULT 1," + in createCommonTables() 1122 Threads.ARCHIVED + " INTEGER DEFAULT 0," + in createCommonTables() 1123 Threads.TYPE + " INTEGER DEFAULT 0," + in createCommonTables() [all …]
|
D | TelephonyBackupAgent.java | 209 Telephony.Threads._ID, 210 Telephony.Threads.RECIPIENT_IDS 782 jsonWriter.name(Telephony.Threads.ARCHIVED).value(true); 789 new String[] { Telephony.Threads.ARCHIVED }; 793 Uri.Builder builder = Telephony.Threads.CONTENT_URI.buildUpon(); 841 case Telephony.Threads.ARCHIVED: 977 case Telephony.Threads.ARCHIVED: 1018 private static final String ARCHIVE_THREAD_SELECTION = Telephony.Threads._ID + "=?"; 1025 values.put(Telephony.Threads.ARCHIVED, 1); 1027 Telephony.Threads.CONTENT_URI, [all …]
|
D | MmsSmsProvider.java | 41 import android.provider.Telephony.Threads; 363 selection, Threads.TYPE + "=" + threadType); in query() 662 values.put(Threads.TYPE, Threads.BROADCAST_THREAD); in insertThread() 1332 if (values.containsKey(Threads.ARCHIVED)) { in update() 1334 finalValues.put(Threads.ARCHIVED, values.getAsBoolean(Threads.ARCHIVED)); in update()
|
D | MmsProvider.java | 45 import android.provider.Telephony.Threads; 400 finalValues.put(Mms.THREAD_ID, Threads.getOrCreateThreadId(getContext(), address)); in insert()
|
D | SmsProvider.java | 39 import android.provider.Telephony.Threads; 672 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 | 136 public static final class Threads implements android.provider.Telephony.ThreadsColumns { class in MmsSmsUtils 144 private Threads() { in Threads() method in MmsSmsUtils.Threads
|
D | MmsUtils.java | 38 import android.provider.Telephony.Threads; 724 Threads.CONTENT_URI.buildUpon().appendQueryParameter("simple", "true").build(); 727 Threads._ID, 728 Threads.RECIPIENT_IDS 824 return MmsSmsUtils.Threads.getOrCreateThreadId(context, recipients); in getOrCreateSmsThreadId() 839 return MmsSmsUtils.Threads.getOrCreateThreadId(context, recipients); in getOrCreateThreadId() 2571 final Uri threadUri = ContentUris.withAppendedId(Telephony.Threads.CONTENT_URI, threadId);
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 989 row.put(Telephony.Threads.RECIPIENT_IDS, spaceSepIds); in query() 992 } else if (uri.toString().startsWith(Telephony.Threads.CONTENT_URI.toString())) { in query() 994 assertEquals(Telephony.Threads.ARCHIVED, projection[0]); in query() 999 row.put(Telephony.Threads.ARCHIVED, mIsThreadArchived.contains(threadId) ? 1 : 0); in query() 1034 assertEquals(uri, Telephony.Threads.CONTENT_URI); in update() 1035 assertEquals(values.getAsInteger(Telephony.Threads.ARCHIVED).intValue(), 1); in update()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsService.java | 332 Telephony.Threads.CONTENT_URI, conversationId); 740 private static final String ARCHIVE_CONVERSATION_SELECTION = Telephony.Threads._ID + "=?"; 744 values.put(Telephony.Threads.ARCHIVED, archived ? 1 : 0); in archiveConversation() 751 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 | 862 cv.put(Telephony.Sms.Inbox.THREAD_ID, Telephony.Threads.getOrCreateThreadId(mContext, in writeMessageToSmsInbox()
|