Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/common/networkstackclient/src/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
/packages/modules/Connectivity/framework/src/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.java401 if (!prefix.isIPv4()) { in routedIPv4AddressCount()
/packages/modules/Connectivity/tests/common/java/android/net/
DIpPrefixTest.java370 assertTrue(p.isIPv4()); in testParceling()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt412 Landroid/net/IpPrefix;->isIPv4()Z
437 Landroid/net/LinkAddress;->isIPv4()Z