Home
last modified time | relevance | path

Searched refs:messageValues (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DReceiveSmsMessageAction.java52 public ReceiveSmsMessageAction(final ContentValues messageValues) { in ReceiveSmsMessageAction() argument
53 actionParameters.putParcelable(KEY_MESSAGE_VALUES, messageValues); in ReceiveSmsMessageAction()
59 final ContentValues messageValues = actionParameters.getParcelable(KEY_MESSAGE_VALUES); in executeAction() local
63 Integer subId = messageValues.getAsInteger(Sms.SUBSCRIPTION_ID); in executeAction()
68 String address = messageValues.getAsString(Sms.ADDRESS); in executeAction()
72 messageValues.put(Sms.ADDRESS, address); in executeAction()
78 final long received = messageValues.getAsLong(Sms.DATE); in executeAction()
85 messageValues.put(Sms.THREAD_ID, threadId); in executeAction()
103 final boolean read = messageValues.getAsBoolean(Sms.Inbox.READ) in executeAction()
107 messageValues.put(Sms.Inbox.READ, read ? Integer.valueOf(1) : Integer.valueOf(0)); in executeAction()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/
DClassZeroActivity.java80 final ContentValues messageValues = in queueMsgFromIntent() local
83 final String message = messageValues.getAsString(Sms.BODY); in queueMsgFromIntent()
90 mMessageQueue.add(messageValues); in queueMsgFromIntent()
132 private void displayZeroMessage(final ContentValues messageValues) { in displayZeroMessage() argument
134 mMessageValues = messageValues; in displayZeroMessage()
135 final String message = messageValues.getAsString(Sms.BODY);; in displayZeroMessage()
DUIIntents.java212 public abstract void launchClassZeroActivity(Context context, ContentValues messageValues); in launchClassZeroActivity() argument
DUIIntentsImpl.java279 public void launchClassZeroActivity(final Context context, final ContentValues messageValues) { in launchClassZeroActivity() argument
281 .putExtra(UI_INTENT_EXTRA_MESSAGE_VALUES, messageValues) in launchClassZeroActivity()
/packages/apps/Messaging/src/com/android/messaging/receiver/
DSmsReceiver.java203 final ContentValues messageValues = in deliverSmsMessages() local
211 messageValues.put(Sms.Inbox.DATE, receivedTimestampMs); in deliverSmsMessages()
214 messageValues.put(Sms.Inbox.READ, 0); in deliverSmsMessages()
215 messageValues.put(Sms.Inbox.SEEN, 0); in deliverSmsMessages()
217 messageValues.put(Sms.SUBSCRIPTION_ID, subId); in deliverSmsMessages()
222 Factory.get().getUIIntents().launchClassZeroActivity(context, messageValues); in deliverSmsMessages()
224 final ReceiveSmsMessageAction action = new ReceiveSmsMessageAction(messageValues); in deliverSmsMessages()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DTestDataFactory.java305 final ContentValues messageValues = new ContentValues(); in createTestData() local
309 messageValues.put(MessageColumns.RECEIVED_TIMESTAMP, messageTime); in createTestData()
310 messageValues.put(MessageColumns.CONVERSATION_ID, conversationId); in createTestData()
311 messageValues.put(MessageColumns.SENDER_PARTICIPANT_ID, in createTestData()
313 … final long messageId = db.insert(DatabaseHelper.MESSAGES_TABLE, null, messageValues); in createTestData()