Home
last modified time | relevance | path

Searched refs:normalizeEmailAddress (Results 1 – 3 of 3) sorted by relevance

/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/
DNormalizeEmailAddressTest.java15 assertEquals(Utils.normalizeEmailAddress("User@EXAMPLE.COM"), emailAddress); in testNormalizeEmailAddress()
17 assertEquals(Utils.normalizeEmailAddress("User@example.com"), emailAddress); in testNormalizeEmailAddress()
19 assertEquals(Utils.normalizeEmailAddress("User@exaMple.com"), emailAddress); in testNormalizeEmailAddress()
21 assertEquals(Utils.normalizeEmailAddress(null), null); in testNormalizeEmailAddress()
23 assertEquals(Utils.normalizeEmailAddress(""), ""); in testNormalizeEmailAddress()
25 assertEquals(Utils.normalizeEmailAddress("Not an EMAIL address"), "not an email address"); in testNormalizeEmailAddress()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DReplyFromAccount.java117 String parsedFromAddress = Utils.normalizeEmailAddress(tokens[0].getAddress()); in matchesAccountOrCustomFrom()
118 if (TextUtils.equals(Utils.normalizeEmailAddress(account.getEmailAddress()), in matchesAccountOrCustomFrom()
123 if (TextUtils.equals(Utils.normalizeEmailAddress(replyFromAccount.address), in matchesAccountOrCustomFrom()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DUtils.java1093 public static String normalizeEmailAddress(String email) { in normalizeEmailAddress() method in Utils