Lines Matching defs:recipients
1145 final HashSet<String> recipients = new HashSet<String>();
1164 recipients.add(v.getString());
1170 if (!recipients.isEmpty()) {
1171 final long threadId = MmsSmsUtils.Threads.getOrCreateThreadId(mContext, recipients);
1401 final HashSet<String> recipients = new HashSet<String>();
1413 loadRecipients(PduHeaders.FROM, recipients, addressMap);
1416 // associate this message with the thread composed of all the recipients
1422 checkAndLoadToCcRecipients(recipients, addressMap, subPhoneNumber);
1425 loadRecipients(PduHeaders.TO, recipients, addressMap);
1429 if (!recipients.isEmpty()) {
1430 // Given all the recipients associated with this message, find (or create) the
1432 threadId = MmsSmsUtils.Threads.getOrCreateThreadId(mContext, recipients);
1434 LogUtil.w(TAG, "PduPersister.persist No recipients; persisting PDU to thread: "
1533 * For a given address type, extract the recipients from the headers.
1536 * @param recipients a HashSet that is loaded with the recipients from the FROM or TO
1540 private void loadRecipients(final int addressType, final HashSet<String> recipients,
1549 if (!recipients.contains(number)) {
1551 recipients.add(number);
1558 * For a given address type, extract the recipients from the headers.
1560 * @param recipients a HashSet that is loaded with the recipients from the FROM or TO
1565 private void checkAndLoadToCcRecipients(final HashSet<String> recipients,
1587 if (!recipients.contains(number)) {
1589 recipients.add(number);