Home
last modified time | relevance | path

Searched refs:ipv6Address (Results 1 – 13 of 13) sorted by relevance

/aosp12/packages/modules/IPsec/src/java/android/net/ipsec/ike/
H A DIkeIpv6AddrIdentification.java34 @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 DStructTest.java746 @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 DIkeIdPayloadTest.java129 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 DIkeIdentificationUtilsTest.java60 final Inet6Address ipv6Address = (Inet6Address) InetAddress.getByName("2001:db8:2::100"); in testPersistableBundleEncodeDecodeIpv6AddressId() local
61 verifyPersistableBundleEncodeDecodeIsLossless(new IkeIpv6AddrIdentification(ipv6Address)); in testPersistableBundleEncodeDecodeIpv6AddressId()
H A DTunnelModeChildSessionParamsUtilsTest.java103 final Inet6Address ipv6Address = in testSetConfigRequestsEncodeDecodeIsLossless() local
111 .addInternalAddressRequest(ipv6Address, ipv6PrefixLen) in testSetConfigRequestsEncodeDecodeIsLossless()
H A DIkeSessionParamsUtilsTest.java118 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 DIkeConfigPayload.java1127 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 DIkeIdentificationTest.java61 assertEquals(IPV6_ADDRESS_LOCAL, ikeId.ipv6Address); in testIkeIpv6AddrIdentification()
/aosp12/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
H A DBpfMapTest.java100 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 DRouterAdvertisementDaemonTest.java271 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 DIkeIdentificationUtils.java87 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 DWifiAwareDataPathStateManagerTest.java1505 int transportProtocol, String ipv6Address, int numAddrValidationRetries) in testDataPathInitiatorUtilityMore() argument
1634 assertEquals(ipv6Address, netInfo.getPeerIpv6Addr().getHostAddress()); in testDataPathInitiatorUtilityMore()
/aosp12/packages/modules/IPsec/api/
H A Dcurrent.txt121 field @NonNull public final java.net.Inet6Address ipv6Address;