Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DIpPrefix.java214 public boolean isIPv4() { in isIPv4() method in IpPrefix
256 if (prefix1.isIPv4()) { in lengthComparator()
259 if (prefix2.isIPv4()) return 1; in lengthComparator()
DLinkAddress.java123 public boolean isIPv4() { in isIPv4() method in LinkAddress
DNetworkUtils.java430 if (!prefix.isIPv4()) { in routedIPv4AddressCount()
/frameworks/base/tests/net/java/android/net/
DLinkAddressTest.java85 assertTrue(address.isIPv4()); in testConstructors()
107 assertTrue(address.isIPv4()); in testConstructors()
DIpPrefixTest.java388 assertTrue(p.isIPv4()); in testParceling()
/frameworks/base/services/net/java/android/net/ip/
DIpClient.java570 return addr.isIPv4() || isCompliantIPv6PrefixLength(addr.getPrefixLength()); in isPrefixLengthCompliant()
574 return prefix.isIPv4() || isCompliantIPv6PrefixLength(prefix.getPrefixLength()); in isPrefixLengthCompliant()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java886 if (destination.isIPv4()) { in providesRoutesToMostDestinations()