/aosp12/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
H A D | IkeIpv6AddrIdentification.java | 34 @NonNull public final Inet6Address ipv6Address; field in IkeIpv6AddrIdentification 46 ipv6Address = (Inet6Address) (Inet6Address.getByAddress(ipv6AddrBytes)); in IkeIpv6AddrIdentification() 59 ipv6Address = address; in IkeIpv6AddrIdentification() 83 result.putString(IP_ADDRESS_KEY, ipv6Address.getHostAddress()); in toPersistableBundle() 91 return Objects.hash(idType, ipv6Address); in hashCode() 100 return ipv6Address.equals(((IkeIpv6AddrIdentification) o).ipv6Address); in equals() 114 validateEndCertSanOrThrow(endCert, SAN_TYPE_IP_ADDRESS, ipv6Address.getHostAddress()); in validateEndCertIdOrThrow() 125 return ipv6Address.getAddress(); in getEncodedIdData()
|
/aosp12/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/ |
H A D | StructTest.java | 746 @Field(order = 1, type = Type.Ipv6Address) public final Inet6Address ipv6Address; field in StructTest.IpAddressMessage 748 IpAddressMessage(final Inet4Address ipv4Address, final Inet6Address ipv6Address) { in IpAddressMessage() argument 750 this.ipv6Address = ipv6Address; in IpAddressMessage() 760 assertEquals(TEST_IPV6_ADDRESS, msg.ipv6Address); in testIpAddressType() 769 @Field(order = 1, type = Type.Ipv6Address) public byte[] ipv6Address; field in StructTest.WrongIpAddressType 802 final Inet6Address ipv6Address) { in FullTypeMessage() argument 819 this.ipv6Address = ipv6Address; in FullTypeMessage() 873 assertEquals(TEST_IPV6_ADDRESS, msg.ipv6Address); in testStructClass_equals() 911 final Inet6Address ipv6Address) { in FullTypeMessageWithDupType() argument 928 this.ipv6Address = ipv6Address; in FullTypeMessageWithDupType() [all …]
|
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
H A D | IkeIdPayloadTest.java | 129 assertEquals(expectedAddr, ikeId.ipv6Address); in testDecodeIpv6AddrIdPayload() 223 Inet6Address ipv6Address = (Inet6Address) Inet6Address.getByName(IPV6_ADDR_STRING); in testConstructAndEncodeIpv6AddrIdPayload() local 224 IkeIdPayload payload = new IkeIdPayload(false, new IkeIpv6AddrIdentification(ipv6Address)); in testConstructAndEncodeIpv6AddrIdPayload() 299 Inet6Address ipv6Address = (Inet6Address) InetAddress.getByName(IPV6_ADDR_STRING); in testPersistableBundleEncodeDecodeIpv6AddressId() local 300 verifyPersistableBundleEncodeDecodeIsLossless(new IkeIpv6AddrIdentification(ipv6Address)); in testPersistableBundleEncodeDecodeIpv6AddressId()
|
/aosp12/frameworks/base/tests/vcn/java/android/net/vcn/persistablebundleutils/ |
H A D | IkeIdentificationUtilsTest.java | 60 final Inet6Address ipv6Address = (Inet6Address) InetAddress.getByName("2001:db8:2::100"); in testPersistableBundleEncodeDecodeIpv6AddressId() local 61 verifyPersistableBundleEncodeDecodeIsLossless(new IkeIpv6AddrIdentification(ipv6Address)); in testPersistableBundleEncodeDecodeIpv6AddressId()
|
H A D | TunnelModeChildSessionParamsUtilsTest.java | 103 final Inet6Address ipv6Address = in testSetConfigRequestsEncodeDecodeIsLossless() local 111 .addInternalAddressRequest(ipv6Address, ipv6PrefixLen) in testSetConfigRequestsEncodeDecodeIsLossless()
|
H A D | IkeSessionParamsUtilsTest.java | 118 final Inet6Address ipv6Address = in testEncodeRecodeParamsWithConfigRequests() local 126 .addPcscfServerRequest(ipv6Address) in testEncodeRecodeParamsWithConfigRequests()
|
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
H A D | IkeConfigPayload.java | 1127 public ConfigAttributeIpv6Dns(Inet6Address ipv6Address) { in ConfigAttributeIpv6Dns() argument 1128 super(CONFIG_ATTR_INTERNAL_IP6_DNS, ipv6Address); in ConfigAttributeIpv6Dns() 1153 public ConfigAttributeIpv6Pcscf(Inet6Address ipv6Address) { in ConfigAttributeIpv6Pcscf() argument 1154 super(CONFIG_ATTR_IP6_PCSCF, ipv6Address); in ConfigAttributeIpv6Pcscf()
|
/aosp12/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
H A D | IkeIdentificationTest.java | 61 assertEquals(IPV6_ADDRESS_LOCAL, ikeId.ipv6Address); in testIkeIpv6AddrIdentification()
|
/aosp12/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/ |
H A D | BpfMapTest.java | 100 final InetAddress ipv6Address = InetAddress.getByName(address); in createTetherDownstream6Key() local 102 return new TetherDownstream6Key(iif, dstMac, ipv6Address.getAddress()); in createTetherDownstream6Key()
|
/aosp12/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/ |
H A D | RouterAdvertisementDaemonTest.java | 271 private RaParams createRaParams(final String ipv6Address) throws Exception { in createRaParams() argument 273 final Inet6Address address = (Inet6Address) InetAddress.getByName(ipv6Address); in createRaParams()
|
/aosp12/frameworks/base/core/java/android/net/vcn/persistablebundleutils/ |
H A D | IkeIdentificationUtils.java | 87 result.putString(IP6_ADDRESS_KEY, id.ipv6Address.getHostAddress()); in toPersistableBundle()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
H A D | WifiAwareDataPathStateManagerTest.java | 1505 int transportProtocol, String ipv6Address, int numAddrValidationRetries) in testDataPathInitiatorUtilityMore() argument 1634 assertEquals(ipv6Address, netInfo.getPeerIpv6Addr().getHostAddress()); in testDataPathInitiatorUtilityMore()
|
/aosp12/packages/modules/IPsec/api/ |
H A D | current.txt | 121 field @NonNull public final java.net.Inet6Address ipv6Address;
|