OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RecipientType
(Results
1 - 11
of
11
) sorted by null
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
Message.java
25
public enum
RecipientType
{
67
public abstract Address[] getRecipients(
RecipientType
type) throws MessagingException;
69
public abstract void setRecipients(
RecipientType
type, Address[] addresses)
72
public void setRecipient(
RecipientType
type, Address address) throws MessagingException {
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
MimeMessageTest.java
26
import com.android.emailcommon.mail.Message.
RecipientType
;
240
message.setRecipient(
RecipientType
.TO, noName2);
241
message.setRecipients(
RecipientType
.CC, new Address[] { simpleName, dquoteName });
290
Address[] to = message.getRecipients(
RecipientType
.TO);
291
Address[] cc = message.getRecipients(
RecipientType
.CC);
464
Address[] toAddresses = mm.getRecipients(MimeMessage.
RecipientType
.TO);
487
assertEquals(0, mm.getRecipients(MimeMessage.
RecipientType
.TO).length);
488
assertEquals(0, mm.getRecipients(MimeMessage.
RecipientType
.CC).length);
489
assertEquals(0, mm.getRecipients(MimeMessage.
RecipientType
.BCC).length);
508
assertEquals(0, mm.getRecipients(MimeMessage.
RecipientType
.TO).length)
[
all
...]
/packages/apps/Email/tests/src/com/android/email/
LegacyConversionsTest.java
28
import com.android.emailcommon.mail.Message.
RecipientType
;
96
message.setRecipients(
RecipientType
.TO, tos);
97
message.setRecipients(
RecipientType
.CC, ccs);
98
message.setRecipients(
RecipientType
.BCC, bccs);
138
message.setRecipients(
RecipientType
.TO, tos);
139
message.setRecipients(
RecipientType
.CC, ccs);
140
message.setRecipients(
RecipientType
.BCC, bccs);
LegacyConversionsTests.java
34
import com.android.emailcommon.mail.Message.
RecipientType
;
375
assertEquals(tag, expect.mTo, Address.toHeader(actual.getRecipients(
RecipientType
.TO)));
376
assertEquals(tag, expect.mCc, Address.toHeader(actual.getRecipients(
RecipientType
.CC)));
377
assertEquals(tag, expect.mBcc, Address.toHeader(actual.getRecipients(
RecipientType
.BCC)));
/packages/apps/Email/tests/src/com/android/email/mail/store/
Pop3StoreUnitTests.java
36
import com.android.emailcommon.mail.Message.
RecipientType
;
803
message.getRecipients(
RecipientType
.TO);
804
message.getRecipients(
RecipientType
.CC);
805
message.getRecipients(
RecipientType
.BCC);
[
all
...]
ImapStoreUnitTests.java
52
import com.android.emailcommon.mail.Message.
RecipientType
;
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
MimeMessage.java
250
public Address[] getRecipients(
RecipientType
type) throws MessagingException {
251
if (type ==
RecipientType
.TO) {
256
} else if (type ==
RecipientType
.CC) {
261
} else if (type ==
RecipientType
.BCC) {
272
public void setRecipients(
RecipientType
type, Address[] addresses) throws MessagingException {
276
if (type ==
RecipientType
.TO) {
284
} else if (type ==
RecipientType
.CC) {
292
} else if (type ==
RecipientType
.BCC) {
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/
Mailer.java
90
message.addRecipients(Message.
RecipientType
.TO, getAddresses(buildProperties.getToRecipientList()));
143
message.addRecipients(Message.
RecipientType
.BCC, getAddresses(buildProperties.getTextRecipientList()));
191
message.addRecipients(Message.
RecipientType
.TO, getAddresses(buildProperties.getToRecipientList()));
/packages/apps/Email/provider_src/com/android/email/
LegacyConversions.java
37
import com.android.emailcommon.mail.Message.
RecipientType
;
83
final Address[] to = message.getRecipients(Message.
RecipientType
.TO);
84
final Address[] cc = message.getRecipients(Message.
RecipientType
.CC);
85
final Address[] bcc = message.getRecipients(Message.
RecipientType
.BCC);
388
message.setRecipients(
RecipientType
.TO, Address.fromHeader(localMessage.mTo));
389
message.setRecipients(
RecipientType
.CC, Address.fromHeader(localMessage.mCc));
390
message.setRecipients(
RecipientType
.BCC, Address.fromHeader(localMessage.mBcc));
/packages/services/Telephony/src/com/android/phone/common/mail/
Message.java
29
public enum
RecipientType
{
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
Message.java
428
com.android.emailcommon.mail.Message.
RecipientType
.TO)));
430
com.android.emailcommon.mail.Message.
RecipientType
.CC)));
432
com.android.emailcommon.mail.Message.
RecipientType
.BCC)));
Completed in 629 milliseconds