Home
last modified time | relevance | path

Searched refs:getPersonal (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/mail/
DAddressUnitTests.java111 assertNull("no name", address.getPersonal()); in testNullPersonal()
114 assertNull("null name", address.getPersonal()); in testNullPersonal()
117 assertNull("empty name", address.getPersonal()); in testNullPersonal()
120 assertNull("quoted empty address", address.getPersonal()); in testNullPersonal()
128 assertEquals("simple name", "simple name", address.getPersonal()); in testSetPersonal()
131 assertEquals("quoted name", "big \"G\"", address.getPersonal()); in testSetPersonal()
134 assertEquals("quoted printable name", "big \"G\"", address.getPersonal()); in testSetPersonal()
137 assertEquals("base64 encoded name", "big \"G\"", address.getPersonal()); in testSetPersonal()
145 assertEquals("base64 utf-16 name", "\u5CB8\u672C", address.getPersonal()); in testSetPersonalMultipleEncodings()
148 assertEquals("quoted printable utf-16 name", "\u5CB8\u672C", address.getPersonal()); in testSetPersonalMultipleEncodings()
[all …]
/packages/apps/Email/tests/src/com/android/email/mail/internet/
DMimeMessageTest.java290 assertNull("no name 1 name", from[0].getPersonal()); in testParsingAddressField()
294 assertNull("no name 2 name", to[0].getPersonal()); in testParsingAddressField()
298 assertEquals("simple name name", "simple name", cc[0].getPersonal()); in testParsingAddressField()
300 assertEquals("double quoted name name", "name,4", cc[1].getPersonal()); in testParsingAddressField()
304 assertEquals("quoted name name", "big \"G\"", replyTo[0].getPersonal()); in testParsingAddressField()
306 assertEquals("utf-16 name name", "\u65E5\u672C\u8A9E", replyTo[1].getPersonal()); in testParsingAddressField()
308 assertEquals("utf-32 name name", "\uD834\uDF01\uD834\uDF46", replyTo[2].getPersonal()); in testParsingAddressField()
/packages/apps/Email/src/com/android/email/mail/
DAddress.java89 public String getPersonal() { in getPersonal() method in Address
404 if (nAddr == 1 && addresses[0].getPersonal() == null) { in pack()
415 final String displayName = address.getPersonal(); in pack()
429 final String personal = getPersonal(); in pack()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DPop3StoreUnitTests.java834 assertNull(to[0].getPersonal()); in checkFetchedMessage()
841 assertNull(from[0].getPersonal()); in checkFetchedMessage()
848 assertNull(cc[0].getPersonal()); in checkFetchedMessage()
855 assertNull(replyto[0].getPersonal()); in checkFetchedMessage()
/packages/apps/Email/src/com/android/email/activity/
DMessageView.java536 final String senderPersonal = senderEmail.getPersonal(); in onClickSender()