/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
DownloadMmsAction.java | 112 actionParameters.putString(KEY_MESSAGE_ID, messageId); 126 actionParameters.putInt(KEY_SUB_ID, subId); 127 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); 128 actionParameters.putString(KEY_PARTICIPANT_ID, message.getParticipantId()); 129 actionParameters.putString(KEY_CONTENT_LOCATION, message.getMmsContentLocation()); 130 actionParameters.putString(KEY_TRANSACTION_ID, message.getMmsTransactionId()); 131 actionParameters.putParcelable(KEY_NOTIFICATION_URI, notificationUri); 132 actionParameters.putBoolean(KEY_AUTO_DOWNLOAD, isAutoDownload(status)); 137 actionParameters.putString(KEY_SUB_PHONE_NUMBER, self.getNormalizedDestination()); 144 actionParameters.putInt(KEY_FAILURE_STATUS, getFailureStatus(downloadingStatus)) [all...] |
UpdateConversationOptionsAction.java | 82 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); 84 actionParameters.putBoolean(KEY_ENABLE_NOTIFICATION, enableNotification); 88 actionParameters.putString(KEY_RINGTONE_URI, ringtoneUri); 92 actionParameters.putBoolean(KEY_ENABLE_VIBRATION, enableVibration); 99 if (actionParameters.containsKey(KEY_ENABLE_NOTIFICATION)) { 101 actionParameters.getBoolean(KEY_ENABLE_NOTIFICATION)); 104 if (actionParameters.containsKey(KEY_RINGTONE_URI)) { 106 actionParameters.getString(KEY_RINGTONE_URI)); 109 if (actionParameters.containsKey(KEY_ENABLE_VIBRATION)) { 111 actionParameters.getBoolean(KEY_ENABLE_VIBRATION)) [all...] |
HandleLowStorageAction.java | 49 actionParameters.putInt(KEY_SUB_OP_CODE, subOpcode); 50 actionParameters.putLong(KEY_CUTOFF_DURATION_MILLIS, durationInMillis); 55 final int subOpCode = actionParameters.getInt(KEY_SUB_OP_CODE); 56 final long durationInMillis = actionParameters.getLong(KEY_CUTOFF_DURATION_MILLIS);
|
ProcessDownloadedMmsAction.java | 109 final Bundle params = action.actionParameters; 148 final Bundle params = action.actionParameters; 172 final Bundle params = action.actionParameters; 188 final Bundle params = action.actionParameters; 211 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID); 212 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); 213 final String transactionId = actionParameters.getString(KEY_TRANSACTION_ID); 214 final String contentLocation = actionParameters.getString(KEY_CONTENT_LOCATION); 216 actionParameters.getBoolean(KEY_SEND_DEFERRED_RESP_STATUS, false); 234 final boolean downloadedByPlatform = actionParameters.getBoolean [all...] |
UpdateMessagePartSizeAction.java | 52 actionParameters.putString(KEY_PART_ID, partId); 53 actionParameters.putInt(KEY_WIDTH, width); 54 actionParameters.putInt(KEY_HEIGHT, height); 59 final String partId = actionParameters.getString(KEY_PART_ID); 60 final int width = actionParameters.getInt(KEY_WIDTH); 61 final int height = actionParameters.getInt(KEY_HEIGHT);
|
ProcessSentMessageAction.java | 80 final Bundle params = action.actionParameters; 103 final Bundle params = action.actionParameters; 127 final String messageId = actionParameters.getString(KEY_MESSAGE_ID); 128 final Uri messageUri = actionParameters.getParcelable(KEY_MESSAGE_URI); 129 final Uri updatedMessageUri = actionParameters.getParcelable(KEY_UPDATED_MESSAGE_URI); 130 final boolean isSms = actionParameters.getBoolean(KEY_SMS); 131 final boolean sentByPlatform = actionParameters.getBoolean(KEY_SENT_BY_PLATFORM); 133 int status = actionParameters.getInt(KEY_STATUS, MmsUtils.MMS_REQUEST_MANUAL_RETRY); 134 int rawStatus = actionParameters.getInt(KEY_RAW_STATUS, 136 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID) [all...] |
UpdateDestinationBlockedAction.java | 56 action.actionParameters.getBoolean(KEY_BLOCKED), 57 action.actionParameters.getString(KEY_DESTINATION)); 100 actionParameters.putString(KEY_DESTINATION, destination); 101 actionParameters.putBoolean(KEY_BLOCKED, blocked); 102 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); 107 final String destination = actionParameters.getString(KEY_DESTINATION); 108 final boolean isBlocked = actionParameters.getBoolean(KEY_BLOCKED); 109 String conversationId = actionParameters.getString(KEY_CONVERSATION_ID);
|
UpdateConversationArchiveStatusAction.java | 48 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); 49 actionParameters.putBoolean(KEY_IS_ARCHIVE, isArchive); 54 final String conversationId = actionParameters.getString(KEY_CONVERSATION_ID); 55 final boolean isArchived = actionParameters.getBoolean(KEY_IS_ARCHIVE);
|
SendMessageAction.java | 97 actionParameters.putString(KEY_MESSAGE_ID, messageId); 129 actionParameters.putParcelable(KEY_MESSAGE_URI, messageUri); 130 actionParameters.putParcelable(KEY_MESSAGE, message); 131 actionParameters.putStringArrayList(KEY_RECIPIENTS, recipients); 132 actionParameters.putInt(KEY_SUB_ID, self.getSubId()); 133 actionParameters.putString(KEY_SUB_PHONE_NUMBER, self.getNormalizedDestination()); 138 actionParameters.putString(KEY_SMS_SERVICE_CENTER, smsc); 143 actionParameters.putString(KEY_RECIPIENT, recipient); 185 final MessageData message = actionParameters.getParcelable(KEY_MESSAGE); 186 final String messageId = actionParameters.getString(KEY_MESSAGE_ID) [all...] |
ReceiveMmsMessageAction.java | 56 actionParameters.putInt(KEY_SUB_ID, subId); 57 actionParameters.putByteArray(KEY_PUSH_DATA, pushData); 63 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID); 64 final byte[] pushData = actionParameters.getByteArray(KEY_PUSH_DATA); 143 actionParameters.putString(KEY_TRANSACTION_ID, mms.mTransactionId); 144 actionParameters.putString(KEY_CONTENT_LOCATION, mms.mContentLocation); 163 final int subId = actionParameters.getInt(KEY_SUB_ID, ParticipantData.DEFAULT_SELF_SUB_ID); 164 final String transactionId = actionParameters.getString(KEY_TRANSACTION_ID); 165 final String contentLocation = actionParameters.getString(KEY_CONTENT_LOCATION);
|
WriteDraftMessageAction.java | 45 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); 46 actionParameters.putParcelable(KEY_MESSAGE, message); 52 final String conversationId = actionParameters.getString(KEY_CONVERSATION_ID); 53 final MessageData message = actionParameters.getParcelable(KEY_MESSAGE);
|
Action.java | 45 // If derived classes keep their data in actionParameters then parcelable is trivial 46 protected Bundle actionParameters; 128 this.actionParameters = new Bundle(); 136 this.actionParameters = new Bundle(); 284 parcel.writeBundle(this.actionParameters); 293 this.actionParameters = in.readBundle(Action.class.getClassLoader());
|
DeleteConversationAction.java | 60 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); 62 actionParameters.putLong(KEY_CUTOFF_TIMESTAMP, cutoffTimestamp); 73 final String conversationId = actionParameters.getString(KEY_CONVERSATION_ID); 74 final long cutoffTimestamp = actionParameters.getLong(KEY_CUTOFF_TIMESTAMP); 139 final String conversationId = actionParameters.getString(KEY_CONVERSATION_ID);
|
InsertNewMessageAction.java | 95 actionParameters.putParcelable(KEY_MESSAGE, message); 100 actionParameters.putParcelable(KEY_MESSAGE, message); 101 actionParameters.putInt(KEY_SUB_ID, subId); 110 actionParameters.putInt(KEY_SUB_ID, subId); 111 actionParameters.putString(KEY_RECIPIENTS, recipients); 112 actionParameters.putString(KEY_MESSAGE_TEXT, messageText); 113 actionParameters.putString(KEY_SUBJECT_TEXT, subject); 122 MessageData message = actionParameters.getParcelable(KEY_MESSAGE); 201 final int requestedSubId = actionParameters.getInt( 241 final String recipientsList = actionParameters.getString(KEY_RECIPIENTS) [all...] |
ProcessDeliveryReportAction.java | 45 actionParameters.putParcelable(KEY_URI, uri); 46 actionParameters.putInt(KEY_STATUS, status); 56 final Uri smsMessageUri = actionParameters.getParcelable(KEY_URI); 57 final int status = actionParameters.getInt(KEY_STATUS);
|
ReadDraftDataAction.java | 67 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); 68 actionParameters.putParcelable(KEY_INCOMING_DRAFT, incomingDraft); 85 final String conversationId = actionParameters.getString(KEY_CONVERSATION_ID); 86 final MessageData incomingDraft = actionParameters.getParcelable(KEY_INCOMING_DRAFT);
|
SyncMessagesAction.java | 136 actionParameters.putLong(KEY_LOWER_BOUND, lowerBound); 137 actionParameters.putLong(KEY_UPPER_BOUND, upperBound); 138 actionParameters.putInt(KEY_MAX_UPDATE, maxMessagesToUpdate); 139 actionParameters.putLong(KEY_START_TIMESTAMP, startTimestamp); 146 long lowerBoundTimeMillis = actionParameters.getLong(KEY_LOWER_BOUND); 147 final long upperBoundTimeMillis = actionParameters.getLong(KEY_UPPER_BOUND); 148 final int initialMaxMessagesToUpdate = actionParameters.getInt(KEY_MAX_UPDATE); 149 final long startTimestamp = actionParameters.getLong(KEY_START_TIMESTAMP); 166 actionParameters.putLong(KEY_LOWER_BOUND, lowerBoundTimeMillis); 202 final int initialMaxMessagesToUpdate = actionParameters.getInt(KEY_MAX_UPDATE) [all...] |
DeleteMessageAction.java | 48 actionParameters.putString(KEY_MESSAGE_ID, messageId); 63 final String messageId = actionParameters.getString(KEY_MESSAGE_ID);
|
MarkAsReadAction.java | 50 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); 55 final String conversationId = actionParameters.getString(KEY_CONVERSATION_ID);
|
MarkAsSeenAction.java | 61 actionParameters.putString(KEY_CONVERSATION_ID, conversationId); 67 actionParameters.getString(KEY_CONVERSATION_ID);
|
RedownloadMmsAction.java | 67 actionParameters.putString(KEY_MESSAGE_ID, messageId); 75 final String messageId = actionParameters.getString(KEY_MESSAGE_ID);
|
ResendMessageAction.java | 53 actionParameters.putString(KEY_MESSAGE_ID, messageId); 61 final String messageId = actionParameters.getString(KEY_MESSAGE_ID);
|
GetOrCreateConversationAction.java | 85 actionParameters.putParcelableArrayList(KEY_PARTICIPANTS_LIST, participants); 97 actionParameters.getParcelableArrayList(KEY_PARTICIPANTS_LIST);
|
ReceiveSmsMessageAction.java | 52 actionParameters.putParcelable(KEY_MESSAGE_VALUES, messageValues); 58 final ContentValues messageValues = actionParameters.getParcelable(KEY_MESSAGE_VALUES);
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
ActionServiceSystemTest.java | 326 this.actionParameters.putString(KEY_PARAMETER, parameter); 363 parameter = actionParameters.getString(KEY_PARAMETER);
|