/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | DownloadMmsAction.java | 114 actionParameters.putString(KEY_MESSAGE_ID, messageId); in queueAction() 128 actionParameters.putInt(KEY_SUB_ID, subId); in queueAction() 129 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); in queueAction() 130 actionParameters.putString(KEY_PARTICIPANT_ID, message.getParticipantId()); in queueAction() 131 actionParameters.putString(KEY_CONTENT_LOCATION, message.getMmsContentLocation()); in queueAction() 132 actionParameters.putString(KEY_TRANSACTION_ID, message.getMmsTransactionId()); in queueAction() 133 actionParameters.putParcelable(KEY_NOTIFICATION_URI, notificationUri); in queueAction() 134 actionParameters.putBoolean(KEY_AUTO_DOWNLOAD, isAutoDownload(status)); in queueAction() 135 actionParameters.putLong(KEY_EXPIRY, message.getMmsExpiry()); in queueAction() 140 actionParameters.putString(KEY_SUB_PHONE_NUMBER, self.getNormalizedDestination()); in queueAction() [all …]
|
D | ProcessDownloadedMmsAction.java | 110 final Bundle params = action.actionParameters; in processMessageDownloaded() 150 final Bundle params = action.actionParameters; in processMessageDownloadFastFailed() 174 final Bundle params = action.actionParameters; in processDownloadActionFailure() 190 final Bundle params = action.actionParameters; in sendDeferredRespStatus() 213 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID); in doBackgroundWork() 214 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in doBackgroundWork() 215 final String transactionId = actionParameters.getString(KEY_TRANSACTION_ID); in doBackgroundWork() 216 final String contentLocation = actionParameters.getString(KEY_CONTENT_LOCATION); in doBackgroundWork() 218 actionParameters.getBoolean(KEY_SEND_DEFERRED_RESP_STATUS, false); in doBackgroundWork() 236 final boolean downloadedByPlatform = actionParameters.getBoolean( in doBackgroundWork() [all …]
|
D | SendMessageAction.java | 96 actionParameters.putString(KEY_MESSAGE_ID, messageId); in queueAction() 128 actionParameters.putParcelable(KEY_MESSAGE_URI, messageUri); in queueAction() 129 actionParameters.putParcelable(KEY_MESSAGE, message); in queueAction() 130 actionParameters.putStringArrayList(KEY_RECIPIENTS, recipients); in queueAction() 131 actionParameters.putInt(KEY_SUB_ID, self.getSubId()); in queueAction() 132 actionParameters.putString(KEY_SUB_PHONE_NUMBER, self.getNormalizedDestination()); in queueAction() 137 actionParameters.putString(KEY_SMS_SERVICE_CENTER, smsc); in queueAction() 142 actionParameters.putString(KEY_RECIPIENT, recipient); in queueAction() 184 final MessageData message = actionParameters.getParcelable(KEY_MESSAGE); in doBackgroundWork() 185 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in doBackgroundWork() [all …]
|
D | ProcessSentMessageAction.java | 80 final Bundle params = action.actionParameters; in processMmsSent() 103 final Bundle params = action.actionParameters; in processMessageSentFastFailed() 127 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in executeAction() 128 final Uri messageUri = actionParameters.getParcelable(KEY_MESSAGE_URI); in executeAction() 129 final Uri updatedMessageUri = actionParameters.getParcelable(KEY_UPDATED_MESSAGE_URI); in executeAction() 130 final boolean isSms = actionParameters.getBoolean(KEY_SMS); in executeAction() 131 final boolean sentByPlatform = actionParameters.getBoolean(KEY_SENT_BY_PLATFORM); in executeAction() 133 int status = actionParameters.getInt(KEY_STATUS, MmsUtils.MMS_REQUEST_MANUAL_RETRY); in executeAction() 134 int rawStatus = actionParameters.getInt(KEY_RAW_STATUS, in executeAction() 136 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID); in executeAction() [all …]
|
D | UpdateConversationOptionsAction.java | 82 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); in UpdateConversationOptionsAction() 84 actionParameters.putBoolean(KEY_ENABLE_NOTIFICATION, enableNotification); in UpdateConversationOptionsAction() 88 actionParameters.putString(KEY_RINGTONE_URI, ringtoneUri); in UpdateConversationOptionsAction() 92 actionParameters.putBoolean(KEY_ENABLE_VIBRATION, enableVibration); in UpdateConversationOptionsAction() 99 if (actionParameters.containsKey(KEY_ENABLE_NOTIFICATION)) { in putOptionValuesInTransaction() 101 actionParameters.getBoolean(KEY_ENABLE_NOTIFICATION)); in putOptionValuesInTransaction() 104 if (actionParameters.containsKey(KEY_RINGTONE_URI)) { in putOptionValuesInTransaction() 106 actionParameters.getString(KEY_RINGTONE_URI)); in putOptionValuesInTransaction() 109 if (actionParameters.containsKey(KEY_ENABLE_VIBRATION)) { in putOptionValuesInTransaction() 111 actionParameters.getBoolean(KEY_ENABLE_VIBRATION)); in putOptionValuesInTransaction() [all …]
|
D | SyncMessagesAction.java | 136 actionParameters.putLong(KEY_LOWER_BOUND, lowerBound); in SyncMessagesAction() 137 actionParameters.putLong(KEY_UPPER_BOUND, upperBound); in SyncMessagesAction() 138 actionParameters.putInt(KEY_MAX_UPDATE, maxMessagesToUpdate); in SyncMessagesAction() 139 actionParameters.putLong(KEY_START_TIMESTAMP, startTimestamp); in SyncMessagesAction() 146 long lowerBoundTimeMillis = actionParameters.getLong(KEY_LOWER_BOUND); in executeAction() 147 final long upperBoundTimeMillis = actionParameters.getLong(KEY_UPPER_BOUND); in executeAction() 148 final int initialMaxMessagesToUpdate = actionParameters.getInt(KEY_MAX_UPDATE); in executeAction() 149 final long startTimestamp = actionParameters.getLong(KEY_START_TIMESTAMP); in executeAction() 166 actionParameters.putLong(KEY_LOWER_BOUND, lowerBoundTimeMillis); in executeAction() 202 final int initialMaxMessagesToUpdate = actionParameters.getInt(KEY_MAX_UPDATE); in doBackgroundWork() [all …]
|
D | InsertNewMessageAction.java | 95 actionParameters.putParcelable(KEY_MESSAGE, message); in InsertNewMessageAction() 100 actionParameters.putParcelable(KEY_MESSAGE, message); in InsertNewMessageAction() 101 actionParameters.putInt(KEY_SUB_ID, subId); in InsertNewMessageAction() 110 actionParameters.putInt(KEY_SUB_ID, subId); in InsertNewMessageAction() 111 actionParameters.putString(KEY_RECIPIENTS, recipients); in InsertNewMessageAction() 112 actionParameters.putString(KEY_MESSAGE_TEXT, messageText); in InsertNewMessageAction() 113 actionParameters.putString(KEY_SUBJECT_TEXT, subject); in InsertNewMessageAction() 121 MessageData message = actionParameters.getParcelable(KEY_MESSAGE); in executeAction() 154 actionParameters.putInt(KEY_SUB_ID, subId); in executeAction() 202 final int requestedSubId = actionParameters.getInt( in getSelf() [all …]
|
D | UpdateDestinationBlockedAction.java | 56 action.actionParameters.getBoolean(KEY_BLOCKED), in onActionDone() 57 action.actionParameters.getString(KEY_DESTINATION)); in onActionDone() 100 actionParameters.putString(KEY_DESTINATION, destination); in UpdateDestinationBlockedAction() 101 actionParameters.putBoolean(KEY_BLOCKED, blocked); in UpdateDestinationBlockedAction() 102 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); in UpdateDestinationBlockedAction() 107 final String destination = actionParameters.getString(KEY_DESTINATION); in executeAction() 108 final boolean isBlocked = actionParameters.getBoolean(KEY_BLOCKED); in executeAction() 109 String conversationId = actionParameters.getString(KEY_CONVERSATION_ID); in executeAction()
|
D | ReceiveMmsMessageAction.java | 56 actionParameters.putInt(KEY_SUB_ID, subId); in ReceiveMmsMessageAction() 57 actionParameters.putByteArray(KEY_PUSH_DATA, pushData); in ReceiveMmsMessageAction() 63 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID); in executeAction() 64 final byte[] pushData = actionParameters.getByteArray(KEY_PUSH_DATA); in executeAction() 143 actionParameters.putString(KEY_TRANSACTION_ID, mms.mTransactionId); in executeAction() 144 actionParameters.putString(KEY_CONTENT_LOCATION, mms.mContentLocation); in executeAction() 163 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID); in doBackgroundWork() 164 final String transactionId = actionParameters.getString(KEY_TRANSACTION_ID); in doBackgroundWork() 165 final String contentLocation = actionParameters.getString(KEY_CONTENT_LOCATION); in doBackgroundWork()
|
D | UpdateMessagePartSizeAction.java | 52 actionParameters.putString(KEY_PART_ID, partId); in UpdateMessagePartSizeAction() 53 actionParameters.putInt(KEY_WIDTH, width); in UpdateMessagePartSizeAction() 54 actionParameters.putInt(KEY_HEIGHT, height); in UpdateMessagePartSizeAction() 59 final String partId = actionParameters.getString(KEY_PART_ID); in executeAction() 60 final int width = actionParameters.getInt(KEY_WIDTH); in executeAction() 61 final int height = actionParameters.getInt(KEY_HEIGHT); in executeAction()
|
D | Action.java | 46 protected Bundle actionParameters; field in Action 128 this.actionParameters = new Bundle(); in Action() 136 this.actionParameters = new Bundle(); in Action() 284 parcel.writeBundle(this.actionParameters); in writeActionToParcel() 293 this.actionParameters = in.readBundle(Action.class.getClassLoader()); in Action()
|
D | HandleLowStorageAction.java | 49 actionParameters.putInt(KEY_SUB_OP_CODE, subOpcode); in HandleLowStorageAction() 50 actionParameters.putLong(KEY_CUTOFF_DURATION_MILLIS, durationInMillis); in HandleLowStorageAction() 55 final int subOpCode = actionParameters.getInt(KEY_SUB_OP_CODE); in executeAction() 56 final long durationInMillis = actionParameters.getLong(KEY_CUTOFF_DURATION_MILLIS); in executeAction()
|
D | DeleteConversationAction.java | 60 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); in DeleteConversationAction() 62 actionParameters.putLong(KEY_CUTOFF_TIMESTAMP, cutoffTimestamp); in DeleteConversationAction() 73 final String conversationId = actionParameters.getString(KEY_CONVERSATION_ID); in doBackgroundWork() 74 final long cutoffTimestamp = actionParameters.getLong(KEY_CUTOFF_TIMESTAMP); in doBackgroundWork() 139 final String conversationId = actionParameters.getString(KEY_CONVERSATION_ID); in deleteConversationMessagesFromTelephony()
|
D | UpdateConversationArchiveStatusAction.java | 48 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); in UpdateConversationArchiveStatusAction() 49 actionParameters.putBoolean(KEY_IS_ARCHIVE, isArchive); in UpdateConversationArchiveStatusAction() 54 final String conversationId = actionParameters.getString(KEY_CONVERSATION_ID); in executeAction() 55 final boolean isArchived = actionParameters.getBoolean(KEY_IS_ARCHIVE); in executeAction()
|
D | WriteDraftMessageAction.java | 45 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); in WriteDraftMessageAction() 46 actionParameters.putParcelable(KEY_MESSAGE, message); in WriteDraftMessageAction() 52 final String conversationId = actionParameters.getString(KEY_CONVERSATION_ID); in executeAction() 53 final MessageData message = actionParameters.getParcelable(KEY_MESSAGE); in executeAction()
|
D | ProcessDeliveryReportAction.java | 45 actionParameters.putParcelable(KEY_URI, uri); in ProcessDeliveryReportAction() 46 actionParameters.putInt(KEY_STATUS, status); in ProcessDeliveryReportAction() 56 final Uri smsMessageUri = actionParameters.getParcelable(KEY_URI); in executeAction() 57 final int status = actionParameters.getInt(KEY_STATUS); in executeAction()
|
D | ReadDraftDataAction.java | 67 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); in ReadDraftDataAction() 68 actionParameters.putParcelable(KEY_INCOMING_DRAFT, incomingDraft); in ReadDraftDataAction() 85 final String conversationId = actionParameters.getString(KEY_CONVERSATION_ID); in executeAction() 86 final MessageData incomingDraft = actionParameters.getParcelable(KEY_INCOMING_DRAFT); in executeAction()
|
D | ProcessPendingMessagesAction.java | 71 action.actionParameters.putInt(KEY_SUB_ID, subId); in processFirstPendingMessage() 79 final int subId = processingAction.actionParameters in scheduleProcessPendingMessagesAction() 129 action.actionParameters.putInt(KEY_SUB_ID, subId); in scheduleProcessPendingMessagesAction() 159 action.actionParameters.putInt(KEY_SUB_ID, subId); in register() 253 final int subId = processingAction.actionParameters in queueActions() 299 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID); in executeAction()
|
D | ResendMessageAction.java | 55 actionParameters.putString(KEY_MESSAGE_ID, messageId); in ResendMessageAction() 63 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in executeAction() 92 actionParameters.putInt(KEY_SUB_ID, in executeAction()
|
D | RedownloadMmsAction.java | 69 actionParameters.putString(KEY_MESSAGE_ID, messageId); in RedownloadMmsAction() 77 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in executeAction() 95 actionParameters.putInt(KEY_SUB_ID, in executeAction()
|
D | ReceiveSmsMessageAction.java | 53 actionParameters.putParcelable(KEY_MESSAGE_VALUES, messageValues); in ReceiveSmsMessageAction() 59 final ContentValues messageValues = actionParameters.getParcelable(KEY_MESSAGE_VALUES); in executeAction() 162 actionParameters.putInt(KEY_SUB_ID, subId); in executeAction()
|
D | MarkAsSeenAction.java | 61 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); in MarkAsSeenAction() 67 actionParameters.getString(KEY_CONVERSATION_ID); in executeAction()
|
D | DeleteMessageAction.java | 48 actionParameters.putString(KEY_MESSAGE_ID, messageId); in DeleteMessageAction() 63 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in doBackgroundWork()
|
D | MarkAsReadAction.java | 50 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); in MarkAsReadAction() 55 final String conversationId = actionParameters.getString(KEY_CONVERSATION_ID); in executeAction()
|
D | GetOrCreateConversationAction.java | 85 actionParameters.putParcelableArrayList(KEY_PARTICIPANTS_LIST, participants); in GetOrCreateConversationAction() 97 actionParameters.getParcelableArrayList(KEY_PARTICIPANTS_LIST); in executeAction()
|