Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
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()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DStructTest.java747 @Field(order = 1, type = Type.Ipv6Address) public final Inet6Address ipv6Address; field in StructTest.IpAddressMessage
749 IpAddressMessage(final Inet4Address ipv4Address, final Inet6Address ipv6Address) { in IpAddressMessage() argument
751 this.ipv6Address = ipv6Address; in IpAddressMessage()
761 assertEquals(TEST_IPV6_ADDRESS, msg.ipv6Address); in testIpAddressType()
773 assertEquals(InetAddressUtils.v4MappedV6Address(TEST_IPV4_ADDRESS), msg.ipv6Address); in testV4MappedV6Address()
778 @Field(order = 1, type = Type.Ipv6Address) public byte[] ipv6Address; field in StructTest.WrongIpAddressType
805 @Field(order = 16, type = Type.Ipv6Address) public final Inet6Address ipv6Address; field in StructTest.FullTypeMessage
811 final Inet6Address ipv6Address) { in FullTypeMessage() argument
828 this.ipv6Address = ipv6Address; in FullTypeMessage()
882 assertEquals(TEST_IPV6_ADDRESS, msg.ipv6Address); in testStructClass_equals()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
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()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
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()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeIdentificationTest.java61 assertEquals(IPV6_ADDRESS_LOCAL, ikeId.ipv6Address); in testIkeIpv6AddrIdentification()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsServiceInfo.java109 @Nullable String ipv6Address, in MdnsServiceInfo() argument
120 List.of(ipv6Address), in MdnsServiceInfo()
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DRouterAdvertisementDaemonTest.java268 private RaParams createRaParams(final String ipv6Address) throws Exception { in createRaParams() argument
270 final Inet6Address address = (Inet6Address) InetAddress.getByName(ipv6Address); in createRaParams()
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DBpfMapTest.java137 final InetAddress ipv6Address = InetAddress.getByName(address); in createTetherDownstream6Key() local
139 return new TetherDownstream6Key(iif, dstMac, ipv6Address.getAddress()); in createTetherDownstream6Key()
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java1733 for (String ipv6Address : v6Addrs) { in getInetAddresses()
1736 ipv6Address); in getInetAddresses()
/packages/modules/IPsec/api/
Dcurrent.txt147 field @NonNull public final java.net.Inet6Address ipv6Address;
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java1699 int transportProtocol, String ipv6Address, int numAddrValidationRetries) in testDataPathInitiatorUtilityMore() argument
1841 assertEquals(ipv6Address, netInfo.getPeerIpv6Addr().getHostAddress()); in testDataPathInitiatorUtilityMore()