Searched refs:getPrefixLength (Results 1 – 15 of 15) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | RouteInfo.java | 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() 390 (bestRoute.mDestination.getPrefixLength() >= in selectBestRoute() 391 route.mDestination.getPrefixLength())) { in selectBestRoute()
|
D | LinkAddress.java | 255 public int getPrefixLength() { in getPrefixLength() method in LinkAddress 265 return getPrefixLength(); in getNetworkPrefixLength()
|
D | IpPrefix.java | 168 public int getPrefixLength() { in getPrefixLength() method in IpPrefix
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | LinkAddressTest.java | 74 assertEquals(25, address.getPrefixLength()); in testConstructors() 80 assertEquals(127, address.getPrefixLength()); in testConstructors() 87 assertEquals(64, address.getPrefixLength()); in testConstructors() 93 assertEquals(23, address.getPrefixLength()); in testConstructors() 112 assertEquals(8, ipv4Loopback.getPrefixLength()); in testConstructors() 115 assertEquals(128, ipv6Loopback.getPrefixLength()); in testConstructors()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | IPv6TetheringCoordinator.java | 230 if (linkAddr.isGlobalPreferred() && linkAddr.getPrefixLength() == 64) { in getIPv6OnlyLinkProperties() 238 (destination.getPrefixLength() <= 64)) { in getIPv6OnlyLinkProperties()
|
D | IPv6TetheringInterfaceServices.java | 127 if (linkAddr.getPrefixLength() != RFC7421_IP_PREFIX_LENGTH) continue; in updateUpstreamIPv6LinkProperties() 130 linkAddr.getAddress(), linkAddr.getPrefixLength()); in updateUpstreamIPv6LinkProperties()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | WifiConfigurationHelper.java | 244 int prefixLength = getPrefixLength(jsonConfig.getInt("prefix_length")); in getWifiConfiguration() 348 private static int getPrefixLength(int prefixLength) { in getPrefixLength() method in WifiConfigurationHelper
|
/frameworks/base/services/net/java/android/net/ip/ |
D | RouterAdvertisementDaemon.java | 469 final int prefixLength = ipp.getPrefixLength(); 507 final int prefixLength = ipp.getPrefixLength();
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | IpConfigStore.java | 85 out.writeInt(ipAddress.getPrefixLength()); in writeConfig()
|
/frameworks/base/services/net/java/android/net/apf/ |
D | ApfFilter.java | 1096 final int prefix = (ipv4Address != null) ? ipv4Address.getPrefixLength() : 0; in setLinkProperties()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 1051 linkAddr.getPrefixLength()); in setInterfaceConfig() 2644 cmd.appendArg(la.getAddress().getHostAddress() + "/" + la.getPrefixLength()); in addLegacyRouteForNetId()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 16999 method public int getPrefixLength(); 17009 method public int getPrefixLength();
|
/frameworks/base/api/ |
D | current.txt | 23569 method public int getPrefixLength(); 23579 method public int getPrefixLength();
|
D | system-current.txt | 25402 method public int getPrefixLength(); 25412 method public int getPrefixLength();
|
D | test-current.txt | 23643 method public int getPrefixLength(); 23653 method public int getPrefixLength();
|