/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ReceiveSmsMessageAction.java | 51 public ReceiveSmsMessageAction(final ContentValues messageValues) { in ReceiveSmsMessageAction() argument 52 actionParameters.putParcelable(KEY_MESSAGE_VALUES, messageValues); in ReceiveSmsMessageAction() 58 final ContentValues messageValues = actionParameters.getParcelable(KEY_MESSAGE_VALUES); in executeAction() local 62 Integer subId = messageValues.getAsInteger(Sms.SUBSCRIPTION_ID); in executeAction() 67 String address = messageValues.getAsString(Sms.ADDRESS); in executeAction() 71 messageValues.put(Sms.ADDRESS, address); in executeAction() 77 final long received = messageValues.getAsLong(Sms.DATE); in executeAction() 84 messageValues.put(Sms.THREAD_ID, threadId); in executeAction() 102 final boolean read = messageValues.getAsBoolean(Sms.Inbox.READ) in executeAction() 106 messageValues.put(Sms.Inbox.READ, read ? Integer.valueOf(1) : Integer.valueOf(0)); in executeAction() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | ClassZeroActivity.java | 80 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()
|
D | UIIntentsImpl.java | 266 public void launchClassZeroActivity(final Context context, final ContentValues messageValues) { in launchClassZeroActivity() argument 268 .putExtra(UI_INTENT_EXTRA_MESSAGE_VALUES, messageValues) in launchClassZeroActivity()
|
D | UIIntents.java | 201 public abstract void launchClassZeroActivity(Context context, ContentValues messageValues); in launchClassZeroActivity() argument
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | RcsProviderQueryTest.java | 110 ContentValues messageValues = new ContentValues(); in setUp() local 112 messageValues.put(ORIGINATION_TIMESTAMP_COLUMN, 300); in setUp() 113 messageValues.put(MESSAGE_TEXT_COLUMN, "Old message"); in setUp() 115 messageValues)).isEqualTo( in setUp() 118 messageValues.clear(); in setUp() 119 messageValues.put(ORIGINATION_TIMESTAMP_COLUMN, 400); in setUp() 120 messageValues.put(MESSAGE_TEXT_COLUMN, "New message"); in setUp() 122 messageValues)).isEqualTo( in setUp() 125 messageValues.clear(); in setUp() 126 messageValues.put(ORIGINATION_TIMESTAMP_COLUMN, 200); in setUp() [all …]
|
D | RcsProviderDeleteTest.java | 84 ContentValues messageValues = new ContentValues(); in setUp() local 86 messageValues)).isEqualTo( in setUp() 89 messageValues)).isEqualTo( in setUp() 93 messageValues)).isEqualTo( in setUp() 97 messageValues)).isEqualTo( in setUp()
|
D | RcsProviderUpdateTest.java | 90 ContentValues messageValues = new ContentValues(); in setUp() local 92 messageValues)).isEqualTo( in setUp() 95 messageValues)).isEqualTo( in setUp() 99 messageValues)).isEqualTo( in setUp() 103 messageValues)).isEqualTo( in setUp()
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
D | SmsReceiver.java | 202 final ContentValues messageValues = in deliverSmsMessages() local 210 messageValues.put(Sms.Inbox.DATE, receivedTimestampMs); in deliverSmsMessages() 213 messageValues.put(Sms.Inbox.READ, 0); in deliverSmsMessages() 214 messageValues.put(Sms.Inbox.SEEN, 0); in deliverSmsMessages() 216 messageValues.put(Sms.SUBSCRIPTION_ID, subId); in deliverSmsMessages() 221 Factory.get().getUIIntents().launchClassZeroActivity(context, messageValues); in deliverSmsMessages() 223 final ReceiveSmsMessageAction action = new ReceiveSmsMessageAction(messageValues); in deliverSmsMessages()
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/ |
D | ComposeActivityTest.java | 421 Object[] messageValues = new Object[UIProvider.MESSAGE_PROJECTION.length]; in getRefMessageWithCc() local 422 messageValues[UIProvider.MESSAGE_ID_COLUMN] = Long.valueOf(messageId); in getRefMessageWithCc() 423 messageValues[UIProvider.MESSAGE_URI_COLUMN] = messageUri; in getRefMessageWithCc() 424 messageValues[UIProvider.MESSAGE_SUBJECT_COLUMN] = "Message subject"; in getRefMessageWithCc() 425 messageValues[UIProvider.MESSAGE_SNIPPET_COLUMN] = "SNIPPET"; in getRefMessageWithCc() 427 messageValues[UIProvider.MESSAGE_BODY_HTML_COLUMN] = html; in getRefMessageWithCc() 428 messageValues[UIProvider.MESSAGE_BODY_TEXT_COLUMN] = Html.fromHtml(html); in getRefMessageWithCc() 429 messageValues[UIProvider.MESSAGE_HAS_ATTACHMENTS_COLUMN] = hasAttachments ? 1 : 0; in getRefMessageWithCc() 430 messageValues[UIProvider.MESSAGE_DATE_RECEIVED_MS_COLUMN] = new Date().getTime(); in getRefMessageWithCc() 431 messageValues[UIProvider.MESSAGE_ATTACHMENT_LIST_URI_COLUMN] = messageUri in getRefMessageWithCc() [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/ |
D | TestDataFactory.java | 305 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()
|