Home
last modified time | relevance | path

Searched refs:prefix2 (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPath.java217 static void dumpAll(Path p, String prefix1, String prefix2) { in dumpAll() argument
231 Log.d(TAG, prefix2 + "|"); in dumpAll()
233 dumpAll(child, prefix2 + "+-- ", prefix2 + "| "); in dumpAll()
235 dumpAll(child, prefix2 + "+-- ", prefix2 + " "); in dumpAll()
/packages/modules/Connectivity/framework/src/android/net/
DIpPrefix.java264 public int compare(IpPrefix prefix1, IpPrefix prefix2) { in lengthComparator()
266 if (prefix2.isIPv6()) return -1; in lengthComparator()
268 if (prefix2.isIPv4()) return 1; in lengthComparator()
271 final int p2len = prefix2.getPrefixLength(); in lengthComparator()
275 final byte[] a2 = prefix2.address; in lengthComparator()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java353 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/
DStructNdOptPref64Test.java185 final IpPrefix prefix2 = prefix(PREFIX2, 96); in testToByteBuffer() local
192 opt = new StructNdOptPref64(prefix2, 65519); in testToByteBuffer()
198 assertInvalidParameters(prefix2, -1); in testToByteBuffer()
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DSkipController.java141 String prefix2 = prefix + " "; in dump() local
143 pw.print(prefix2); in dump()
/packages/modules/Connectivity/tests/common/java/android/net/
DLinkPropertiesTest.java402 LinkAddress prefix2 = new LinkAddress(address("2001:db8:2::"), 48); in testRouteInterfaces() local
417 r = new RouteInfo(prefix2, address, "wlan0"); in testRouteInterfaces()
436 r = new RouteInfo(prefix2, null, "wlan0"); in testRouteInterfaces()
466 lp.removeRoute(new RouteInfo(prefix2, null, null)); in testRouteInterfaces()
470 lp.removeRoute(new RouteInfo(prefix2, null, "wlan0")); in testRouteInterfaces()