OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:toHeader
(Results
1 - 14
of
14
) sorted by null
/packages/apps/UnifiedEmail/tests/src/com/android/emailcommon/mail/
AddressUnitTests.java
456
* Test various combinations of the
toHeader
(single) method
486
// Test for
toHeader
() results.
487
assertEquals("no name 1", "noname1@dom1.com", noName1.
toHeader
());
488
assertEquals("no name 2", "noname2@dom2.com", noName2.
toHeader
());
489
assertEquals("simple name", "simple name <address3@dom3.org>", simpleName.
toHeader
());
490
assertEquals("double quoted name", "\"name,4\" <address4@dom4.org>", dquoteName.
toHeader
());
491
assertEquals("quoted name", "\"big \\\"G\\\"\" <bigG@dom5.net>", quotedName.
toHeader
());
493
utf16Name.
toHeader
());
495
utf32Name.
toHeader
());
497
sameName.
toHeader
());
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
Address.java
360
public String
toHeader
() {
375
public static String
toHeader
(Address[] addresses) {
380
return addresses[0].
toHeader
();
382
StringBuilder sb = new StringBuilder(addresses[0].
toHeader
());
386
sb.append(addresses[i].
toHeader
());
439
* Returns exactly the same result as Address.
toHeader
(Address.parse(addressList)).
443
return Address.
toHeader
(Address.parse(addressList));
460
* format and the RFC822 format. {@link #
toHeader
()} always produces the RFC822 format.
466
return
toHeader
(fromHeader(addressList));
/packages/services/Telephony/src/com/android/phone/common/mail/
Address.java
359
public String
toHeader
() {
374
public static String
toHeader
(Address[] addresses) {
379
return addresses[0].
toHeader
();
381
StringBuilder sb = new StringBuilder(addresses[0].
toHeader
());
385
sb.append(addresses[i].
toHeader
());
438
* Returns exactly the same result as Address.
toHeader
(Address.parse(addressList)).
442
return Address.
toHeader
(Address.parse(addressList));
459
* format and the RFC822 format. {@link #
toHeader
()} always produces the RFC822 format.
465
return
toHeader
(fromHeader(addressList));
/packages/apps/Email/tests/src/com/android/email/
LegacyConversionsTests.java
373
assertEquals(tag, expect.mFrom, Address.
toHeader
(actual.getFrom()));
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)));
378
assertEquals(tag, expect.mReplyTo, Address.
toHeader
(actual.getReplyTo()));
/frameworks/opt/net/voip/src/java/com/android/server/sip/
SipHelper.java
61
import javax.sip.header.
ToHeader
;
99
private
ToHeader
createToHeader(SipProfile profile) throws ParseException {
103
private
ToHeader
createToHeader(SipProfile profile, String tag)
236
ToHeader
toHeader
= createToHeader(userProfile);
248
toHeader
, viaHeaders, maxForwards);
272
ToHeader
toHeader
= createToHeader(callee);
281
toHeader
, viaHeaders, maxForwards);
358
ToHeader
toHeader = (ToHeader) response.getHeader(ToHeader.NAME)
[
all
...]
/external/nist-sip/java/gov/nist/javax/sip/message/
SIPMessage.java
104
import javax.sip.header.
ToHeader
;
152
protected To
toHeader
;
476
retval.
toHeader
= null;
705
this.
toHeader
= (To) h;
754
this.
toHeader
= null;
793
this.
toHeader
= null;
[
all
...]
SIPRequest.java
224
throw new ParseException(prefix +
ToHeader
.NAME, 0);
778
cancel.setHeader((Header) this.
toHeader
.clone());
807
* responseToHeader is null then the
toHeader
of this request is used to construct the ACK.
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationItemViewModel.java
282
// the
toHeader
should read "To: " if requested
283
String
toHeader
= "";
285
toHeader
= SendersView.getFormattedToHeader().toString();
300
mContentDescription = context.getString(res,
toHeader
, participant,
ConversationItemView.java
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
MimeMessage.java
281
setHeader("To", MimeUtility.fold(Address.
toHeader
(addresses), TO_LENGTH));
289
setHeader("CC", MimeUtility.fold(Address.
toHeader
(addresses), CC_LENGTH));
297
setHeader("BCC", MimeUtility.fold(Address.
toHeader
(addresses), BCC_LENGTH));
335
setHeader("From", MimeUtility.fold(from.
toHeader
(), FROM_LENGTH));
359
setHeader("Reply-to", MimeUtility.fold(Address.
toHeader
(replyTo), REPLY_TO_LENGTH));
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
Message.java
426
setFrom(Address.
toHeader
(mimeMessage.getFrom()));
427
setTo(Address.
toHeader
(mimeMessage.getRecipients(
429
setCc(Address.
toHeader
(mimeMessage.getRecipients(
431
setBcc(Address.
toHeader
(mimeMessage.getRecipients(
433
setReplyTo(Address.
toHeader
(mimeMessage.getReplyTo()));
/packages/services/Telephony/src/com/android/phone/common/mail/internet/
MimeMessage.java
280
setHeader("To", MimeUtility.fold(Address.
toHeader
(addresses), TO_LENGTH));
288
setHeader("CC", MimeUtility.fold(Address.
toHeader
(addresses), CC_LENGTH));
296
setHeader("BCC", MimeUtility.fold(Address.
toHeader
(addresses), BCC_LENGTH));
334
setHeader("From", MimeUtility.fold(from.
toHeader
(), FROM_LENGTH));
358
setHeader("Reply-to", MimeUtility.fold(Address.
toHeader
(replyTo), REPLY_TO_LENGTH));
/packages/apps/Email/provider_src/com/android/email/provider/
DBHelper.java
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
ComposeActivity.java
[
all
...]
Completed in 472 milliseconds