/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ProcessDownloadedMmsAction.java | 46 import com.android.messaging.sms.MmsUtils; 224 MmsUtils.sendNotifyResponseForMmsDownload( in doBackgroundWork() 227 MmsUtils.stringToBytes(transactionId, "UTF-8"), in doBackgroundWork() 238 int rawStatus = MmsUtils.PDU_HEADER_VALUE_UNDEFINED; in doBackgroundWork() 269 if (MmsUtils.isDumpMmsEnabled()) { in doBackgroundWork() 270 MmsUtils.dumpPdu(downloadedData, retrieveConf); in doBackgroundWork() 287 final MmsUtils.StatusPlusUri result = in doBackgroundWork() 288 MmsUtils.insertDownloadedMessageAndSendResponse(context, in doBackgroundWork() 297 status = MmsUtils.MMS_REQUEST_MANUAL_RETRY; in doBackgroundWork() 301 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() 215 final MessageData update = MmsUtils.readSendingMmsMessage(updatedMessageUri, in processResult() 230 status = MmsUtils.MMS_REQUEST_MANUAL_RETRY; in processResult() 237 if (status == MmsUtils.MMS_REQUEST_SUCCEEDED) { in processResult() 240 } else if (status == MmsUtils.MMS_REQUEST_AUTO_RETRY in processResult() 255 if (status != MmsUtils.MMS_REQUEST_SUCCEEDED) { in processResult() [all …]
|
D | SendMessageAction.java | 37 import com.android.messaging.sms.MmsUtils; 204 final boolean deliveryReportRequired = MmsUtils.isDeliveryReportRequired(subId); in doBackgroundWork() 206 status = MmsUtils.sendSmsMessage(recipient, messageText, messageUri, subId, in doBackgroundWork() 220 updatedMessageUri = MmsUtils.insertSendingMmsMessage(context, recipients, in doBackgroundWork() 238 final MmsUtils.StatusPlusUri result = MmsUtils.sendMmsMessage(context, subId, in doBackgroundWork() 240 if (result == MmsUtils.STATUS_PENDING) { in doBackgroundWork() 250 status = MmsUtils.MMS_REQUEST_MANUAL_RETRY; in doBackgroundWork() 294 MmsUtils.MMS_REQUEST_MANUAL_RETRY, MessageData.RAW_TELEPHONY_STATUS_UNDEFINED, in processBackgroundFailure() 357 if (!MmsUtils.updateSmsMessageSendingStatus(context, message.getSmsMessageUri(), in updateMessageAndStatus() 365 if (!MmsUtils.updateMmsMessageSendingStatus(context, message.getSmsMessageUri(), in updateMessageAndStatus()
|
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 | DownloadMmsAction.java | 35 import com.android.messaging.sms.MmsUtils; 257 final MmsUtils.StatusPlusUri status = MmsUtils.downloadMmsMessage(context, in doBackgroundWork() 260 if (status == MmsUtils.STATUS_PENDING) { in doBackgroundWork() 295 MmsUtils.MMS_REQUEST_MANUAL_RETRY, MessageData.RAW_TELEPHONY_STATUS_UNDEFINED, in processBackgroundFailure() 307 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; 265 final long threadId = MmsUtils.getOrCreateThreadId(Factory.get().getApplicationContext(), in createMessage() 307 final Uri messageUri = MmsUtils.insertSmsMessage(context, in insertBroadcastSmsMessage() 365 threadId = MmsUtils.getOrCreateSmsThreadId(context, recipient); in insertSendingSmsMessage() 378 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 | 104 public class MmsUtils { class 1027 if (MmsUtils.hasSmsDateSentColumn()) { in parseReceivedSmsMessage() 1214 if (MmsUtils.hasSmsDateSentColumn()) { in updateSmsStatusAndDateSent() 1658 final long rowId = MmsUtils.parseRowIdFromMessageUri(mmsUri); in loadMms() 1762 final MessagePartData messagePart = MmsUtils.createMmsMessagePart(part); in createMmsMessage() 1950 final Uri inboxUri = MmsUtils.insertReceivedMmsMessage(context, retrieveConf, subId, in insertDownloadedMessageAndSendResponse() 2362 mms = MmsUtils.loadMms(messageUri); 2379 final Uri outboxUri = MmsUtils.insertSendReq(context, sendReq, subId, subPhoneNumber); 2398 final DatabaseMessages.MmsMessage mms = MmsUtils.loadMms(messageUri); 2403 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; 194 if (MmsUtils.isDumpSmsEnabled()) { in deliverSmsIntent() 203 MmsUtils.parseReceivedSmsMessage(context, messages, errorCode); in deliverSmsMessages() 208 final long receivedTimestampMs = MmsUtils.getMessageDate(messages[0], nowInMillis); in deliverSmsMessages()
|
D | SendStatusReceiver.java | 29 import com.android.messaging.sms.MmsUtils; 78 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/Messaging/src/com/android/messaging/datamodel/ |
D | NoConfirmationSmsSendService.java | 31 import com.android.messaging.sms.MmsUtils; 87 final String recipients = intentUri != null ? MmsUtils.getSmsRecipients(intentUri) : null; in onHandleIntent()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | MessagePartData.java | 36 import com.android.messaging.sms.MmsUtils; 494 return MmsUtils.MIN_IMAGE_BYTE_SIZE; in getMinimumSizeInBytesForSending() 501 return MmsUtils.MIN_VIDEO_BYTES_PER_SECOND * mediaDurationMs in getMinimumSizeInBytesForSending()
|