/packages/services/Mms/src/com/android/mms/service/metrics/ |
D | MmsMetricsCollector.java | 17 package com.android.mms.service.metrics; 19 import static com.android.mms.MmsStatsLog.INCOMING_MMS; 20 import static com.android.mms.MmsStatsLog.OUTGOING_MMS; 30 import com.android.mms.IncomingMms; 31 import com.android.mms.MmsStatsLog; 32 import com.android.mms.OutgoingMms; 79 private static StatsEvent buildStatsEvent(IncomingMms mms) { in buildStatsEvent() argument 82 mms.getRat(), in buildStatsEvent() 83 mms.getResult(), in buildStatsEvent() 84 mms.getRoaming(), in buildStatsEvent() [all …]
|
D | PersistMmsAtomsStorage.java | 17 package com.android.mms.service.metrics; 28 import com.android.mms.IncomingMms; 29 import com.android.mms.OutgoingMms; 30 import com.android.mms.PersistMmsAtoms; 135 public synchronized void addIncomingMms(IncomingMms mms) { in addIncomingMms() argument 136 int existingMmsIndex = findIndex(mms); in addIncomingMms() 143 + mms.getAvgIntervalMillis()) / updatedMmsCount); in addIncomingMms() 155 mPersistMmsAtoms.getIncomingMmsList(), mms, mMaxNumMms); in addIncomingMms() 165 public synchronized void addOutgoingMms(OutgoingMms mms) { in addOutgoingMms() argument 166 int existingMmsIndex = findIndex(mms); in addOutgoingMms() [all …]
|
D | MmsStats.java | 17 package com.android.mms.service.metrics; 19 import static com.android.mms.MmsStatsLog.INCOMING_MMS__RESULT__MMS_RESULT_ERROR_UNSPECIFIED; 20 import static com.android.mms.MmsStatsLog.INCOMING_MMS__RESULT__MMS_RESULT_SUCCESS; 21 import static com.android.mms.MmsStatsLog.OUTGOING_MMS__RESULT__MMS_RESULT_ERROR_UNSPECIFIED; 22 import static com.android.mms.MmsStatsLog.OUTGOING_MMS__RESULT__MMS_RESULT_SUCCESS; 41 import com.android.mms.IncomingMms; 42 import com.android.mms.OutgoingMms;
|
/packages/services/Mms/tests/unittests/src/com/android/mms/service/metrics/ |
D | PersistMmsAtomsStorageTest.java | 17 package com.android.mms.service.metrics; 38 import com.android.mms.IncomingMms; 39 import com.android.mms.OutgoingMms; 40 import com.android.mms.PersistMmsAtoms; 278 IncomingMms mms = IncomingMms.newBuilder() in addIncomingMms_tooManyEntries() local 291 mms = mms.toBuilder().setRat(ratType).setResult(resultType).build(); in addIncomingMms_tooManyEntries() 292 mTestablePersistMmsAtomsStorage.addIncomingMms(mms); in addIncomingMms_tooManyEntries() 298 IncomingMms lastMms = copyOf(mms); in addIncomingMms_tooManyEntries() 418 OutgoingMms mms = OutgoingMms.newBuilder() in addOutgoingMms_tooManyEntries() local 432 mms = mms.toBuilder().setRat(ratType).setResult(resultType).build(); in addOutgoingMms_tooManyEntries() [all …]
|
D | MmsMetricsCollectorTest.java | 17 package com.android.mms.service.metrics; 19 import static com.android.mms.MmsStatsLog.INCOMING_MMS; 20 import static com.android.mms.MmsStatsLog.OUTGOING_MMS; 36 import com.android.mms.IncomingMms; 37 import com.android.mms.OutgoingMms;
|
D | MmsStatsTest.java | 17 package com.android.mms.service.metrics; 19 import static com.android.mms.MmsStatsLog.INCOMING_MMS__RESULT__MMS_RESULT_SUCCESS; 20 import static com.android.mms.MmsStatsLog.OUTGOING_MMS__RESULT__MMS_RESULT_SUCCESS; 39 import com.android.mms.IncomingMms; 40 import com.android.mms.OutgoingMms;
|
/packages/services/Mms/ |
D | Android.bp | 23 name: "statslog-mms-java-gen", 25 cmd: "$(location stats-log-api-gen) --java $(out) --module mms" 26 + " --javaPackage com.android.mms --javaClass MmsStatsLog", 27 out: ["com/android/mms/MmsStatsLog.java"], 31 name: "mms-statsd", 33 ":statslog-mms-java-gen", 50 "mms-protos-lite", 51 "mms-statsd", 57 name: "mms-service-srcs", 59 "src/com/android/mms/service/**/*.java",
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | SyncMessageBatch.java | 88 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 …]
|
D | ReceiveMmsMessageAction.java | 77 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()
|
D | SyncMessagesAction.java | 253 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 …]
|
D | ProcessDownloadedMmsAction.java | 426 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()
|
D | SyncCursorPair.java | 623 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/ |
D | TelephonyBackupAgent.java | 58 import com.google.android.mms.ContentType; 59 import com.google.android.mms.pdu.CharacterSets; 842 final Mms mms = readMmsFromReader(jsonReader); 844 Log.d(TAG, "putMmsMessagesToProvider " + mms); 847 if (doesMmsExist(mms)) { 849 Log.e(TAG, String.format("Mms: %s already exists", mms.toString())); 856 mms.values.put(NOTIFY, false); 857 addMmsMessage(mms); 944 private boolean doesMmsExist(Mms mms) { 946 Telephony.Sms.DATE, mms.values.getAsLong(Telephony.Mms.DATE)); [all …]
|
/packages/services/Mms/src/com/android/mms/service/ |
D | SendRequest.java | 17 package com.android.mms.service; 41 import com.android.mms.service.exception.MmsHttpException; 42 import com.android.mms.service.metrics.MmsStats; 44 import com.google.android.mms.MmsException; 45 import com.google.android.mms.pdu.EncodedStringValue; 46 import com.google.android.mms.pdu.GenericPdu; 47 import com.google.android.mms.pdu.PduComposer; 48 import com.google.android.mms.pdu.PduHeaders; 49 import com.google.android.mms.pdu.PduParser; 50 import com.google.android.mms.pdu.PduPersister; [all …]
|
D | DownloadRequest.java | 17 package com.android.mms.service; 41 import com.android.mms.service.exception.MmsHttpException; 42 import com.android.mms.service.metrics.MmsStats; 44 import com.google.android.mms.MmsException; 45 import com.google.android.mms.pdu.GenericPdu; 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.RetrieveConf; 50 import com.google.android.mms.util.SqliteWrapper;
|
D | MmsService.java | 17 package com.android.mms.service; 21 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE; 22 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_SEND_REQ; 59 import com.android.mms.service.metrics.MmsMetricsCollector; 60 import com.android.mms.service.metrics.MmsStats; 62 import com.google.android.mms.MmsException; 63 import com.google.android.mms.pdu.DeliveryInd; 64 import com.google.android.mms.pdu.GenericPdu; 65 import com.google.android.mms.pdu.NotificationInd; 66 import com.google.android.mms.pdu.PduParser; [all …]
|
D | MmsRequest.java | 17 package com.android.mms.service; 46 import com.android.mms.service.exception.ApnException; 47 import com.android.mms.service.exception.MmsHttpException; 48 import com.android.mms.service.exception.MmsNetworkException; 49 import com.android.mms.service.metrics.MmsStats;
|
/packages/services/Mms/tests/unittests/ |
D | Android.bp | 10 "mms-protos-lite", 11 "mms-statsd", 26 ":mms-service-srcs",
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | MessageDetailsDialog.java | 265 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/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | MmsFileProvider.java | 31 import com.google.android.mms.MmsException; 32 import com.google.android.mms.pdu.GenericPdu; 33 import com.google.android.mms.pdu.PduComposer; 34 import com.google.android.mms.pdu.PduPersister;
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsRequest.java | 17 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;
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 1599 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/services/Mms/tests/robotests/src/com/android/mms/service/ |
D | MmsRequestRoboTest.java | 17 package com.android.mms.service; 39 import com.android.mms.service.metrics.MmsStats; 40 import com.android.mms.service.metrics.PersistMmsAtomsStorage;
|
/packages/services/Mms/proto/src/ |
D | persist_mms_atoms.proto | 19 package com.android.mms; 20 option java_package = "com.android.mms";
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | PduContentTypes.java | 18 package androidx.appcompat.mms.pdu;
|