Searched refs:isServerNameValid (Results 1 – 5 of 5) sorted by relevance
518 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()
191 public static boolean isServerNameValid(TextView view) { in isServerNameValid() method in Utility192 return isServerNameValid(view.getText().toString()); in isServerNameValid()195 public static boolean isServerNameValid(String serverName) { in isServerNameValid() method in Utility
292 Utility.isServerNameValid(mServerView) && Utility.isPortFieldValid(mPortView); in validateFields()
343 && Utility.isServerNameValid(mServerView); in validateFields()
384 && Utility.isServerNameValid(mServerView) in validateFields()