/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeConfigPayload.java | 690 public final LinkAddress linkAddress; field in IkeConfigPayload.ConfigAttributeIpv4Subnet 700 this.linkAddress = ipv4LinkAddress; in ConfigAttributeIpv4Subnet() 710 this.linkAddress = null; in ConfigAttributeIpv4Subnet() 719 linkAddress = null; in ConfigAttributeIpv4Subnet() 735 linkAddress = new LinkAddress(address, netmaskToPrefixLen((Inet4Address) netmask)); in ConfigAttributeIpv4Subnet() 749 if (linkAddress == null) { in encodeValueToByteBuffer() 753 byte[] netmaskBytes = prefixToNetmaskBytes(linkAddress.getPrefixLength()); in encodeValueToByteBuffer() 754 buffer.put(linkAddress.getAddress().getAddress()).put(netmaskBytes); in encodeValueToByteBuffer() 759 return linkAddress == null ? 0 : VALUE_LEN; in getValueLength() 769 return Objects.hash(super.hashCode(), linkAddress); in hashCode() [all …]
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | LinkAddress.java | 356 LinkAddress linkAddress = (LinkAddress) obj; in equals() local 357 return this.address.equals(linkAddress.address) in equals() 358 && this.prefixLength == linkAddress.prefixLength in equals() 359 && this.flags == linkAddress.flags in equals() 360 && this.scope == linkAddress.scope in equals() 361 && this.deprecationTime == linkAddress.deprecationTime in equals() 362 && this.expirationTime == linkAddress.expirationTime; in equals()
|
D | LinkProperties.java | 255 for (LinkAddress linkAddress : mLinkAddresses) { in getAddresses() 256 addresses.add(linkAddress.getAddress()); in getAddresses() 268 for (LinkAddress linkAddress : mLinkAddresses) { in getAllAddresses() 269 addresses.add(linkAddress.getAddress()); in getAllAddresses() 1678 for (LinkAddress linkAddress : mLinkAddresses) { in writeToParcel() 1679 dest.writeParcelable(linkAddress, flags); in writeToParcel()
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | ChildSessionConfiguration.java | 112 mInternalAddressList.add(((ConfigAttributeIpv6Address) att).linkAddress); in ChildSessionConfiguration() 124 ipv4SubnetAttr.linkAddress.getAddress(), in ChildSessionConfiguration() 125 ipv4SubnetAttr.linkAddress.getPrefixLength())); in ChildSessionConfiguration() 131 ipV6SubnetAttr.linkAddress.getAddress(), in ChildSessionConfiguration() 132 ipV6SubnetAttr.linkAddress.getPrefixLength())); in ChildSessionConfiguration()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeConfigPayloadTest.java | 227 assertNull(((ConfigAttributeIpv6Address) att).linkAddress); in testDecodeConfigRequest() 401 assertEquals(expectedLinkAddress, attribute.linkAddress); in verifyEncodeIpv6RangeBaseAttribute() 606 assertEquals(IPV4_LINK_ADDRESS, attributeIp4Subnet.linkAddress); in testDecodeIpv4SubnetWithValue() 614 assertNull(attributeIp4Subnet.linkAddress); in testDecodeIpv4SubnetWithoutValue() 638 assertNull(attributeIp4Subnet.linkAddress); in testEncodeIpv4SubnetWithoutValue() 737 assertEquals(IPV6_LINK_ADDRESS, attributeIp6Address.linkAddress); in testDecodeIpv6AddressWithValue() 746 assertNull(attributeIp6Address.linkAddress); in testDecodeIpv6AddressWithoutValue() 801 assertEquals(IPV6_LINK_ADDRESS, attributeIp6Subnet.linkAddress); in testDecodeIpv6SubnetWithValue() 809 assertNull(attributeIp6Subnet.linkAddress); in testDecodeIpv6SubnetWithoutValue()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/ |
D | IkeNetworkCallbackBase.java | 66 for (LinkAddress linkAddress : linkProperties.getAllLinkAddresses()) { in onLinkPropertiesChanged() 67 if (mCurrAddress.equals(linkAddress.getAddress())) { in onLinkPropertiesChanged()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/ |
D | TestableNetworkCallbackTest.kt | 182 val linkAddress = LinkAddress("fe80::ace:d00d/64") in <lambda>() constant 187 addLinkAddress(linkAddress) in <lambda>() 203 lp.linkAddresses.contains(linkAddress) && in <lambda>()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiBackupDataV1Parser.java | 613 LinkAddress linkAddress = new LinkAddress( in parseIpConfigurationFromXml() local 615 if (linkAddress.getAddress() instanceof Inet4Address) { in parseIpConfigurationFromXml() 616 builder.setIpAddress(linkAddress); in parseIpConfigurationFromXml() 618 Log.w(TAG, "Non-IPv4 address: " + linkAddress); in parseIpConfigurationFromXml()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ConnectivityListener.java | 308 for (LinkAddress linkAddress : linkProperties.getLinkAddresses()) { in formatIpAddresses() 312 sb.append(linkAddress.getAddress().getHostAddress()); in formatIpAddresses()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | NetdWrapper.java | 391 public void setInterfaceLinkAddress(String iface, LinkAddress linkAddress) { in setInterfaceLinkAddress() argument 393 ifcg.setLinkAddress(linkAddress); in setInterfaceLinkAddress()
|
D | XmlUtil.java | 1031 LinkAddress linkAddress = new LinkAddress( in parseStaticIpConfigurationFromXml() local 1034 if (linkAddress.getAddress() instanceof Inet4Address) { in parseStaticIpConfigurationFromXml() 1035 builder.setIpAddress(linkAddress); in parseStaticIpConfigurationFromXml() 1037 Log.w(TAG, "Non-IPv4 address: " + linkAddress); in parseStaticIpConfigurationFromXml()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationTestUtil.java | 223 int ipAssignmentType, int proxySettingType, String linkAddress, int linkPrefixLength, in generateIpConfig() argument 233 if (!TextUtils.isEmpty(linkAddress)) { in generateIpConfig() 236 InetAddresses.parseNumericAddress(linkAddress), linkPrefixLength); in generateIpConfig()
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanDataService.java | 1227 for (LinkAddress linkAddress : linkProperties.getLinkAddresses()) { in isLinkProtocolTypeChanged() 1228 InetAddress inetaddr = linkAddress.getAddress(); in isLinkProtocolTypeChanged()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfTest.java | 1531 LinkAddress linkAddress = new LinkAddress(InetAddress.getByAddress(MOCK_IPV4_ADDR), 24); in testApfFilterArp() local 1533 assertTrue(lp.addLinkAddress(linkAddress)); in testApfFilterArp()
|