Home
last modified time | relevance | path

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

/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityUnitTests.java518 assertTrue(Utility.isServerNameValid("a")); in testIsServerNameValid()
519 assertTrue(Utility.isServerNameValid("gmail")); in testIsServerNameValid()
520 assertTrue(Utility.isServerNameValid("gmail.com")); in testIsServerNameValid()
521 assertTrue(Utility.isServerNameValid("gmail.com.x.y.z")); in testIsServerNameValid()
522 assertTrue(Utility.isServerNameValid(" gmail.com.x.y.z ")); in testIsServerNameValid()
524 assertFalse(Utility.isServerNameValid("")); in testIsServerNameValid()
525 assertFalse(Utility.isServerNameValid("$")); in testIsServerNameValid()
526 assertFalse(Utility.isServerNameValid(" ")); in testIsServerNameValid()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java191 public static boolean isServerNameValid(TextView view) { in isServerNameValid() method in Utility
192 return isServerNameValid(view.getText().toString()); in isServerNameValid()
195 public static boolean isServerNameValid(String serverName) { in isServerNameValid() method in Utility
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOutgoingFragment.java292 Utility.isServerNameValid(mServerView) && Utility.isPortFieldValid(mPortView); in validateFields()
DAccountSetupExchangeFragment.java343 && Utility.isServerNameValid(mServerView); in validateFields()
DAccountSetupIncomingFragment.java384 && Utility.isServerNameValid(mServerView) in validateFields()