Home
last modified time | relevance | path

Searched refs:mms (Results 1 – 25 of 79) sorted by relevance

1234

/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncMessageBatch.java88 for (final MmsMessage mms : mMmsToAdd) { in updateLocalDatabase()
89 storeMms(db, mms); in updateLocalDatabase()
230 private void storeMms(final DatabaseWrapper db, final MmsMessage mms) { in storeMms() argument
231 if (mms.mParts.size() < 1) { in storeMms()
232 LogUtil.w(TAG, "SyncMessageBatch: MMS " + mms.mUri + " has no parts"); in storeMms()
236 final boolean isOutgoing = mms.mType != Mms.MESSAGE_BOX_INBOX; in storeMms()
237 final boolean isNotification = (mms.mMmsMessageType == in storeMms()
240 final String senderId = mms.mSender; in storeMms()
245 final String conversationId = mCache.getOrCreateConversation(db, mms.mThreadId, mms.mSubId, in storeMms()
246 DataModel.get().getSyncManager().getCustomizationForThread(mms.mThreadId)); in storeMms()
[all …]
DReceiveMmsMessageAction.java77 final DatabaseMessages.MmsMessage mms = MmsUtils.processReceivedPdu( in executeAction() local
80 if (mms != null) { in executeAction()
81 final List<String> recipients = MmsUtils.getRecipientsByThread(mms.mThreadId); in executeAction()
82 String from = MmsUtils.getMmsSender(recipients, mms.getUri()); in executeAction()
93 BugleDatabaseOperations.getOrCreateConversationFromThreadId(db, mms.mThreadId, in executeAction()
102 mms.mRead = messageInFocusedConversation; in executeAction()
103 mms.mSeen = messageInObservableConversation || blocked; in executeAction()
113 message = MmsUtils.createMmsMessage(mms, conversationId, participantId, selfId, in executeAction()
143 actionParameters.putString(KEY_TRANSACTION_ID, mms.mTransactionId); in executeAction()
144 actionParameters.putString(KEY_CONTENT_LOCATION, mms.mContentLocation); in executeAction()
DSyncMessagesAction.java253 final MmsMessage mms = mmsToAdd.valueAt(i); in doBackgroundWork() local
254 mmsToAddList.add(mms); in doBackgroundWork()
563 final DatabaseMessages.MmsMessage mms = mmses.get(part.mMessageId); in loadMmsParts() local
564 if (mms != null) { in loadMmsParts()
565 mms.addPart(part); in loadMmsParts()
582 final MmsMessage mms = mmses.valueAt(i); in setMmsSenders() local
584 final boolean isOutgoing = mms.mType != Mms.MESSAGE_BOX_INBOX; in setMmsSenders()
588 senderId = getMmsSender(mms, cache); in setMmsSenders()
591 + "message " + mms.getUri() + "; using 'unknown sender' instead"); in setMmsSenders()
595 mms.setSender(senderId); in setMmsSenders()
[all …]
DProcessDownloadedMmsAction.java415 DatabaseMessages.MmsMessage mms = null; in processResult() local
422 mms = MmsUtils.loadMms(mmsUri); in processResult()
432 if (mms != null) { in processResult()
433 final ParticipantData self = ParticipantData.getSelfParticipant(mms.getSubId()); in processResult()
437 final List<String> recipients = MmsUtils.getRecipientsByThread(mms.mThreadId); in processResult()
438 String from = MmsUtils.getMmsSender(recipients, mms.getUri()); in processResult()
457 mms.mThreadId, blockedSender, subId); in processResult()
465 mms.mRead = messageInFocusedConversation; in processResult()
466 mms.mSeen = messageInObservableConversation; in processResult()
469 message = MmsUtils.createMmsMessage(mms, conversationId, senderParticipantId, in processResult()
DSyncCursorPair.java623 final MmsMessage mms = (MmsMessage) message; in saveMessageToAdd() local
624 mmsToAdd.append(mms.getId(), mms); in saveMessageToAdd() local
625 threadId = mms.mThreadId; in saveMessageToAdd()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java19 import com.google.android.mms.ContentType;
20 import com.google.android.mms.pdu.CharacterSets;
618 final Mms mms = readMmsFromReader(jsonReader);
619 if (doesMmsExist(mms)) {
621 Log.e(TAG, String.format("Mms: %s already exists", mms.toString()));
625 addMmsMessage(mms);
644 private boolean doesMmsExist(Mms mms) {
646 Telephony.Sms.DATE, mms.values.getAsLong(Telephony.Mms.DATE));
653 if (body != null && body.equals(mms.body)) {
855 Mms mms = new Mms();
[all …]
/packages/services/Mms/src/com/android/mms/service/
DSendRequest.java17 package com.android.mms.service;
41 import com.android.mms.service.exception.MmsHttpException;
42 import com.google.android.mms.MmsException;
43 import com.google.android.mms.pdu.EncodedStringValue;
44 import com.google.android.mms.pdu.GenericPdu;
45 import com.google.android.mms.pdu.PduComposer;
46 import com.google.android.mms.pdu.PduHeaders;
47 import com.google.android.mms.pdu.PduParser;
48 import com.google.android.mms.pdu.PduPersister;
49 import com.google.android.mms.pdu.SendConf;
[all …]
DDownloadRequest.java17 package com.android.mms.service;
41 import com.android.mms.service.exception.MmsHttpException;
42 import com.google.android.mms.MmsException;
43 import com.google.android.mms.pdu.GenericPdu;
44 import com.google.android.mms.pdu.PduHeaders;
45 import com.google.android.mms.pdu.PduParser;
46 import com.google.android.mms.pdu.PduPersister;
47 import com.google.android.mms.pdu.RetrieveConf;
48 import com.google.android.mms.util.SqliteWrapper;
DMmsService.java17 package com.android.mms.service;
45 import com.google.android.mms.MmsException;
46 import com.google.android.mms.pdu.DeliveryInd;
47 import com.google.android.mms.pdu.GenericPdu;
48 import com.google.android.mms.pdu.NotificationInd;
49 import com.google.android.mms.pdu.PduParser;
50 import com.google.android.mms.pdu.PduPersister;
51 import com.google.android.mms.pdu.ReadOrigInd;
52 import com.google.android.mms.pdu.RetrieveConf;
53 import com.google.android.mms.pdu.SendReq;
[all …]
DMmsRequest.java17 package com.android.mms.service;
31 import com.android.mms.service.exception.ApnException;
32 import com.android.mms.service.exception.MmsHttpException;
33 import com.android.mms.service.exception.MmsNetworkException;
DMmsNetworkManager.java17 package com.android.mms.service;
27 import com.android.mms.service.exception.MmsNetworkException;
DApnSettings.java17 package com.android.mms.service;
28 import com.android.mms.service.exception.ApnException;
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DMessageDetailsDialog.java265 MmsMessage mms = null; in appendDebugInfo() local
271 mms = MmsUtils.loadMms(Uri.parse(telephonyUri)); in appendDebugInfo()
272 if (mms == null) { in appendDebugInfo()
277 final long mmsThreadId = mms.mThreadId; in appendDebugInfo()
283 final String mmsContentLocation = mms.mContentLocation; in appendDebugInfo()
302 if (mms != null) { in appendDebugInfo()
303 final String from = MmsUtils.getMmsSender(recipients, mms.getUri()); in appendDebugInfo()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DMmsFileProvider.java27 import com.google.android.mms.MmsException;
28 import com.google.android.mms.pdu.GenericPdu;
29 import com.google.android.mms.pdu.PduComposer;
30 import com.google.android.mms.pdu.PduPersister;
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java1635 DatabaseMessages.MmsMessage mms = null; in loadMms() local
1644 mms = DatabaseMessages.MmsMessage.get(cursor); in loadMms()
1653 if (mms == null) { in loadMms()
1675 mms.addPart(DatabaseMessages.MmsPart.get(cursor, true/*loadMedia*/)); in loadMms()
1685 return mms; in loadMms()
1746 public static MessageData createMmsMessage(final DatabaseMessages.MmsMessage mms, in createMmsMessage() argument
1749 Assert.notNull(mms); in createMmsMessage()
1750 final boolean isNotification = (mms.mMmsMessageType == in createMmsMessage()
1753 ? mms.mRetrieveStatus : mms.mResponseStatus); in createMmsMessage()
1755 final MessageData message = MessageData.createMmsMessage(mms.getUri(), in createMmsMessage()
[all …]
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsRequest.java17 package android.support.v7.mms;
28 import android.support.v7.mms.pdu.GenericPdu;
29 import android.support.v7.mms.pdu.PduHeaders;
30 import android.support.v7.mms.pdu.PduParser;
31 import android.support.v7.mms.pdu.SendConf;
DUserAgentInfoLoader.java17 package android.support.v7.mms;
DApnSettingsLoader.java17 package android.support.v7.mms;
DApnException.java17 package android.support.v7.mms;
DMmsNetworkException.java17 package android.support.v7.mms;
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduContentTypes.java18 package android.support.v7.mms.pdu;
DInvalidHeaderValueException.java18 package android.support.v7.mms.pdu;
/packages/apps/Messaging/src/com/android/messaging/
DBugleApplication.java27 import android.support.v7.mms.CarrierConfigValuesLoader;
28 import android.support.v7.mms.MmsManager;
/packages/services/Mms/src/com/android/mms/service/exception/
DApnException.java17 package com.android.mms.service.exception;
DMmsNetworkException.java17 package com.android.mms.service.exception;

1234