/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ProcessDownloadedMmsAction.java | 46 import com.android.messaging.sms.MmsUtils; 226 MmsUtils.sendNotifyResponseForMmsDownload( in doBackgroundWork() 229 MmsUtils.stringToBytes(transactionId, "UTF-8"), in doBackgroundWork() 240 int rawStatus = MmsUtils.PDU_HEADER_VALUE_UNDEFINED; in doBackgroundWork() 271 if (MmsUtils.isDumpMmsEnabled()) { in doBackgroundWork() 272 MmsUtils.dumpPdu(downloadedData, retrieveConf); in doBackgroundWork() 290 final MmsUtils.StatusPlusUri result = in doBackgroundWork() 291 MmsUtils.insertDownloadedMessageAndSendResponse(context, in doBackgroundWork() 300 status = MmsUtils.MMS_REQUEST_MANUAL_RETRY; in doBackgroundWork() 304 status = MmsUtils.MMS_REQUEST_MANUAL_RETRY; in doBackgroundWork() [all …]
|
D | ProcessSentMessageAction.java | 40 import com.android.messaging.sms.MmsUtils; 133 int status = actionParameters.getInt(KEY_STATUS, MmsUtils.MMS_REQUEST_MANUAL_RETRY); in executeAction() 135 MmsUtils.PDU_HEADER_VALUE_UNDEFINED); in executeAction() 161 final MmsUtils.StatusPlusUri result = in executeAction() 162 MmsUtils.updateSentMmsMessageStatus(context, messageUri, sendConf); in executeAction() 217 final MessageData update = MmsUtils.readSendingMmsMessage(updatedMessageUri, in processResult() 232 status = MmsUtils.MMS_REQUEST_MANUAL_RETRY; in processResult() 239 if (status == MmsUtils.MMS_REQUEST_SUCCEEDED) { in processResult() 242 } else if (status == MmsUtils.MMS_REQUEST_AUTO_RETRY in processResult() 257 if (status != MmsUtils.MMS_REQUEST_SUCCEEDED) { in processResult() [all …]
|
D | ReceiveMmsMessageAction.java | 36 import com.android.messaging.sms.MmsUtils; 77 final DatabaseMessages.MmsMessage mms = MmsUtils.processReceivedPdu( in executeAction() 81 final List<String> recipients = MmsUtils.getRecipientsByThread(mms.mThreadId); in executeAction() 82 String from = MmsUtils.getMmsSender(recipients, mms.getUri()); in executeAction() 91 final boolean autoDownload = (!blocked && MmsUtils.allowMmsAutoRetrieve(subId)); in executeAction() 113 message = MmsUtils.createMmsMessage(mms, conversationId, participantId, selfId, in executeAction() 166 MmsUtils.sendNotifyResponseForMmsDownload( in doBackgroundWork() 169 MmsUtils.stringToBytes(transactionId, "UTF-8"), in doBackgroundWork()
|
D | SendMessageAction.java | 37 import com.android.messaging.sms.MmsUtils; 212 final boolean deliveryReportRequired = MmsUtils.isDeliveryReportRequired(subId); in doBackgroundWork() 214 status = MmsUtils.sendSmsMessage(recipient, messageText, messageUri, subId, in doBackgroundWork() 228 updatedMessageUri = MmsUtils.insertSendingMmsMessage(context, recipients, in doBackgroundWork() 246 final MmsUtils.StatusPlusUri result = MmsUtils.sendMmsMessage(context, subId, in doBackgroundWork() 248 if (result == MmsUtils.STATUS_PENDING) { in doBackgroundWork() 258 status = MmsUtils.MMS_REQUEST_MANUAL_RETRY; in doBackgroundWork() 302 MmsUtils.MMS_REQUEST_MANUAL_RETRY, MessageData.RAW_TELEPHONY_STATUS_UNDEFINED, in processBackgroundFailure() 362 if (!MmsUtils.updateSmsMessageSendingStatus(context, message.getSmsMessageUri(), in updateMessageAndStatus() 370 if (!MmsUtils.updateMmsMessageSendingStatus(context, message.getSmsMessageUri(), in updateMessageAndStatus()
|
D | DownloadMmsAction.java | 35 import com.android.messaging.sms.MmsUtils; 261 final MmsUtils.StatusPlusUri status = MmsUtils.downloadMmsMessage(context, in doBackgroundWork() 264 if (status == MmsUtils.STATUS_PENDING) { in doBackgroundWork() 299 MmsUtils.MMS_REQUEST_MANUAL_RETRY, MessageData.RAW_TELEPHONY_STATUS_UNDEFINED, in processBackgroundFailure() 311 MmsUtils.clearMmsStatus(context, messageUri); in updateMessageStatus()
|
D | SyncMessageBatch.java | 39 import com.android.messaging.sms.MmsUtils; 260 final int bugleStatus = MmsUtils.bugleStatusForMms(isOutgoing, isNotification, mms.mType); in storeMms() 268 final MessageData message = MmsUtils.createMmsMessage(mms, conversationId, participantId, in storeMms() 366 for (int start = 0; start < totalIds; start += MmsUtils.MAX_IDS_PER_QUERY) { in batchDelete() 367 final int end = Math.min(start + MmsUtils.MAX_IDS_PER_QUERY, totalIds); //excluding in batchDelete() 373 MmsUtils.getSqlInOperand(count)); in batchDelete()
|
D | SyncMessagesAction.java | 41 import com.android.messaging.sms.MmsUtils; 533 for (int start = 0; start < totalIds; start += MmsUtils.MAX_IDS_PER_QUERY) { in loadMmsParts() 534 final int end = Math.min(start + MmsUtils.MAX_IDS_PER_QUERY, totalIds); //excluding in loadMmsParts() 542 MmsUtils.getSqlInOperand(count)); in loadMmsParts() 550 MmsUtils.MMS_PART_CONTENT_URI, in loadMmsParts() 613 return MmsUtils.getMmsSender(recipients, mms.mUri); in getMmsSender()
|
D | InsertNewMessageAction.java | 36 import com.android.messaging.sms.MmsUtils; 266 final long threadId = MmsUtils.getOrCreateThreadId(Factory.get().getApplicationContext(), in createMessage() 308 final Uri messageUri = MmsUtils.insertSmsMessage(context, in insertBroadcastSmsMessage() 366 threadId = MmsUtils.getOrCreateSmsThreadId(context, recipient); in insertSendingSmsMessage() 379 final Uri messageUri = MmsUtils.insertSmsMessage(context, in insertSendingSmsMessage()
|
D | DeleteConversationAction.java | 35 import com.android.messaging.sms.MmsUtils; 107 final int count = MmsUtils.deleteThread(threadId, cutoffTimestamp); in doBackgroundWork() 165 int count = MmsUtils.deleteMessage(messageUri); in deleteConversationMessagesFromTelephony()
|
D | DeleteMessageAction.java | 30 import com.android.messaging.sms.MmsUtils; 85 count = MmsUtils.deleteMessage(messageUri); in doBackgroundWork()
|
D | MarkAsReadAction.java | 30 import com.android.messaging.sms.MmsUtils; 63 MmsUtils.updateSmsReadStatus(threadId, Long.MAX_VALUE); in executeAction()
|
D | ProcessDeliveryReportAction.java | 32 import com.android.messaging.sms.MmsUtils; 69 MmsUtils.updateSmsStatusAndDateSent(smsMessageUri, status, timeSentInMillis); in executeAction()
|
D | BugleActionToasts.java | 27 import com.android.messaging.sms.MmsUtils; 57 if (!success && status == MmsUtils.MMS_REQUEST_MANUAL_RETRY) { in onSendMessageOrManualDownloadActionCompleted()
|
D | GetOrCreateConversationAction.java | 30 import com.android.messaging.sms.MmsUtils; 102 final long threadId = MmsUtils.getOrCreateThreadId(Factory.get().getApplicationContext(), in executeAction()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsSender.java | 185 MmsUtils.MMS_REQUEST_NO_RETRY, "Failed to compose PDU"); in writePduToTempFile() 189 MmsUtils.MMS_REQUEST_NO_RETRY, in writePduToTempFile() 199 MmsUtils.MMS_REQUEST_AUTO_RETRY, "Cannot create raw mms file"); in writePduToTempFile() 206 MmsUtils.MMS_REQUEST_MANUAL_RETRY, in writePduToTempFile() 296 return MmsUtils.MMS_REQUEST_AUTO_RETRY; in getErrorResultStatus() 301 return MmsUtils.MMS_REQUEST_MANUAL_RETRY; in getErrorResultStatus() 304 return MmsUtils.MMS_REQUEST_NO_RETRY; in getErrorResultStatus() 306 return MmsUtils.MMS_REQUEST_AUTO_RETRY; in getErrorResultStatus() 309 return MmsUtils.MMS_REQUEST_MANUAL_RETRY; in getErrorResultStatus()
|
D | MmsFailureException.java | 39 Assert.isTrue(retryHint == MmsUtils.MMS_REQUEST_AUTO_RETRY in checkRetryHint() 40 || retryHint == MmsUtils.MMS_REQUEST_MANUAL_RETRY in checkRetryHint() 41 || retryHint == MmsUtils.MMS_REQUEST_NO_RETRY); in checkRetryHint()
|
D | SmsReleaseStorage.java | 144 deleted = MmsUtils.deleteMediaMessages(); in deleteMessages() 152 deleted = MmsUtils.deleteMessagesOlderThan(cutOffTimestampInMillis); in deleteMessages()
|
D | MmsUtils.java | 102 public class MmsUtils { class 1033 if (MmsUtils.hasSmsDateSentColumn()) { in parseReceivedSmsMessage() 1178 if (MmsUtils.hasSmsDateSentColumn()) { in updateSmsStatusAndDateSent() 1622 final long rowId = MmsUtils.parseRowIdFromMessageUri(mmsUri); in loadMms() 1726 final MessagePartData messagePart = MmsUtils.createMmsMessagePart(part); in createMmsMessage() 1919 final Uri inboxUri = MmsUtils.insertReceivedMmsMessage(context, retrieveConf, subId, in insertDownloadedMessageAndSendResponse() 2292 mms = MmsUtils.loadMms(messageUri); 2309 final Uri outboxUri = MmsUtils.insertSendReq(context, sendReq, subId, subPhoneNumber); 2328 final DatabaseMessages.MmsMessage mms = MmsUtils.loadMms(messageUri); 2333 message = MmsUtils.createMmsMessage(mms, conversationId, participantId, selfId, [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | MessageDetailsDialog.java | 35 import com.android.messaging.sms.MmsUtils; 129 if (data.getSentTimeStamp() != MmsUtils.INVALID_TIMESTAMP) { in getSmsMessageDetails() 191 if (!TextUtils.isEmpty(MmsUtils.cleanseMmsSubject(res, data.getMmsSubject()))) { in getMmsMessageDetails() 271 mms = MmsUtils.loadMms(Uri.parse(telephonyUri)); in appendDebugInfo() 289 final String recipientsString = MmsUtils.getRawRecipientIdsForThread(threadId); in appendDebugInfo() 296 final List<String> recipients = MmsUtils.getRecipientsByThread(threadId); in appendDebugInfo() 303 final String from = MmsUtils.getMmsSender(recipients, mms.getUri()); in appendDebugInfo()
|
/packages/apps/Messaging/src/com/android/messaging/ui/debug/ |
D | DebugSmsMmsFromDumpFileDialogFragment.java | 41 import com.android.messaging.sms.MmsUtils; 131 if (dumpFileName.startsWith(MmsUtils.SMS_DUMP_PREFIX)) { in receiveFromDumpFile() 140 } else if (dumpFileName.startsWith(MmsUtils.MMS_DUMP_PREFIX)) { in receiveFromDumpFile() 141 final byte[] data = MmsUtils.createDebugNotificationInd(dumpFileName); in receiveFromDumpFile()
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
D | SmsReceiver.java | 45 import com.android.messaging.sms.MmsUtils; 195 if (MmsUtils.isDumpSmsEnabled()) { in deliverSmsIntent() 204 MmsUtils.parseReceivedSmsMessage(context, messages, errorCode); in deliverSmsMessages() 209 final long receivedTimestampMs = MmsUtils.getMessageDate(messages[0], nowInMillis); in deliverSmsMessages()
|
D | SendStatusReceiver.java | 30 import com.android.messaging.sms.MmsUtils; 79 final SmsMessage smsMessage = MmsUtils.getSmsMessageFromDeliveryReport(intent); in onReceive()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | DebugUtils.java | 38 import com.android.messaging.sms.MmsUtils; 236 || filename.startsWith(MmsUtils.MMS_DUMP_PREFIX) in doInBackgroundTimed() 237 || filename.startsWith(MmsUtils.SMS_DUMP_PREFIX)); in doInBackgroundTimed() 252 final String dumpFileName = MmsUtils.SMS_DUMP_PREFIX + Long.toString(id);
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/ |
D | MmsUtils.java | 36 class MmsUtils { class 45 private MmsUtils() {} in MmsUtils() method in MmsUtils
|
D | MessageUtils.java | 167 MmsUtils.isMms(cursor) in parseMessageAtPoint() 168 ? MmsUtils.parseMms(context, cursor) in parseMessageAtPoint()
|