/frameworks/base/core/java/android/net/ |
D | RouteInfo.java | 221 new IpPrefix(destination.getAddress(), destination.getPrefixLength()), in RouteInfo() 316 mDestination.getPrefixLength() == 32) || in isHost() 318 mDestination.getPrefixLength() == 128); in isHost() 337 return new LinkAddress(mDestination.getAddress(), mDestination.getPrefixLength()); in getDestinationLinkAddress() 381 return mType == RTN_UNICAST && mDestination.getPrefixLength() == 0; in isDefaultRoute() 451 (bestRoute.mDestination.getPrefixLength() >= in selectBestRoute() 452 route.mDestination.getPrefixLength())) { in selectBestRoute()
|
D | IpPrefix.java | 180 public int getPrefixLength() { in getPrefixLength() method in IpPrefix 207 if (otherPrefix.getPrefixLength() < prefixLength) return false; in containsPrefix() 270 final int p1len = prefix1.getPrefixLength(); in lengthComparator() 271 final int p2len = prefix2.getPrefixLength(); in lengthComparator()
|
D | LinkAddress.java | 313 public int getPrefixLength() { in getPrefixLength() method in LinkAddress 325 return getPrefixLength(); in getNetworkPrefixLength()
|
D | NetworkUtils.java | 438 int rank = 32 - prefix.getPrefixLength(); in routedIPv4AddressCount() 457 int rank = 128 - prefix.getPrefixLength(); in routedIPv6AddressCount()
|
D | LinkProperties.java | 781 if (prefix != null && prefix.getPrefixLength() != 96) { in setNat64Prefix()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | LinkAddressTest.java | 81 assertEquals(25, address.getPrefixLength()); in testConstructors() 88 assertEquals(127, address.getPrefixLength()); in testConstructors() 96 assertEquals(64, address.getPrefixLength()); in testConstructors() 103 assertEquals(23, address.getPrefixLength()); in testConstructors() 123 assertEquals(8, ipv4Loopback.getPrefixLength()); in testConstructors() 126 assertEquals(128, ipv6Loopback.getPrefixLength()); in testConstructors()
|
/frameworks/base/services/net/java/android/net/ip/ |
D | InterfaceController.java | 55 ifConfig.prefixLength = addr.getPrefixLength(); in setInterfaceAddress() 148 return addAddress(addr.getAddress(), addr.getPrefixLength()); in addAddress()
|
D | RouterAdvertisementDaemon.java | 485 final int prefixLength = ipp.getPrefixLength(); 523 final int prefixLength = ipp.getPrefixLength();
|
D | IpServer.java | 530 if (linkAddr.getPrefixLength() != RFC7421_PREFIX_LENGTH) continue; in updateUpstreamIPv6LinkProperties() 533 linkAddr.getAddress(), linkAddr.getPrefixLength()); in updateUpstreamIPv6LinkProperties()
|
/frameworks/base/services/net/java/android/net/shared/ |
D | InitialConfiguration.java | 185 return isIPv4(addr) || isCompliantIPv6PrefixLength(addr.getPrefixLength()); in isPrefixLengthCompliant() 189 return isIPv4(prefix) || isCompliantIPv6PrefixLength(prefix.getPrefixLength()); in isPrefixLengthCompliant()
|
/frameworks/base/services/net/java/android/net/util/ |
D | PrefixUtils.java | 70 return new IpPrefix(addr.getAddress(), addr.getPrefixLength()); in asIpPrefix()
|
/frameworks/native/libs/binder/include/binder/ |
D | IpPrefix.h | 56 int32_t getPrefixLength() const;
|
/frameworks/base/services/net/java/android/net/dhcp/ |
D | DhcpServingParamsParcelExt.java | 49 this.serverAddrPrefixLength = serverAddr.getPrefixLength(); in setServerAddr()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | IPv6TetheringCoordinator.java | 223 if (linkAddr.isGlobalPreferred() && linkAddr.getPrefixLength() == 64) { in getIPv6OnlyLinkProperties() 231 (destination.getPrefixLength() <= 64)) { in getIPv6OnlyLinkProperties()
|
/frameworks/base/tests/net/java/android/net/ |
D | IpSecManagerTest.java | 294 VTI_INNER_ADDRESS.getPrefixLength()); in testAddRemoveAddressesFromVti() 300 VTI_INNER_ADDRESS.getPrefixLength()); in testAddRemoveAddressesFromVti()
|
/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/native/libs/binder/ |
D | IpPrefix.cpp | 133 int32_t IpPrefix::getPrefixLength() const in getPrefixLength() function in android::net::IpPrefix
|
/frameworks/base/services/core/java/com/android/server/ |
D | TestNetworkService.java | 110 addr.getPrefixLength()); in createInterface()
|
D | IpSecService.java | 1382 localAddr.getPrefixLength()); in addAddressToTunnelInterface() 1411 localAddr.getPrefixLength()); in removeAddressFromTunnelInterface()
|
D | NetworkManagementService.java | 767 cfgParcel.prefixLength = cfg.getLinkAddress().getPrefixLength(); in toStableParcel()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceParameterizedTest.java | 703 eq(mLocalInnerAddress.getPrefixLength())); in testAddRemoveAddressFromTunnelInterface() 710 eq(mLocalInnerAddress.getPrefixLength())); in testAddRemoveAddressFromTunnelInterface()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | IpConfigStore.java | 94 out.writeInt(ipAddress.getPrefixLength()); in writeConfig()
|
/frameworks/base/tests/net/java/android/net/ip/ |
D | IpServerTest.java | 435 assertEquals(expectedPrefix.getPrefixLength(), params.serverAddrPrefixLength); in assertDhcpStarted()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 709 staticIpConfiguration.ipAddress.getPrefixLength()); in writeStaticIpConfigurationToXml()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |