Home
last modified time | relevance | path

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

1234

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java53 import com.google.android.mms.ContentType;
54 import com.google.android.mms.pdu.CharacterSets;
658 final Mms mms = readMmsFromReader(jsonReader);
660 Log.d(TAG, "putMmsMessagesToProvider " + mms);
662 if (doesMmsExist(mms)) {
664 Log.e(TAG, String.format("Mms: %s already exists", mms.toString()));
668 addMmsMessage(mms);
687 private boolean doesMmsExist(Mms mms) {
689 Telephony.Sms.DATE, mms.values.getAsLong(Telephony.Mms.DATE));
696 if (body != null && body.equals(mms.body)) {
[all …]
/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.java426 DatabaseMessages.MmsMessage mms = null; in processResult() local
433 mms = MmsUtils.loadMms(mmsUri); in processResult()
443 if (mms != null) { in processResult()
444 final ParticipantData self = ParticipantData.getSelfParticipant(mms.getSubId()); in processResult()
448 final List<String> recipients = MmsUtils.getRecipientsByThread(mms.mThreadId); in processResult()
449 String from = MmsUtils.getMmsSender(recipients, mms.getUri()); in processResult()
468 mms.mThreadId, blockedSender, subId); in processResult()
476 mms.mRead = messageInFocusedConversation; in processResult()
477 mms.mSeen = messageInObservableConversation; in processResult()
480 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/services/Mms/src/com/android/mms/service/
DSendRequest.java17 package com.android.mms.service;
38 import com.android.mms.service.exception.MmsHttpException;
39 import com.google.android.mms.MmsException;
40 import com.google.android.mms.pdu.EncodedStringValue;
41 import com.google.android.mms.pdu.GenericPdu;
42 import com.google.android.mms.pdu.PduComposer;
43 import com.google.android.mms.pdu.PduHeaders;
44 import com.google.android.mms.pdu.PduParser;
45 import com.google.android.mms.pdu.PduPersister;
46 import com.google.android.mms.pdu.SendConf;
[all …]
DDownloadRequest.java17 package com.android.mms.service;
40 import com.android.mms.service.exception.MmsHttpException;
41 import com.google.android.mms.MmsException;
42 import com.google.android.mms.pdu.GenericPdu;
43 import com.google.android.mms.pdu.PduHeaders;
44 import com.google.android.mms.pdu.PduParser;
45 import com.google.android.mms.pdu.PduPersister;
46 import com.google.android.mms.pdu.RetrieveConf;
47 import com.google.android.mms.util.SqliteWrapper;
DMmsService.java17 package com.android.mms.service;
19 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE;
20 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_SEND_REQ;
52 import com.google.android.mms.MmsException;
53 import com.google.android.mms.pdu.DeliveryInd;
54 import com.google.android.mms.pdu.GenericPdu;
55 import com.google.android.mms.pdu.NotificationInd;
56 import com.google.android.mms.pdu.PduParser;
57 import com.google.android.mms.pdu.PduPersister;
58 import com.google.android.mms.pdu.ReadOrigInd;
[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;
30 import com.android.mms.service.exception.MmsNetworkException;
DApnSettings.java17 package com.android.mms.service;
27 import com.android.mms.service.exception.ApnException;
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java1599 DatabaseMessages.MmsMessage mms = null; in loadMms() local
1608 mms = DatabaseMessages.MmsMessage.get(cursor); in loadMms()
1617 if (mms == null) { in loadMms()
1639 mms.addPart(DatabaseMessages.MmsPart.get(cursor, true/*loadMedia*/)); in loadMms()
1649 return mms; in loadMms()
1710 public static MessageData createMmsMessage(final DatabaseMessages.MmsMessage mms, in createMmsMessage() argument
1713 Assert.notNull(mms); in createMmsMessage()
1714 final boolean isNotification = (mms.mMmsMessageType == in createMmsMessage()
1717 ? mms.mRetrieveStatus : mms.mResponseStatus); in createMmsMessage()
1719 final MessageData message = MessageData.createMmsMessage(mms.getUri(), in createMmsMessage()
[all …]
/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/android/support/v7/mms/
DMmsRequest.java17 package androidx.appcompat.mms;
28 import androidx.appcompat.mms.pdu.GenericPdu;
29 import androidx.appcompat.mms.pdu.PduHeaders;
30 import androidx.appcompat.mms.pdu.PduParser;
31 import androidx.appcompat.mms.pdu.SendConf;
DUserAgentInfoLoader.java17 package androidx.appcompat.mms;
DApnSettingsLoader.java17 package androidx.appcompat.mms;
DApnException.java17 package androidx.appcompat.mms;
DMmsNetworkException.java17 package androidx.appcompat.mms;
/packages/services/Mms/tests/robotests/src/com/android/mms/service/
DApnSettingsTest.java17 package com.android.mms.service;
33 import com.android.mms.service.exception.ApnException;
/packages/apps/Messaging/src/com/android/messaging/
DBugleApplication.java27 import androidx.appcompat.mms.CarrierConfigValuesLoader;
28 import androidx.appcompat.mms.MmsManager;
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduContentTypes.java18 package androidx.appcompat.mms.pdu;
DInvalidHeaderValueException.java18 package androidx.appcompat.mms.pdu;
/packages/services/Mms/src/com/android/mms/service/exception/
DMmsNetworkException.java17 package com.android.mms.service.exception;

1234