/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | DeleteMessageAction.java | 39 public static void deleteMessage(final String messageId) { in deleteMessage() argument 40 final DeleteMessageAction action = new DeleteMessageAction(messageId); in deleteMessage() 46 private DeleteMessageAction(final String messageId) { in DeleteMessageAction() argument 48 actionParameters.putString(KEY_MESSAGE_ID, messageId); in DeleteMessageAction() 63 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in doBackgroundWork() local 65 if (!TextUtils.isEmpty(messageId)) { in doBackgroundWork() 67 final MessageData message = BugleDatabaseOperations.readMessage(db, messageId); in doBackgroundWork() 70 int count = BugleDatabaseOperations.deleteMessage(db, messageId); in doBackgroundWork() 73 + messageId); in doBackgroundWork() 76 + messageId); in doBackgroundWork() [all …]
|
D | DownloadMmsAction.java | 67 static boolean queueMmsForDownloadInBackground(final String messageId, in queueMmsForDownloadInBackground() argument 72 return action.queueAction(messageId, processingAction); in queueMmsForDownloadInBackground() 111 protected boolean queueAction(final String messageId, final Action processingAction) { in queueAction() argument 112 actionParameters.putString(KEY_MESSAGE_ID, messageId); in queueAction() 116 final MessageData message = BugleDatabaseOperations.readMessage(db, messageId); in queueAction() 141 updateMessageStatus(notificationUri, messageId, conversationId, in queueAction() 151 "DownloadMmsAction: Queued download of MMS message " + messageId); in queueAction() 155 LogUtil.w(TAG, "DownloadMmsAction: Download of MMS message " + messageId in queueAction() 159 updateMessageStatus(notificationUri, messageId, conversationId, in queueAction() 166 messageId, message.getMmsTransactionId(), in queueAction() [all …]
|
D | ProcessDownloadedMmsAction.java | 97 final String messageId = extras.getString(DownloadMmsAction.EXTRA_MESSAGE_ID); in processMessageDownloaded() local 102 Assert.notNull(messageId); in processMessageDownloaded() 111 params.putString(KEY_MESSAGE_ID, messageId); in processMessageDownloaded() 137 public static void processMessageDownloadFastFailed(final String messageId, in processMessageDownloadFastFailed() argument 142 Assert.notNull(messageId); in processMessageDownloadFastFailed() 150 params.putString(KEY_MESSAGE_ID, messageId); in processMessageDownloadFastFailed() 164 public static void processDownloadActionFailure(final String messageId, final int status, in processDownloadActionFailure() argument 167 Assert.notNull(messageId); in processDownloadActionFailure() 174 params.putString(KEY_MESSAGE_ID, messageId); in processDownloadActionFailure() 185 public static void sendDeferredRespStatus(final String messageId, final String transactionId, in sendDeferredRespStatus() argument [all …]
|
D | SendMessageAction.java | 58 static boolean queueForSendInBackground(final String messageId, in queueForSendInBackground() argument 61 return action.queueAction(messageId, processingAction); in queueForSendInBackground() 96 private boolean queueAction(final String messageId, final Action processingAction) { in queueAction() argument 97 actionParameters.putString(KEY_MESSAGE_ID, messageId); in queueAction() 102 final MessageData message = BugleDatabaseOperations.readMessage(db, messageId); in queueAction() 148 LogUtil.d(TAG, "SendMessageAction: Queued SMS message " + messageId in queueAction() 160 LogUtil.d(TAG, "SendMessageAction: Queued MMS message " + messageId in queueAction() 186 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in doBackgroundWork() local 194 + messageId + " in conversation " + message.getConversationId()); in doBackgroundWork() 225 updateMessageUri(messageId, updatedMessageUri); in doBackgroundWork() [all …]
|
D | RedownloadMmsAction.java | 44 public static void redownloadMessage(final String messageId) { in redownloadMessage() argument 45 final RedownloadMmsAction action = new RedownloadMmsAction(messageId); in redownloadMessage() 53 final Context context, final String messageId) { in getPendingIntentForRedownloadMms() argument 54 final Action action = new RedownloadMmsAction(messageId); in getPendingIntentForRedownloadMms() 65 RedownloadMmsAction(final String messageId) { in RedownloadMmsAction() argument 67 actionParameters.putString(KEY_MESSAGE_ID, messageId); in RedownloadMmsAction() 75 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in executeAction() local 79 MessageData message = BugleDatabaseOperations.readMessage(db, messageId); in executeAction()
|
D | ResendMessageAction.java | 40 public static void resendMessage(final String messageId) { in resendMessage() argument 41 final ResendMessageAction action = new ResendMessageAction(messageId); in resendMessage() 51 ResendMessageAction(final String messageId) { in ResendMessageAction() argument 53 actionParameters.putString(KEY_MESSAGE_ID, messageId); in ResendMessageAction() 61 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in executeAction() local 65 final MessageData message = BugleDatabaseOperations.readMessage(db, messageId); in executeAction() 75 LogUtil.i(TAG, "ResendMessageAction: Resending message " + messageId in executeAction() 95 String error = "ResendMessageAction: Cannot resend message " + messageId + "; "; in executeAction()
|
D | ProcessSentMessageAction.java | 99 public static void processMessageSentFastFailed(final String messageId, in processMessageSentFastFailed() argument 106 params.putString(KEY_MESSAGE_ID, messageId); in processMessageSentFastFailed() 127 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in executeAction() local 186 if (messageId != null) { in executeAction() 190 messageId, updatedMessageUri, status, rawStatus, isSms, this, subId, in executeAction() 201 static void processResult(final String messageId, Uri updatedMessageUri, int status, in processResult() argument 205 MessageData message = BugleDatabaseOperations.readMessage(db, messageId); in processResult() 208 LogUtil.w(TAG, "ProcessSentMessageAction: Sent message " + messageId in processResult()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | EmailServiceStub.java | 135 final long messageId = attachment.mMessageKey; in loadAttachment() local 140 cb.loadAttachmentStatus(messageId, attachmentId, in loadAttachment() 148 cb.loadAttachmentStatus(messageId, attachmentId, EmailServiceStatus.SUCCESS, in loadAttachment() 154 cb.loadAttachmentStatus(messageId, attachmentId, EmailServiceStatus.IN_PROGRESS, 0); in loadAttachment() 167 new String[] {Long.toString(messageId)}, null, 0, -1L); in loadAttachment() 182 cb.loadAttachmentStatus(messageId, attachmentId, in loadAttachment() 220 new MessageRetrievalListenerBridge(messageId, attachmentId, cb)); in loadAttachment() 233 cb.loadAttachmentStatus(messageId, attachmentId, EmailServiceStatus.SUCCESS, 0); in loadAttachment() 262 public MessageRetrievalListenerBridge(final long messageId, final long attachmentId, in MessageRetrievalListenerBridge() argument 264 mMessageId = messageId; in MessageRetrievalListenerBridge() [all …]
|
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/ |
D | BluetoothMapEmailProvider.java | 75 protected abstract void WriteMessageToStream(long accountId, long messageId, in WriteMessageToStream() argument 143 long messageId = Long.valueOf(uri.getLastPathSegment()); in readDataFromPipe() local 145 UpdateMimeMessageFromStream(fIn, accountId, messageId); in readDataFromPipe() 175 long messageId) throws IOException; in UpdateMimeMessageFromStream() argument 198 long messageId = Long.parseLong(segments.get(2)); in writeDataToPipe() local 213 WriteMessageToStream(accountId, messageId, includeAttachments, download, fout); in writeDataToPipe() 265 protected void onMessageChanged(String accountId, String messageId) { in onMessageChanged() argument 275 if (messageId == null) { in onMessageChanged() 279 messageId); in onMessageChanged() 283 Log.d(TAG, "onMessageChanged() accountId = " + accountId + " messageId = " + messageId in onMessageChanged() [all …]
|
D | BluetoothMapIMProvider.java | 125 protected void onMessageChanged(String accountId, String messageId) { in onMessageChanged() argument 134 if (messageId == null) { in onMessageChanged() 138 messageId); in onMessageChanged() 142 Log.d(TAG, "onMessageChanged() accountId = " + accountId + " messageId = " + messageId in onMessageChanged() 207 String messageId = uri.getLastPathSegment(); in delete() local 208 if (messageId == null) { in delete() 220 return deleteMessage(accountId, messageId); in delete() 238 protected abstract int deleteMessage(String accountId, String messageId); in deleteMessage() argument 530 Long messageId = values.getAsLong(BluetoothMapContract.MessageColumns._ID); in update() local 531 if (messageId == null) { in update() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BugleDatabaseOperations.java | 559 final String conversationId, final String messageId, final long latestTimestamp, in updateConversationMetadataInTransaction() argument 566 values.put(ConversationColumns.LATEST_MESSAGE_ID, messageId); in updateConversationMetadataInTransaction() 578 final MessageData message = readMessage(dbWrapper, messageId); in updateConversationMetadataInTransaction() 600 final String conversationId, final String messageId, final long latestTimestamp, in updateConversationMetadataInTransaction() argument 604 db, conversationId, messageId, latestTimestamp, keepArchived, null, in updateConversationMetadataInTransaction() 789 final String messageId, final ContentValues values) { in updateMessageRowIfExists() argument 792 messageId, values); in updateMessageRowIfExists() 797 final String messageId, final ContentValues values) { in updateMessageRow() argument 799 final boolean exists = updateMessageRowIfExists(dbWrapper, messageId, values); in updateMessageRow() 1010 public static MessageData readMessage(final DatabaseWrapper dbWrapper, final String messageId) { in readMessage() argument [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnection.java | 312 int messageId = -1; in getSuppServiceMessage() local 316 messageId = R.string.supp_service_notification_call_deflected; in getSuppServiceMessage() 319 messageId = R.string.supp_service_notification_call_forwarded; in getSuppServiceMessage() 322 messageId = R.string.supp_service_notification_call_waiting; in getSuppServiceMessage() 325 messageId = R.string.supp_service_clir_suppression_rejected; in getSuppServiceMessage() 328 messageId = R.string.supp_service_closed_user_group_call; in getSuppServiceMessage() 331 messageId = R.string.supp_service_incoming_calls_barred; in getSuppServiceMessage() 334 messageId = R.string.supp_service_outgoing_calls_barred; in getSuppServiceMessage() 339 messageId = R.string.supp_service_call_forwarding_active; in getSuppServiceMessage() 345 messageId = R.string.supp_service_additional_call_forwarded; in getSuppServiceMessage() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | ContactMultiDeletionInteraction.java | 236 final int messageId; in onLoadFinished() local 239 messageId = R.string.batch_delete_multiple_accounts_confirmation; in onLoadFinished() 241 messageId = R.string.batch_delete_read_only_contact_confirmation; in onLoadFinished() 244 messageId = R.string.single_delete_confirmation; in onLoadFinished() 247 messageId = R.string.batch_delete_confirmation; in onLoadFinished() 260 showDialog(messageId, positiveButtonId, contactIdArray, namesArray); in onLoadFinished() 271 private void showDialog(int messageId, int positiveButtonId, final long[] contactIds, in showDialog() argument 275 .setMessage(messageId) in showDialog()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | RcsProviderMessageHelper.java | 506 SQLiteDatabase dbInTransaction, long messageId, String threadId) { in insertMessageDeliveriesForOutgoingMessageCreation() argument 519 long insertionRow = insertMessageDelivery(Long.toString(messageId), participantId, in insertMessageDeliveriesForOutgoingMessageCreation() 531 String messageId = getMessageIdFromUri(uri); in insertMessageDelivery() local 533 return insertMessageDelivery(messageId, participantId, values); in insertMessageDelivery() 536 private long insertMessageDelivery(String messageId, String participantId, in insertMessageDelivery() argument 539 values.put(MESSAGE_ID_COLUMN, messageId); in insertMessageDelivery() 547 String messageId = getMessageIdFromUri(uri); in updateDelivery() local 553 new String[]{messageId, participantId}); in updateDelivery() 602 String messageId = getMessageIdFromUri(uri); in queryOutgoingMessageDeliveries() local 606 new String[]{messageId}, null, null, null); in queryOutgoingMessageDeliveries() [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | EmailContent.java | 539 public static Body restoreBodyWithMessageId(Context context, long messageId) { in restoreBodyWithMessageId() argument 542 new String[] {Long.toString(messageId)}, null); in restoreBodyWithMessageId() 550 public static long lookupBodyIdWithMessageId(Context context, long messageId) { in lookupBodyIdWithMessageId() argument 553 new String[] {Long.toString(messageId)}, null, ID_PROJECTION_COLUMN, -1L); in lookupBodyIdWithMessageId() 561 public static void updateBodyWithMessageId(Context context, long messageId, in updateBodyWithMessageId() argument 564 long bodyId = lookupBodyIdWithMessageId(context, messageId); in updateBodyWithMessageId() 565 values.put(BodyColumns.MESSAGE_KEY, messageId); in updateBodyWithMessageId() 575 public static long restoreBodySourceKey(Context context, long messageId) { in restoreBodySourceKey() argument 578 BodyColumns.MESSAGE_KEY + "=?", new String[] {Long.toString(messageId)}, null, in restoreBodySourceKey() 582 public static Uri getBodyTextUriForMessageWithId(long messageId) { in getBodyTextUriForMessageWithId() argument [all …]
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | EmailMessageCursor.java | 68 final long messageId = cursor.getLong(cursor.getColumnIndex(BaseColumns._ID)); in EmailMessageCursor() local 71 final Uri htmlUri = Body.getBodyHtmlUriForMessageWithId(messageId); in EmailMessageCursor() 83 LogUtils.v(LogUtils.TAG, e, "Did not find html body for message %d", messageId); in EmailMessageCursor() 87 final Uri textUri = Body.getBodyTextUriForMessageWithId(messageId); in EmailMessageCursor() 98 LogUtils.v(LogUtils.TAG, e, "Did not find text body for message %d", messageId); in EmailMessageCursor()
|
D | EmailProvider.java | 620 for (long messageId: deleteList) { in deleteMessageOrphans() 621 bindArray[0] = Long.toString(messageId); in deleteMessageOrphans() 768 final long messageId = Long.valueOf(id); in delete() local 770 deleteBodyFiles(context, messageId); in delete() 780 final long messageId = orphans.getLong(0); in delete() local 782 deleteBodyFiles(context, messageId); in delete() 928 final long messageId = values.getAsLong(BodyColumns.MESSAGE_KEY); in insert() local 930 deleteBodyFiles(context, messageId); in insert() 931 writeBodyFiles(getContext(), messageId, values); in insert() local 1781 private void addToMessageMove(final SQLiteDatabase db, final String messageId, in addToMessageMove() argument [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ConversationData.java | 92 final long messageId = c.getLong(0); in getPositions() local 93 if (idsSet.contains(messageId)) { in getPositions() 651 final String messageId) { in downloadMessage() argument 653 Assert.notNull(messageId); in downloadMessage() 654 RedownloadMmsAction.redownloadMessage(messageId); in downloadMessage() 657 public void resendMessage(final BindingBase<ConversationData> binding, final String messageId) { in resendMessage() argument 659 Assert.notNull(messageId); in resendMessage() 660 ResendMessageAction.resendMessage(messageId); in resendMessage() 663 public void deleteMessage(final BindingBase<ConversationData> binding, final String messageId) { in deleteMessage() argument 665 Assert.notNull(messageId); in deleteMessage() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/ |
D | SyncMessage.java | 38 private final String messageId; field in SyncMessage 55 + messageId in toString() 69 messageId = getString(wrappedData, OmtpConstants.MESSAGE_UID); in SyncMessage() 106 return messageId; in getId()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationFragment.java | 308 final String messageId = data.getMessageId(); 329 deleteMessage(messageId); 334 retryDownload(messageId); 340 retrySend(messageId); 1108 public void retryDownload(final String messageId) { in retryDownload() argument 1110 mBinding.getData().downloadMessage(mBinding, messageId); in retryDownload() 1117 public void retrySend(final String messageId) { in retrySend() argument 1120 mBinding.getData().resendMessage(mBinding, messageId); in retrySend() 1127 retrySend(messageId); in retrySend() 1134 void deleteMessage(final String messageId) { in deleteMessage() argument [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | AttachmentUtilities.java | 300 public static void deleteAllAttachmentFiles(Context context, long accountId, long messageId) { in deleteAllAttachmentFiles() argument 301 Uri uri = ContentUris.withAppendedId(Attachment.MESSAGE_ID_URI, messageId); in deleteAllAttachmentFiles() 326 long messageId) { in deleteAllCachedAttachmentFiles() argument 327 final Uri uri = ContentUris.withAppendedId(Attachment.MESSAGE_ID_URI, messageId); in deleteAllCachedAttachmentFiles() 360 long messageId = c.getLong(Message.ID_PROJECTION_COLUMN); in deleteAllMailboxAttachmentFiles() local 361 deleteAllAttachmentFiles(context, accountId, messageId); in deleteAllMailboxAttachmentFiles()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ProviderTestUtils.java | 211 public static Body setupBody(long messageId, String textContent, String htmlContent, in setupBody() argument 214 body.mMessageKey = messageId; in setupBody() 217 body.mSourceKey = messageId + 0x1000; in setupBody() 235 public static Attachment setupAttachment(long messageId, String fileName, long length, in setupAttachment() argument 242 att.mMessageKey = messageId; in setupAttachment() 249 att.mAccountKey = messageId + 0x1000; in setupAttachment() 265 public static Attachment setupAttachment(long messageId, String fileName, long length, in setupAttachment() argument 267 return setupAttachment(messageId, fileName, length, 0, saveIt, context); in setupAttachment()
|
/packages/apps/Camera2/src/com/android/camera/session/ |
D | CaptureSessionManagerImpl.java | 159 public void notifyTaskProgressText(final Uri uri, final int messageId) { in notifyTaskProgressText() argument 165 listener.onSessionProgressText(uri, messageId); in notifyTaskProgressText() 331 Integer messageId = mFailedSessionMessages.get(uri); in getErrorMessageId() local 332 if (messageId != null) { in getErrorMessageId() 333 return messageId; in getErrorMessageId()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | ConfirmLockdownFragment.java | 86 final int messageId; in onCreateDialog() local 88 messageId = replacing in onCreateDialog() 92 messageId = wasLockdown in onCreateDialog() 99 .setMessage(messageId) in onCreateDialog()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | ConfirmLockdownFragment.java | 86 final int messageId; in onCreateDialog() local 88 messageId = replacing in onCreateDialog() 92 messageId = wasLockdown in onCreateDialog() 99 .setMessage(messageId) in onCreateDialog()
|