Searched refs:prefix1 (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/framework/src/android/net/ |
D | IpPrefix.java | 264 public int compare(IpPrefix prefix1, IpPrefix prefix2) { in lengthComparator() 265 if (prefix1.isIPv4()) { in lengthComparator() 270 final int p1len = prefix1.getPrefixLength(); in lengthComparator() 274 final byte[] a1 = prefix1.address; in lengthComparator()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | PrivateAddressCoordinator.java | 353 private boolean isConflictPrefix(final IpPrefix prefix1, final IpPrefix prefix2) { in isConflictPrefix() argument 354 if (prefix2.getPrefixLength() < prefix1.getPrefixLength()) { in isConflictPrefix() 355 return prefix2.contains(prefix1.getAddress()); in isConflictPrefix() 358 return prefix1.contains(prefix2.getAddress()); in isConflictPrefix()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | StructNdOptPref64Test.java | 184 final IpPrefix prefix1 = prefix(PREFIX1, 56); in testToByteBuffer() local 187 StructNdOptPref64 opt = new StructNdOptPref64(prefix1, 600); in testToByteBuffer() 197 assertInvalidParameters(prefix1, 65535); in testToByteBuffer()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | Path.java | 217 static void dumpAll(Path p, String prefix1, String prefix2) { in dumpAll() argument 220 Log.d(TAG, prefix1 + p.mSegment + ":" in dumpAll()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | LinkPropertiesTest.java | 401 LinkAddress prefix1 = new LinkAddress(address("2001:db8:1::"), 48); in testRouteInterfaces() local 407 RouteInfo r = new RouteInfo(prefix1, address, null); in testRouteInterfaces()
|