/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
DeleteMessageAction.java | 82 final Uri messageUri = message.getSmsMessageUri(); 83 if (messageUri != null) { 85 count = MmsUtils.deleteMessage(messageUri); 88 + messageUri); 92 + messageUri);
|
DeleteConversationAction.java | 151 String messageUri = cursor.getString(0); 153 messageUris.add(Uri.parse(messageUri)); 156 + messageUri); 164 for (Uri messageUri : messageUris) { 165 int count = MmsUtils.deleteMessage(messageUri); 169 + messageUri); 173 + messageUri);
|
SendMessageAction.java | 109 final Uri messageUri = message.getSmsMessageUri(); 120 if (!updateMessageAndStatus(isSms, message, null /* messageUri */, false /*notify*/)) { 129 actionParameters.putParcelable(KEY_MESSAGE_URI, messageUri); 187 Uri messageUri = actionParameters.getParcelable(KEY_MESSAGE_URI); 200 Assert.notNull(messageUri); 206 status = MmsUtils.sendSmsMessage(recipient, messageText, messageUri, subId, 212 if (messageUri == null) { 223 messageUri = updatedMessageUri; 229 + " with new uri " + messageUri); 233 if (messageUri != null) [all...] |
ReceiveSmsMessageAction.java | 112 final Uri messageUri = context.getContentResolver().insert(Sms.Inbox.CONTENT_URI, 115 if (messageUri != null) { 118 + "uri = " + messageUri); 142 message = MessageData.createReceivedSmsMessage(messageUri, conversationId, 159 + ", uri = " + messageUri);
|
ProcessSentMessageAction.java | 77 public static void processMmsSent(final int resultCode, final Uri messageUri, 84 params.putParcelable(KEY_MESSAGE_URI, messageUri); 100 final Uri messageUri, final Uri updatedMessageUri, final int subId, final boolean isSms, 107 params.putParcelable(KEY_MESSAGE_URI, messageUri); 128 final Uri messageUri = actionParameters.getParcelable(KEY_MESSAGE_URI); 162 MmsUtils.updateSentMmsMessageStatus(context, messageUri, sendConf);
|
InsertNewMessageAction.java | 307 final Uri messageUri = MmsUtils.insertSmsMessage(context, 315 if (messageUri != null && !TextUtils.isEmpty(messageUri.toString())) { 318 message.updateSendingMessage(conversationId, messageUri, laterTimestamp); 378 final Uri messageUri = MmsUtils.insertSmsMessage(context, 388 if (messageUri != null && !TextUtils.isEmpty(messageUri.toString())) { 393 message.updateSendingMessage(conversationId, messageUri, timestamp); 435 message.updateSendingMessage(conversationId, null/*messageUri*/, timestamp);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
IMms.aidl | 102 * @param messageUri the URI of the stored message 105 boolean deleteStoredMessage(String callingPkg, in Uri messageUri); 121 * @param messageUri the URI of the stored message 125 boolean updateStoredMessageStatus(String callingPkg, in Uri messageUri, 165 * @param messageUri the URI of the stored message 171 void sendStoredMessage(int subId, String callingPkg, in Uri messageUri,
|
ISms.aidl | 392 * @param messageUri the URI of the stored message 411 void sendStoredText(int subId, String callingPkg, in Uri messageUri, String scAddress, 424 * @param messageUri the URI of the stored message 447 void sendStoredMultipartText(int subId, String callingPkg, in Uri messageUri,
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
SendStatusReceiver.java | 71 final Uri messageUri = intent.getData(); 72 ProcessSentMessageAction.processMmsSent(resultCode, messageUri,
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
MmsSender.java | 63 * @param messageUri The unique URI of the message for identifying it during sending 67 public static void sendMms(final Context context, final int subId, final Uri messageUri, 71 messageUri, 95 final Uri messageUri = Uri.parse(contentLocation); 99 messageUri, 124 final Uri messageUri = Uri.parse(contentLocation); 128 messageUri, 139 * @param messageUri The unique URI of the message for identifying it during sending 146 private static void sendMms(final Context context, final int subId, final Uri messageUri, 154 messageUri, [all...] |
SmsSender.java | 185 final Uri messageUri) throws SmsException { 191 " requestId=" + messageUri); 221 sPendingMessageMap.put(messageUri, pendingResult); 224 context, subId, dest, messages, serviceCenter, requireDeliveryReport, messageUri); 245 sPendingMessageMap.remove(messageUri); 256 final boolean requireDeliveryReport, final Uri messageUri) throws SmsException { 272 messageUri, partId, subId), 281 messageUri, partId, subId),
|
MmsUtils.java | [all...] |
/frameworks/base/services/core/java/com/android/server/ |
MmsServiceBroker.java | 155 public boolean deleteStoredMessage(String callingPkg, Uri messageUri) 167 public boolean updateStoredMessageStatus(String callingPkg, Uri messageUri, 191 public void sendStoredMessage(int subId, String callingPkg, Uri messageUri, 400 public boolean deleteStoredMessage(String callingPkg, Uri messageUri) 406 return getServiceGuarded().deleteStoredMessage(callingPkg, messageUri); 420 public boolean updateStoredMessageStatus(String callingPkg, Uri messageUri, 427 .updateStoredMessageStatus(callingPkg, messageUri, statusValues); 466 public void sendStoredMessage(int subId, String callingPkg, Uri messageUri, 472 getServiceGuarded().sendStoredMessage(subId, callingPkg, messageUri, configOverrides,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
ImsSMSDispatcher.java | 175 ArrayList<PendingIntent> deliveryIntents, Uri messageUri, String callingPkg, 179 parts, sentIntents, deliveryIntents, messageUri, callingPkg, persistMessage); 182 parts, sentIntents, deliveryIntents, messageUri, callingPkg, persistMessage); 201 PendingIntent deliveryIntent, Uri messageUri, String callingPkg, 206 text, sentIntent, deliveryIntent, messageUri, callingPkg, persistMessage); 209 text, sentIntent, deliveryIntent, messageUri, callingPkg, persistMessage); 367 AtomicInteger unsentPartCount, AtomicBoolean anyPartFailed, Uri messageUri,
|
IccSmsInterfaceManager.java | 454 null/*messageUri*/, callingPackage, persistMessageForNonDefaultSmsApp); 550 null/*messageUri*/, callingPackage, 558 null/*messageUri*/, callingPackage, persistMessageForNonDefaultSmsApp); [all...] |
UiccSmsController.java | 368 public void sendStoredText(int subId, String callingPkg, Uri messageUri, String scAddress, 372 iccSmsIntMgr.sendStoredText(callingPkg, messageUri, scAddress, sentIntent, 381 public void sendStoredMultipartText(int subId, String callingPkg, Uri messageUri, 386 iccSmsIntMgr.sendStoredMultipartText(callingPkg, messageUri, scAddress, sentIntents,
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/protos/mock/ |
MockUiProviderTests.java | 160 Uri messageUri; 166 messageUri = Uri.parse(convFoldersCursor.getString(messageUriCol)); 167 messageUris.add(messageUri); 172 messageUri = Uri.parse(convFoldersCursor.getString(messageUriCol)); 173 messageUris.add(messageUri);
|
/frameworks/opt/telephony/src/java/android/telephony/ |
SmsManager.java | [all...] |
/packages/services/Mms/src/com/android/mms/service/ |
MmsService.java | 239 public boolean deleteStoredMessage(String callingPkg, Uri messageUri) 241 LogUtil.d("deleteStoredMessage " + messageUri); 243 if (!isSmsMmsContentUri(messageUri)) { 244 LogUtil.e("deleteStoredMessage: invalid message URI: " + messageUri.toString()); 253 messageUri, null/*where*/, null/*selectionArgs*/) != 1) { 294 public boolean updateStoredMessageStatus(String callingPkg, Uri messageUri, 296 LogUtil.d("updateStoredMessageStatus " + messageUri); 298 return updateMessageStatus(messageUri, statusValues); 329 public void sendStoredMessage(int subId, String callingPkg, Uri messageUri, 601 private boolean updateMessageStatus(Uri messageUri, ContentValues statusValues) [all...] |
DownloadRequest.java | 145 final Uri messageUri = persister.persist( 151 if (messageUri == null) { 167 messageUri, 183 return messageUri;
|
MmsRequest.java | 214 final Uri messageUri = persistIfRequired(context, result, response); 225 if (messageUri != null) { 226 fillIn.putExtra("uri", messageUri.toString());
|
SendRequest.java | 177 final Uri messageUri = persister.persist( 183 if (messageUri == null) { 218 if (SqliteWrapper.update(context, context.getContentResolver(), messageUri, values, 222 return messageUri;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
MmsFileProvider.java | 97 Uri messageUri = Mms.CONTENT_URI.buildUpon().appendEncodedPath(idStr).build(); 99 return openPipeHelper (messageUri, null, null, null, mPipeWriter);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaSMSDispatcher.java | 116 null /*messageUri*/, false /*isExpectMore*/, null /*fullMessageText*/, 143 PendingIntent deliveryIntent, Uri messageUri, String callingPkg, 150 messageUri, false /*isExpectMore*/, text, true /*isText*/, persistMessage); 191 AtomicInteger unsentPartCount, AtomicBoolean anyPartFailed, Uri messageUri, 213 getFormat(), unsentPartCount, anyPartFailed, messageUri, smsHeader,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmSMSDispatcher.java | 160 null /*messageUri*/, false /*isExpectMore*/, null /*fullMessageText*/, 181 PendingIntent deliveryIntent, Uri messageUri, String callingPkg, 188 messageUri, false /*isExpectMore*/, text /*fullMessageText*/, true /*isText*/, 223 AtomicInteger unsentPartCount, AtomicBoolean anyPartFailed, Uri messageUri, 232 deliveryIntent, getFormat(), unsentPartCount, anyPartFailed, messageUri,
|