Home
last modified time | relevance | path

Searched refs:inetAddress (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DIpSecService.java1081 private static void checkInetAddress(String inetAddress) { in checkInetAddress() argument
1082 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() argument
1470 InetAddress checkAddress = NetworkUtils.numericToInetAddress(inetAddress); in getFamily()
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java1489 public static InetAddress inetAddressFromString(String inetAddress) { in inetAddressFromString() argument
1490 if (TextUtils.isEmpty(inetAddress)) { in inetAddressFromString()
1494 return InetAddress.getByName(inetAddress); in inetAddressFromString()
1502 public static String inetAddressToString(InetAddress inetAddress) { in inetAddressToString() argument
1503 if (inetAddress == null) { in inetAddressToString()
1506 final String inetAddressString = inetAddress.toString(); in inetAddressToString()