Home
last modified time | relevance | path

Searched refs:actionParameters (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DDownloadMmsAction.java112 actionParameters.putString(KEY_MESSAGE_ID, messageId); in queueAction()
126 actionParameters.putInt(KEY_SUB_ID, subId); in queueAction()
127 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); in queueAction()
128 actionParameters.putString(KEY_PARTICIPANT_ID, message.getParticipantId()); in queueAction()
129 actionParameters.putString(KEY_CONTENT_LOCATION, message.getMmsContentLocation()); in queueAction()
130 actionParameters.putString(KEY_TRANSACTION_ID, message.getMmsTransactionId()); in queueAction()
131 actionParameters.putParcelable(KEY_NOTIFICATION_URI, notificationUri); in queueAction()
132 actionParameters.putBoolean(KEY_AUTO_DOWNLOAD, isAutoDownload(status)); in queueAction()
137 actionParameters.putString(KEY_SUB_PHONE_NUMBER, self.getNormalizedDestination()); in queueAction()
144 actionParameters.putInt(KEY_FAILURE_STATUS, getFailureStatus(downloadingStatus)); in queueAction()
[all …]
DProcessDownloadedMmsAction.java109 final Bundle params = action.actionParameters; in processMessageDownloaded()
148 final Bundle params = action.actionParameters; in processMessageDownloadFastFailed()
172 final Bundle params = action.actionParameters; in processDownloadActionFailure()
188 final Bundle params = action.actionParameters; in sendDeferredRespStatus()
211 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID); in doBackgroundWork()
212 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in doBackgroundWork()
213 final String transactionId = actionParameters.getString(KEY_TRANSACTION_ID); in doBackgroundWork()
214 final String contentLocation = actionParameters.getString(KEY_CONTENT_LOCATION); in doBackgroundWork()
216 actionParameters.getBoolean(KEY_SEND_DEFERRED_RESP_STATUS, false); in doBackgroundWork()
234 final boolean downloadedByPlatform = actionParameters.getBoolean( in doBackgroundWork()
[all …]
DSendMessageAction.java97 actionParameters.putString(KEY_MESSAGE_ID, messageId); in queueAction()
129 actionParameters.putParcelable(KEY_MESSAGE_URI, messageUri); in queueAction()
130 actionParameters.putParcelable(KEY_MESSAGE, message); in queueAction()
131 actionParameters.putStringArrayList(KEY_RECIPIENTS, recipients); in queueAction()
132 actionParameters.putInt(KEY_SUB_ID, self.getSubId()); in queueAction()
133 actionParameters.putString(KEY_SUB_PHONE_NUMBER, self.getNormalizedDestination()); in queueAction()
138 actionParameters.putString(KEY_SMS_SERVICE_CENTER, smsc); in queueAction()
143 actionParameters.putString(KEY_RECIPIENT, recipient); in queueAction()
185 final MessageData message = actionParameters.getParcelable(KEY_MESSAGE); in doBackgroundWork()
186 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in doBackgroundWork()
[all …]
DProcessSentMessageAction.java80 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 …]
DUpdateConversationOptionsAction.java82 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 …]
DSyncMessagesAction.java136 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 …]
DUpdateDestinationBlockedAction.java56 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()
DReceiveMmsMessageAction.java56 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()
DInsertNewMessageAction.java95 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()
122 MessageData message = actionParameters.getParcelable(KEY_MESSAGE); in executeAction()
201 final int requestedSubId = actionParameters.getInt( in getSelf()
241 final String recipientsList = actionParameters.getString(KEY_RECIPIENTS); in createMessage()
[all …]
DUpdateMessagePartSizeAction.java52 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()
DAction.java46 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()
DHandleLowStorageAction.java49 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()
DDeleteConversationAction.java60 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()
DUpdateConversationArchiveStatusAction.java48 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()
DWriteDraftMessageAction.java45 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()
DProcessDeliveryReportAction.java45 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()
DReadDraftDataAction.java67 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()
DMarkAsSeenAction.java61 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); in MarkAsSeenAction()
67 actionParameters.getString(KEY_CONVERSATION_ID); in executeAction()
DDeleteMessageAction.java48 actionParameters.putString(KEY_MESSAGE_ID, messageId); in DeleteMessageAction()
63 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in doBackgroundWork()
DMarkAsReadAction.java50 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); in MarkAsReadAction()
55 final String conversationId = actionParameters.getString(KEY_CONVERSATION_ID); in executeAction()
DRedownloadMmsAction.java67 actionParameters.putString(KEY_MESSAGE_ID, messageId); in RedownloadMmsAction()
75 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in executeAction()
DResendMessageAction.java53 actionParameters.putString(KEY_MESSAGE_ID, messageId); in ResendMessageAction()
61 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); in executeAction()
DGetOrCreateConversationAction.java85 actionParameters.putParcelableArrayList(KEY_PARTICIPANTS_LIST, participants); in GetOrCreateConversationAction()
97 actionParameters.getParcelableArrayList(KEY_PARTICIPANTS_LIST); in executeAction()
DReceiveSmsMessageAction.java52 actionParameters.putParcelable(KEY_MESSAGE_VALUES, messageValues); in ReceiveSmsMessageAction()
58 final ContentValues messageValues = actionParameters.getParcelable(KEY_MESSAGE_VALUES); in executeAction()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionServiceSystemTest.java322 this.actionParameters.putString(KEY_PARAMETER, parameter); in TestChatAction()
359 parameter = actionParameters.getString(KEY_PARAMETER); in TestChatAction()

12