Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmSmsTest.java69 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()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsMessageBase.java391 public static boolean isEmailAddress(String messageHeader) { in isEmailAddress() method in SmsMessageBase
425 mIsEmail = isEmailAddress(mEmailFrom); in extractEmailAddressFromMessageBody()
/frameworks/base/core/java/android/provider/
DTelephony.java2215 if (Mms.isEmailAddress(recipient)) { in getOrCreateThreadId()
2333 public static boolean isEmailAddress(String address) { in isEmailAddress() method in Telephony.Mms