Searched refs:isEmailAddress (Results 1 – 3 of 3) sorted by relevance
69 assertTrue(SmsMessage.isEmailAddress("\"First Last\" <name@example.com>")); in testIsEmailAddress()70 assertTrue(SmsMessage.isEmailAddress("FirstLast <name@sub.example.com>")); in testIsEmailAddress()71 assertFalse(SmsMessage.isEmailAddress("FirstLast 1112223333")); in testIsEmailAddress()72 assertFalse(SmsMessage.isEmailAddress("")); in testIsEmailAddress()73 assertFalse(SmsMessage.isEmailAddress("nmg5gj945j")); in testIsEmailAddress()
391 public static boolean isEmailAddress(String messageHeader) { in isEmailAddress() method in SmsMessageBase425 mIsEmail = isEmailAddress(mEmailFrom); in extractEmailAddressFromMessageBody()
2215 if (Mms.isEmailAddress(recipient)) { in getOrCreateThreadId()2333 public static boolean isEmailAddress(String address) { in isEmailAddress() method in Telephony.Mms