Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java939 private static InetAddress inetAddressFromString(String inetAddress) { in inetAddressFromString() argument
940 if (TextUtils.isEmpty(inetAddress)) { in inetAddressFromString()
944 return InetAddress.getByName(inetAddress); in inetAddressFromString()
951 private static String inetAddressToString(InetAddress inetAddress) { in inetAddressToString() argument
952 if (inetAddress == null) { in inetAddressToString()
955 final String inetAddressString = inetAddress.toString(); in inetAddressToString()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java1047 private static void checkInetAddress(String inetAddress) { in checkInetAddress() argument
1048 if (TextUtils.isEmpty(inetAddress)) { in checkInetAddress()
1052 InetAddress checkAddr = NetworkUtils.numericToInetAddress(inetAddress); in checkInetAddress()
1055 throw new IllegalArgumentException("Inappropriate wildcard address: " + inetAddress); in checkInetAddress()