Searched refs:getPrefixLength (Results 1 – 8 of 8) sorted by relevance
172 new IpPrefix(destination.getAddress(), destination.getPrefixLength()), in RouteInfo()263 mDestination.getPrefixLength() == 32) || in isHost()265 mDestination.getPrefixLength() == 128); in isHost()282 return new LinkAddress(mDestination.getAddress(), mDestination.getPrefixLength()); in getDestinationLinkAddress()321 return mType == RTN_UNICAST && mDestination.getPrefixLength() == 0; in isDefaultRoute()374 mDestination.getPrefixLength()); in matches()396 (bestRoute.mDestination.getPrefixLength() >= in selectBestRoute()397 route.mDestination.getPrefixLength())) { in selectBestRoute()
239 public int getPrefixLength() { in getPrefixLength() method in LinkAddress249 return getPrefixLength(); in getNetworkPrefixLength()
168 public int getPrefixLength() { in getPrefixLength() method in IpPrefix
71 assertEquals(25, address.getPrefixLength()); in testConstructors()77 assertEquals(127, address.getPrefixLength()); in testConstructors()84 assertEquals(64, address.getPrefixLength()); in testConstructors()90 assertEquals(23, address.getPrefixLength()); in testConstructors()109 assertEquals(8, ipv4Loopback.getPrefixLength()); in testConstructors()112 assertEquals(128, ipv6Loopback.getPrefixLength()); in testConstructors()
244 int prefixLength = getPrefixLength(jsonConfig.getInt("prefix_length")); in getWifiConfiguration()348 private static int getPrefixLength(int prefixLength) { in getPrefixLength() method in WifiConfigurationHelper
87 out.writeInt(ipAddress.getPrefixLength()); in writeConfig()
871 linkAddr.getPrefixLength()); in setInterfaceConfig()2026 cmd.appendArg(la.getAddress().getHostAddress() + "/" + la.getPrefixLength()); in addLegacyRouteForNetId()
16936 method public int getPrefixLength();16946 method public int getPrefixLength();