Home
last modified time | relevance | path

Searched refs:getRecipients (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeMessageTest.java290 Address[] to = message.getRecipients(RecipientType.TO); in testParsingAddressField()
291 Address[] cc = message.getRecipients(RecipientType.CC); in testParsingAddressField()
464 Address[] toAddresses = mm.getRecipients(MimeMessage.RecipientType.TO); in brokentestWhiteSpace()
487 assertEquals(0, mm.getRecipients(MimeMessage.RecipientType.TO).length); in testUndisclosedRecipients()
488 assertEquals(0, mm.getRecipients(MimeMessage.RecipientType.CC).length); in testUndisclosedRecipients()
489 assertEquals(0, mm.getRecipients(MimeMessage.RecipientType.BCC).length); in testUndisclosedRecipients()
508 assertEquals(0, mm.getRecipients(MimeMessage.RecipientType.TO).length); in testInvalidHeaders()
509 assertEquals(1, mm.getRecipients(MimeMessage.RecipientType.CC).length); in testInvalidHeaders()
510 assertEquals("a@b.com", mm.getRecipients(MimeMessage.RecipientType.CC)[0].getAddress()); in testInvalidHeaders()
511 assertEquals(0, mm.getRecipients(MimeMessage.RecipientType.BCC).length); in testInvalidHeaders()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DPop3StoreUnitTests.java803 message.getRecipients(RecipientType.TO); in checkOneUnread()
804 message.getRecipients(RecipientType.CC); in checkOneUnread()
805 message.getRecipients(RecipientType.BCC); in checkOneUnread()
842 message.getRecipients(RecipientType.TO); in testRetrVariants()
843 message.getRecipients(RecipientType.CC); in testRetrVariants()
844 message.getRecipients(RecipientType.BCC); in testRetrVariants()
902 Address[] to = message.getRecipients(RecipientType.TO); in checkFetchedMessage()
916 Address[] cc = message.getRecipients(RecipientType.CC); in checkFetchedMessage()
/packages/apps/Mms/src/com/android/mms/ui/
DComposeMessageActivity.java1067 if (getRecipients().size() == 1 &&
1095 if (getRecipients().size() == 1) {
1721 private ContactList getRecipients() { in getRecipients() method in ComposeMessageActivity
1733 return mConversation.getRecipients(); in getRecipients()
1780 ContactList recipients = getRecipients(); in initRecipientsEditor()
1989 updateTitle(mConversation.getRecipients()); in initialize()
1997 mMsgListAdapter.setIsGroupConversation(mConversation.getRecipients().size() > 1); in initialize()
2175 updateTitle(mConversation.getRecipients()); in onStart()
2234 outState.putString(RECIPIENTS, getRecipients().serialize()); in onSaveInstanceState()
2268 mRecipientsEditor.constructContactsFromInput(false) : getRecipients(); in onResume()
[all …]
DConversationListItem.java106 String from = mConversation.getRecipients().formatNames(", "); in formatMessage()
141 if (mConversation.getRecipients().size() == 1) { in updateAvatarView()
142 Contact contact = mConversation.getRecipients().get(0); in updateAvatarView()
203 ContactList contacts = conversation.getRecipients(); in bind()
DConversationList.java660 ContactList recipients = conv.getRecipients();
698 Contact contact = conv.getRecipients().get(0); in onContextItemSelected()
705 String address = conv.getRecipients().get(0).getNumber(); in onContextItemSelected()
990 ContactList recipients = conv.getRecipients(); in onDeleteComplete()
DNoConfirmationSendService.java70 String recipients = Conversation.getRecipients(intentUri); in onHandleIntent()
DRecipientListActivity.java77 final ContactList contacts = conv.getRecipients(); in onCreate()
/packages/apps/Mms/src/com/android/mms/data/
DWorkingMessage.java830 if (!mConversation.getRecipients().isEmpty()) { in saveAsMms()
1035 ContactList contactList = conv.getRecipients(); in setConversation()
1247 RecipientIdCache.updateNumbers(conv.getThreadId(), conv.getRecipients()); in send()
1255 String[] dests = conv.getRecipients().getNumbers(); in updateSendStats()
1264 String[] dests = conv.getRecipients().getNumbers(); in addressContainsEmailToMms()
1295 String semiSepRecipients = conv.getRecipients().serialize(); in preSendSmsWorker()
1363 String[] dests = conv.getRecipients().getNumbers(true /* scrub for MMS address */); in sendMmsWorker()
1551 String[] dests = conv.getRecipients().getNumbers(true /* scrub for MMS address */); in makeSendReq()
1740 if (conv.getRecipients().isEmpty()) { in asyncUpdateDraftSmsMessage()
1830 if (!conv.getRecipients().isEmpty()) { in ensureThreadIdIfNeeded()
DConversation.java183 if (!conv.getRecipients().equals(recipients)) { in get()
229 String recipients = PhoneNumberUtils.replaceUnicodeDigits(getRecipients(uri)) in get()
256 String recipient = getRecipients(uri); in sameRecipient()
513 public synchronized ContactList getRecipients() { in getRecipients() method in Conversation
980 if (c.getRecipients().equals(list)) { in get()
1298 public static String getRecipients(Uri uri) { in getRecipients() method in Conversation
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTests.java375 assertEquals(tag, expect.mTo, Address.toHeader(actual.getRecipients(RecipientType.TO))); in checkLegacyMessage()
376 assertEquals(tag, expect.mCc, Address.toHeader(actual.getRecipients(RecipientType.CC))); in checkLegacyMessage()
377 assertEquals(tag, expect.mBcc, Address.toHeader(actual.getRecipients(RecipientType.BCC))); in checkLegacyMessage()
/packages/apps/Email/provider_src/com/android/email/
DLegacyConversions.java83 final Address[] to = message.getRecipients(Message.RecipientType.TO); in updateMessageFields()
84 final Address[] cc = message.getRecipients(Message.RecipientType.CC); in updateMessageFields()
85 final Address[] bcc = message.getRecipients(Message.RecipientType.BCC); in updateMessageFields()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DMessage.java427 setTo(Address.toHeader(mimeMessage.getRecipients( in Message()
429 setCc(Address.toHeader(mimeMessage.getRecipients( in Message()
431 setBcc(Address.toHeader(mimeMessage.getRecipients( in Message()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
DMessage.java67 public abstract Address[] getRecipients(RecipientType type) throws MessagingException; in getRecipients() method in Message
/packages/apps/Mms/src/com/android/mms/widget/
DMmsWidgetService.java250 SpannableStringBuilder from = addColor(conv.getRecipients().formatNames(", "),
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeMessage.java250 public Address[] getRecipients(RecipientType type) throws MessagingException { in getRecipients() method in MimeMessage
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessage.java766 public ArrayList<vCard> getRecipients() { in getRecipients() method in BluetoothMapbMessage
DBluetoothMapContentObserver.java1167 ArrayList<BluetoothMapbMessage.vCard> recipientList = msg.getRecipients(); in pushMessage()