Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/tests/src/com/android/mail/
DEmailAddressTest.java26 EmailAddress email = EmailAddress.getEmailAddress("email@gmail.com"); in testNameRegex()
31 EmailAddress nameKnown = EmailAddress.getEmailAddress("john doe <coolguy@doe.com>"); in testNameRegex()
36 EmailAddress withQuotes = EmailAddress in testNameRegex()
42 EmailAddress noSpace = EmailAddress.getEmailAddress("john doe<coolguy@doe.com>"); in testNameRegex()
47 EmailAddress noSpaceWithQuotes = EmailAddress in testNameRegex()
58 EmailAddress address = EmailAddress.getEmailAddress("test name <test@localhost.com>"); in testEmailAddressParsing()
62 address = EmailAddress.getEmailAddress("\"test name\" <test@localhost.com>"); in testEmailAddressParsing()
66 address = EmailAddress.getEmailAddress("<test@localhost.com>"); in testEmailAddressParsing()
70 address = EmailAddress.getEmailAddress("test@localhost.com"); in testEmailAddressParsing()
74 address = EmailAddress.getEmailAddress("O'brian <test@localhost.com>"); in testEmailAddressParsing()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DEmailAddress.java24 public final class EmailAddress { class
38 return new EmailAddress(emailText).isValid(); in isValidEmail()
47 public EmailAddress(final String emailString) { in EmailAddress() method in EmailAddress
58 public EmailAddress(final String emailString, final boolean i18n) { in EmailAddress() method in EmailAddress
69 public EmailAddress(final String user, final String host) { in EmailAddress() method in EmailAddress
80 public EmailAddress(final String user, final String host, final boolean i18n) { in EmailAddress() method in EmailAddress
227 if (otherObject instanceof EmailAddress) { in equals()
228 final EmailAddress otherAddress = (EmailAddress) otherObject; in equals()
/packages/apps/UnifiedEmail/src/com/android/mail/
DEmailAddress.java32 public class EmailAddress { class
42 private EmailAddress(String name, String address) { in EmailAddress() method in EmailAddress
60 public static synchronized EmailAddress getEmailAddress(String rawAddress) { in getEmailAddress()
92 return new EmailAddress(name, address); in getEmailAddress()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java47 import com.android.mail.EmailAddress;
1841 final EmailAddress address = EmailAddress.getEmailAddress(sender); in getDisplayableSender()
1864 final EmailAddress address = EmailAddress.getEmailAddress(sender); in getSenderAddress()
1885 final EmailAddress address = EmailAddress.getEmailAddress(sender); in addEmailAddressToSet()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java76 import com.android.messaging.util.EmailAddress;
2431 if (EmailAddress.isValidEmail(recipients[i])) {