Home
last modified time | relevance | path

Searched refs:messageUri (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSendMessageAction.java108 final Uri messageUri = message.getSmsMessageUri(); in queueAction() local
128 actionParameters.putParcelable(KEY_MESSAGE_URI, messageUri); in queueAction()
186 Uri messageUri = actionParameters.getParcelable(KEY_MESSAGE_URI); in doBackgroundWork() local
199 Assert.notNull(messageUri); in doBackgroundWork()
205 status = MmsUtils.sendSmsMessage(recipient, messageText, messageUri, subId, in doBackgroundWork()
211 if (messageUri == null) { in doBackgroundWork()
222 messageUri = updatedMessageUri; in doBackgroundWork()
228 + " with new uri " + messageUri); in doBackgroundWork()
232 if (messageUri != null) { in doBackgroundWork()
238 messageUri, extras); in doBackgroundWork()
[all …]
DDeleteConversationAction.java151 String messageUri = cursor.getString(0); in deleteConversationMessagesFromTelephony() local
153 messageUris.add(Uri.parse(messageUri)); in deleteConversationMessagesFromTelephony()
156 + messageUri); in deleteConversationMessagesFromTelephony()
164 for (Uri messageUri : messageUris) { in deleteConversationMessagesFromTelephony()
165 int count = MmsUtils.deleteMessage(messageUri); in deleteConversationMessagesFromTelephony()
169 + messageUri); in deleteConversationMessagesFromTelephony()
173 + messageUri); in deleteConversationMessagesFromTelephony()
DDeleteMessageAction.java82 final Uri messageUri = message.getSmsMessageUri(); in doBackgroundWork() local
83 if (messageUri != null) { in doBackgroundWork()
85 count = MmsUtils.deleteMessage(messageUri); in doBackgroundWork()
88 + messageUri); in doBackgroundWork()
92 + messageUri); in doBackgroundWork()
DInsertNewMessageAction.java308 final Uri messageUri = MmsUtils.insertSmsMessage(context, in insertBroadcastSmsMessage() local
316 if (messageUri != null && !TextUtils.isEmpty(messageUri.toString())) { in insertBroadcastSmsMessage()
319 message.updateSendingMessage(conversationId, messageUri, laterTimestamp); in insertBroadcastSmsMessage()
379 final Uri messageUri = MmsUtils.insertSmsMessage(context, in insertSendingSmsMessage() local
389 if (messageUri != null && !TextUtils.isEmpty(messageUri.toString())) { in insertSendingSmsMessage()
394 message.updateSendingMessage(conversationId, messageUri, timestamp); in insertSendingSmsMessage()
DProcessSentMessageAction.java77 public static void processMmsSent(final int resultCode, final Uri messageUri, in processMmsSent() argument
84 params.putParcelable(KEY_MESSAGE_URI, messageUri); in processMmsSent()
100 final Uri messageUri, final Uri updatedMessageUri, final int subId, final boolean isSms, in processMessageSentFastFailed() argument
107 params.putParcelable(KEY_MESSAGE_URI, messageUri); in processMessageSentFastFailed()
128 final Uri messageUri = actionParameters.getParcelable(KEY_MESSAGE_URI); in executeAction() local
162 MmsUtils.updateSentMmsMessageStatus(context, messageUri, sendConf); in executeAction()
DReceiveSmsMessageAction.java113 final Uri messageUri = context.getContentResolver().insert(Sms.Inbox.CONTENT_URI, in executeAction() local
116 if (messageUri != null) { in executeAction()
119 + "uri = " + messageUri); in executeAction()
143 message = MessageData.createReceivedSmsMessage(messageUri, conversationId, in executeAction()
160 + ", uri = " + messageUri); in executeAction()
DProcessDownloadedMmsAction.java339 final Uri messageUri = response.getParcelable(BUNDLE_MMS_URI); in processBackgroundResponse() local
344 final MessageData message = processResult(status, rawStatus, messageUri); in processBackgroundResponse()
379 final boolean failed = (messageUri == null); in processBackgroundResponse()
DDownloadMmsAction.java305 static void updateMessageStatus(final Uri messageUri, final String messageId, in updateMessageStatus() argument
311 MmsUtils.clearMmsStatus(context, messageUri); in updateMessageStatus()
DSyncMessageBatch.java291 DatabaseWrapper db, String messageUri, long threadId, String conversationId, in rethrowSQLiteConstraintExceptionWithDetails() argument
323 String errorMsg = "SQLiteConstraintException while inserting message for " + messageUri in rethrowSQLiteConstraintExceptionWithDetails()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsSender.java67 public static void sendMms(final Context context, final int subId, final Uri messageUri, in sendMms() argument
71 messageUri, in sendMms()
95 final Uri messageUri = Uri.parse(contentLocation); in sendNotifyResponseForMmsDownload() local
99 messageUri, in sendNotifyResponseForMmsDownload()
124 final Uri messageUri = Uri.parse(contentLocation); in sendAcknowledgeForMmsDownload() local
128 messageUri, in sendAcknowledgeForMmsDownload()
146 private static void sendMms(final Context context, final int subId, final Uri messageUri, in sendMms() argument
154 messageUri, in sendMms()
DSmsSender.java182 final Uri messageUri) throws SmsException { in sendMessage() argument
188 " requestId=" + messageUri); in sendMessage()
218 sPendingMessageMap.put(messageUri, pendingResult); in sendMessage()
221 context, subId, dest, messages, serviceCenter, requireDeliveryReport, messageUri); in sendMessage()
242 sPendingMessageMap.remove(messageUri); in sendMessage()
253 final boolean requireDeliveryReport, final Uri messageUri) throws SmsException { in sendInternal() argument
269 messageUri, partId, subId), in sendInternal()
278 messageUri, partId, subId), in sendInternal()
DMmsUtils.java1143 public static long parseRowIdFromMessageUri(final Uri messageUri) { in parseRowIdFromMessageUri() argument
1145 if (messageUri != null) { in parseRowIdFromMessageUri()
1146 return ContentUris.parseId(messageUri); in parseRowIdFromMessageUri()
1884 Uri messageUri = null; in insertDownloadedMessageAndSendResponse() local
1921 messageUri = ContentUris.withAppendedId(Mms.CONTENT_URI, ContentUris.parseId(inboxUri)); in insertDownloadedMessageAndSendResponse()
1925 return new StatusPlusUri(status, retrieveStatus, messageUri); in insertDownloadedMessageAndSendResponse()
2043 final Uri messageUri, final Bundle extras) { in sendMmsMessage() argument
2050 messageUri, in sendMmsMessage()
2055 final SendReq sendReq = (SendReq) persister.load(messageUri); in sendMmsMessage()
2057 LogUtil.w(TAG, "MmsUtils: Sending MMS was deleted; uri = " + messageUri); in sendMmsMessage()
[all …]
/packages/services/Mms/src/com/android/mms/service/
DMmsService.java291 public boolean deleteStoredMessage(String callingPkg, Uri messageUri)
293 LogUtil.d("deleteStoredMessage " + messageUri);
295 if (!isSmsMmsContentUri(messageUri)) {
296 LogUtil.e("deleteStoredMessage: invalid message URI: " + messageUri.toString());
305 messageUri, null/*where*/, null/*selectionArgs*/) != 1) {
346 public boolean updateStoredMessageStatus(String callingPkg, Uri messageUri,
348 LogUtil.d("updateStoredMessageStatus " + messageUri);
350 return updateMessageStatus(messageUri, statusValues);
381 public void sendStoredMessage(int subId, String callingPkg, Uri messageUri,
686 private boolean updateMessageStatus(Uri messageUri, ContentValues statusValues) { in updateMessageStatus() argument
[all …]
DDownloadRequest.java144 final Uri messageUri = persister.persist( in persistIfRequired() local
150 if (messageUri == null) { in persistIfRequired()
166 messageUri, in persistIfRequired()
182 return messageUri; in persistIfRequired()
DSendRequest.java191 final Uri messageUri = persister.persist( in persistIfRequired() local
197 if (messageUri == null) { in persistIfRequired()
234 if (SqliteWrapper.update(context, context.getContentResolver(), messageUri, values, in persistIfRequired()
238 return messageUri; in persistIfRequired()
DMmsRequest.java215 final Uri messageUri = persistIfRequired(context, result, response); in processResult() local
226 if (messageUri != null) { in processResult()
227 fillIn.putExtra("uri", messageUri.toString()); in processResult()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessageData.java314 public static MessageData createSmsMessage(final String messageUri, final String participantId, in createSmsMessage() argument
328 message.mSmsMessageUri = Uri.parse(messageUri); in createSmsMessage()
336 public static MessageData createMmsMessage(final String messageUri, final String participantId, in createMmsMessage() argument
354 message.mSmsMessageUri = Uri.parse(messageUri); in createMmsMessage()
754 public final void updateSendingMessage(final String conversationId, final Uri messageUri, in updateSendingMessage() argument
757 mSmsMessageUri = messageUri; in updateSendingMessage()
/packages/apps/Messaging/src/com/android/messaging/receiver/
DSendStatusReceiver.java72 final Uri messageUri = intent.getData(); in onReceive() local
73 ProcessSentMessageAction.processMmsSent(resultCode, messageUri, in onReceive()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DMmsFileProvider.java96 Uri messageUri = Mms.CONTENT_URI.buildUpon().appendEncodedPath(idStr).build(); in openFile() local
98 return openPipeHelper(messageUri, null, null, null, mPipeWriter); in openFile()
DBluetoothMapContentObserver.java3378 Uri messageUri = intent.getData(); in actionMessageDelivery() local
3390 Log.d(TAG, "actionMessageDelivery: uri=" + messageUri + ", status=" in actionMessageDelivery()
3400 Log.d(TAG, "Can't find message for status update: " + messageUri); in actionMessageDelivery()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastHandler.java490 protected void broadcastMessage(@NonNull SmsCbMessage message, @Nullable Uri messageUri, in broadcastMessage() argument
550 if (messageUri != null) { in broadcastMessage()
554 CellBroadcasts._ID + "=?", new String[] {messageUri.getLastPathSegment()}); in broadcastMessage()