Home | History | Annotate | Download | only in transaction

Lines Matching refs:Mms

18 package com.android.mms.transaction;
20 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND;
21 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF;
23 import com.android.mms.R;
24 import com.android.mms.LogTag;
25 import com.android.mms.data.Contact;
26 import com.android.mms.data.Conversation;
27 import com.android.mms.data.WorkingMessage;
28 import com.android.mms.model.SlideModel;
29 import com.android.mms.model.SlideshowModel;
30 import com.android.mms.ui.ComposeMessageActivity;
31 import com.android.mms.ui.ConversationList;
32 import com.android.mms.ui.MessagingPreferenceActivity;
33 import com.android.mms.util.AddressUtils;
34 import com.android.mms.util.DownloadManager;
35 import com.android.mms.widget.MmsWidgetProvider;
37 import com.google.android.mms.MmsException;
38 import com.google.android.mms.pdu.EncodedStringValue;
39 import com.google.android.mms.pdu.GenericPdu;
40 import com.google.android.mms.pdu.MultimediaMessagePdu;
41 import com.google.android.mms.pdu.PduHeaders;
42 import com.google.android.mms.pdu.PduPersister;
65 import android.provider.Telephony.Mms;
105 Mms.THREAD_ID, Mms.DATE, Mms._ID, Mms.SUBJECT, Mms.SUBJECT_CHARSET };
122 private static final String[] MMS_THREAD_ID_PROJECTION = new String[] { Mms.THREAD_ID };
133 "(" + Mms.MESSAGE_BOX + "=" + Mms.MESSAGE_BOX_INBOX
134 + " AND " + Mms.SEEN + "=0"
135 + " AND (" + Mms.MESSAGE_TYPE + "=" + MESSAGE_TYPE_NOTIFICATION_IND
136 + " OR " + Mms.MESSAGE_TYPE + "=" + MESSAGE_TYPE_RETRIEVE_CONF + "))";
141 private static final Uri UNDELIVERED_URI = Uri.parse("content://mms-sms/undelivered");
145 "com.android.mms.NOTIFICATION_DELETED_ACTION";
342 * @param isSms true if sms, false if mms
345 * @param subject text of mms subject
352 * @param attachmentType of the mms attachment
541 Cursor cursor = SqliteWrapper.query(context, resolver, Mms.CONTENT_URI,
543 null, Mms.DATE + " desc");
553 Uri msgUri = Mms.CONTENT_URI.buildUpon().appendPath(
793 // Figure out what we've got -- whether all sms's, mms's, or a mixture of both.
825 mainActivityIntent.setType("vnd.android-dir/mms-sms");
1144 * Query the DB and return the number of undelivered messages (total for both SMS and MMS)
1211 // Look for any messages in the MMS Inbox that are of the type
1216 Mms.Inbox.CONTENT_URI, null,
1217 Mms.MESSAGE_TYPE + "=" +
1219 " AND " + Mms.STATUS + "=" +
1276 * Get the thread ID of the MMS message with the given URI
1297 return cursor.getLong(cursor.getColumnIndex(Mms.THREAD_ID));