Searched refs:inetAddress (Results 1 – 2 of 2) sorted by relevance
1081 private static void checkInetAddress(String inetAddress) { in checkInetAddress() argument1082 if (TextUtils.isEmpty(inetAddress)) { in checkInetAddress()1086 InetAddress checkAddr = NetworkUtils.numericToInetAddress(inetAddress); in checkInetAddress()1089 throw new IllegalArgumentException("Inappropriate wildcard address: " + inetAddress); in checkInetAddress()1468 private int getFamily(String inetAddress) { in getFamily() argument1470 InetAddress checkAddress = NetworkUtils.numericToInetAddress(inetAddress); in getFamily()
1489 public static InetAddress inetAddressFromString(String inetAddress) { in inetAddressFromString() argument1490 if (TextUtils.isEmpty(inetAddress)) { in inetAddressFromString()1494 return InetAddress.getByName(inetAddress); in inetAddressFromString()1502 public static String inetAddressToString(InetAddress inetAddress) { in inetAddressToString() argument1503 if (inetAddress == null) { in inetAddressToString()1506 final String inetAddressString = inetAddress.toString(); in inetAddressToString()