Searched refs:IpRange (Results 1 – 5 of 5) sorted by relevance
/frameworks/libs/net/common/tests/unit/src/android/net/util/ |
D | IpRangeTest.java | 59 new IpRange(null, IPV6_ADDR); in testConstructorBadArguments() 65 new IpRange(IPV6_ADDR, null); in testConstructorBadArguments() 71 new IpRange(null, null); in testConstructorBadArguments() 77 new IpRange(null); in testConstructorBadArguments() 83 new IpRange(address("10.10.10.10"), address("1.2.3.4")); in testConstructorBadArguments() 89 new IpRange(address("ffff::"), address("abcd::")); in testConstructorBadArguments() 97 IpRange r = new IpRange(new IpPrefix(IPV4_ADDR, 32)); in testConstructor() 101 r = new IpRange(new IpPrefix(IPV4_ADDR, 16)); in testConstructor() 105 r = new IpRange(IPV4_ADDR, IPV4_RANGE_END); in testConstructor() 109 r = new IpRange(new IpPrefix(IPV6_ADDR, 128)); in testConstructor() [all …]
|
/frameworks/libs/net/common/framework/android/net/util/ |
D | IpRange.java | 45 public final class IpRange { class 51 public IpRange(@NonNull InetAddress startAddr, @NonNull InetAddress endAddr) { in IpRange() method in IpRange 69 public IpRange(@NonNull IpPrefix prefix) { in IpRange() method in IpRange 132 final IpRange workingRange = new IpRange(workingPrefix); in asIpPrefixes() 184 public boolean containsRange(IpRange other) { in containsRange() 196 public boolean overlapsRange(IpRange other) { in overlapsRange() 208 if (!(obj instanceof IpRange)) { in equals() 212 final IpRange other = (IpRange) obj; in equals()
|
/frameworks/libs/net/common/tests/unit/ |
D | jarjar-rules.txt | 2 rule android.net.util.IpRange* com.android.net.module.util.IpRange@1
|
/frameworks/libs/net/common/ |
D | jarjar-rules-shared.txt | 2 rule android.net.util.IpRange* com.android.net.module.util.IpRange@1
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | VpnIkev2Utils.java | 63 import android.net.util.IpRange; 407 new IpRange(selector.startingAddress, selector.endingAddress).asIpPrefixes()) { in getRoutesFromTrafficSelectors()
|