Home
last modified time | relevance | path

Searched refs:getPrefixLength (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/net/
DRouteInfo.java172 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()
DIpPrefix.java171 public int getPrefixLength() { in getPrefixLength() method in IpPrefix
198 if (otherPrefix.getPrefixLength() < prefixLength) return false; in containsPrefix()
261 final int p1len = prefix1.getPrefixLength(); in lengthComparator()
262 final int p2len = prefix2.getPrefixLength(); in lengthComparator()
DLinkAddress.java272 public int getPrefixLength() { in getPrefixLength() method in LinkAddress
282 return getPrefixLength(); in getNetworkPrefixLength()
DNetworkUtils.java433 int rank = 32 - prefix.getPrefixLength(); in routedIPv4AddressCount()
452 int rank = 128 - prefix.getPrefixLength(); in routedIPv6AddressCount()
/frameworks/base/tests/net/java/android/net/
DLinkAddressTest.java82 assertEquals(25, address.getPrefixLength()); in testConstructors()
89 assertEquals(127, address.getPrefixLength()); in testConstructors()
97 assertEquals(64, address.getPrefixLength()); in testConstructors()
104 assertEquals(23, address.getPrefixLength()); in testConstructors()
124 assertEquals(8, ipv4Loopback.getPrefixLength()); in testConstructors()
127 assertEquals(128, ipv6Loopback.getPrefixLength()); in testConstructors()
DIpSecManagerTest.java292 VTI_INNER_ADDRESS.getPrefixLength()); in testAddRemoveAddressesFromVti()
298 VTI_INNER_ADDRESS.getPrefixLength()); in testAddRemoveAddressesFromVti()
/frameworks/base/services/net/java/android/net/util/
DPrefixUtils.java70 return new IpPrefix(addr.getAddress(), addr.getPrefixLength()); in asIpPrefix()
/frameworks/native/libs/binder/include/binder/
DIpPrefix.h56 int32_t getPrefixLength() const;
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DIPv6TetheringCoordinator.java223 if (linkAddr.isGlobalPreferred() && linkAddr.getPrefixLength() == 64) { in getIPv6OnlyLinkProperties()
231 (destination.getPrefixLength() <= 64)) { in getIPv6OnlyLinkProperties()
DTetherInterfaceStateMachine.java318 if (linkAddr.getPrefixLength() != RFC7421_PREFIX_LENGTH) continue; in updateUpstreamIPv6LinkProperties()
321 linkAddr.getAddress(), linkAddr.getPrefixLength()); in updateUpstreamIPv6LinkProperties()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java244 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/
DInterfaceController.java126 return addAddress(addr.getAddress(), addr.getPrefixLength()); in addAddress()
DRouterAdvertisementDaemon.java469 final int prefixLength = ipp.getPrefixLength();
507 final int prefixLength = ipp.getPrefixLength();
DIpClient.java570 return addr.isIPv4() || isCompliantIPv6PrefixLength(addr.getPrefixLength()); in isPrefixLengthCompliant()
574 return prefix.isIPv4() || isCompliantIPv6PrefixLength(prefix.getPrefixLength()); in isPrefixLengthCompliant()
/frameworks/native/libs/binder/
DIpPrefix.cpp133 int32_t IpPrefix::getPrefixLength() const in getPrefixLength() function in android::net::IpPrefix
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java583 eq(mLocalInnerAddress.getPrefixLength())); in testAddRemoveAddressFromTunnelInterface()
590 eq(mLocalInnerAddress.getPrefixLength())); in testAddRemoveAddressFromTunnelInterface()
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java94 out.writeInt(ipAddress.getPrefixLength()); in writeConfig()
/frameworks/opt/net/lowpan/service/java/com/android/server/lowpan/
DLowpanInterfaceTracker.java414 IpPrefix prefix = new IpPrefix(address.getAddress(), address.getPrefixLength()); in enter()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java1349 localAddr.getPrefixLength()); in addAddressToTunnelInterface()
1378 localAddr.getPrefixLength()); in removeAddressFromTunnelInterface()
DNetworkManagementService.java1058 linkAddr.getPrefixLength()); in setInterfaceConfig()
2542 cmd.appendArg(la.getAddress().getHostAddress() + "/" + la.getPrefixLength()); in addLegacyRouteForNetId()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java679 staticIpConfiguration.ipAddress.getPrefixLength()); in writeStaticIpConfigurationToXml()
/frameworks/base/services/net/java/android/net/apf/
DApfFilter.java1451 final int prefix = (ipv4Address != null) ? ipv4Address.getPrefixLength() : 0; in setLinkProperties()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/base/config/
Dboot-image-profile.txt23207 HSPLandroid/icu/impl/number/Modifier;->getPrefixLength()I
26016 HSPLandroid/net/LinkAddress;->getPrefixLength()I
44634 HSPLjava/io/File;->getPrefixLength()I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt16999 method public int getPrefixLength();
17009 method public int getPrefixLength();

12