Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/shared/
DInitialConfiguration.java107 if (ipAddresses.stream().filter(InitialConfiguration::isIPv4).count() > 1) { in isValid()
185 return isIPv4(addr) || isCompliantIPv6PrefixLength(addr.getPrefixLength()); in isPrefixLengthCompliant()
189 return isIPv4(prefix) || isCompliantIPv6PrefixLength(prefix.getPrefixLength()); in isPrefixLengthCompliant()
197 private static boolean isIPv4(IpPrefix prefix) { in isIPv4() method in InitialConfiguration
201 private static boolean isIPv4(LinkAddress addr) { in isIPv4() method in InitialConfiguration
/frameworks/base/core/java/android/net/
DIpPrefix.java223 public boolean isIPv4() { in isIPv4() method in IpPrefix
265 if (prefix1.isIPv4()) { in lengthComparator()
268 if (prefix2.isIPv4()) return 1; in lengthComparator()
DNetworkUtils.java435 if (!prefix.isIPv4()) { in routedIPv4AddressCount()
/frameworks/base/tests/net/common/java/android/net/
DIpPrefixTest.java388 assertTrue(p.isIPv4()); in testParceling()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java923 if (destination.isIPv4()) { in providesRoutesToMostDestinations()