Home | History | Annotate | Download | only in pdu

Lines Matching refs:recipients

1058         HashSet<String> recipients = new HashSet<String>();
1077 recipients.add(v.getString());
1083 if (!recipients.isEmpty()) {
1084 long threadId = Threads.getOrCreateThreadId(mContext, recipients);
1232 * @param createThreadId if true, this function may create a thread id for the recipients
1233 * @param groupMmsEnabled if true, all of the recipients addressed in the PDU will be used
1334 HashSet<String> recipients = new HashSet<String>();
1346 loadRecipients(PduHeaders.FROM, recipients, addressMap, false);
1349 // message with the thread composed of all the recipients -- all but our own
1355 loadRecipients(PduHeaders.TO, recipients, addressMap, true);
1360 loadRecipients(PduHeaders.CC, recipients, addressMap, true);
1364 loadRecipients(PduHeaders.TO, recipients, addressMap, false);
1368 if (createThreadId && !recipients.isEmpty()) {
1369 // Given all the recipients associated with this message, find (or create) the
1371 threadId = Threads.getOrCreateThreadId(mContext, recipients);
1463 * For a given address type, extract the recipients from the headers.
1466 * @param recipients a HashSet that is loaded with the recipients from the FROM, TO or CC headers
1468 * @param excludeMyNumber if true, the number of this phone will be excluded from recipients
1470 private void loadRecipients(int addressType, HashSet<String> recipients,
1476 // If the TO recipients is only a single address, then we can skip loadRecipients when
1486 !recipients.contains(number)) {
1488 recipients.add(number);