Home
last modified time | relevance | path

Searched refs:IPV4_ADDRESS (Results 1 – 6 of 6) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DChildSessionConfigurationTest.java50 private static final Inet4Address IPV4_ADDRESS = field in ChildSessionConfigurationTest
55 new LinkAddress(IPV4_ADDRESS, IP4_PREFIX_LEN);
88 mIpv4Attr = new ConfigAttributeIpv4Address(IPV4_ADDRESS); in setUp()
91 mIpv4Dns = new ConfigAttributeIpv4Dns(IPV4_ADDRESS); in setUp()
93 mIpv4Dhcp = new ConfigAttributeIpv4Dhcp(IPV4_ADDRESS); in setUp()
100 mIpv4Pcscf = new ConfigAttributeIpv4Pcscf(IPV4_ADDRESS); in setUp()
166 expectedInternalAddrList.add(new LinkAddress(IPV4_ADDRESS, 32)); in testBuildWithoutNetmaskAttr()
210 expectedDnsAddrList.add(IPV4_ADDRESS); in validateDnsAddrList()
261 assertEquals(sessionConfig.getInternalDhcpServers().get(0), IPV4_ADDRESS); in validateDhcpServers()
272 .addInternalDnsServer(IPV4_ADDRESS) in testBuildChildSessionConfigurationWithBuilder()
[all …]
DTunnelModeChildSessionParamsTest.java58 private static final Inet4Address IPV4_ADDRESS = field in TunnelModeChildSessionParamsTest
144 .addInternalAddressRequest(IPV4_ADDRESS) in testBuildChildSessionParamsWithAddressReq()
278 .addInternalAddressRequest(IPV4_ADDRESS) in testConstructTunnelModeChildParamsCopy()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeConfigPayloadTest.java99 private static final Inet4Address IPV4_ADDRESS = field in IkeConfigPayloadTest
105 new LinkAddress(IPV4_ADDRESS, IP4_PREFIX_LEN);
263 assertEquals(IPV4_ADDRESS, ((ConfigAttributeIpv4Address) att).address); in testDecodeConfigResponse()
414 new ConfigAttributeIpv4Address(IPV4_ADDRESS.getAddress()); in testDecodeIpv4AddressWithValue()
417 assertEquals(IPV4_ADDRESS, attributeIp4Address.address); in testDecodeIpv4AddressWithValue()
444 new ConfigAttributeIpv4Address(IPV4_ADDRESS); in testEncodeIpv4AddressWithValue()
450 IPV4_ADDRESS); in testEncodeIpv4AddressWithValue()
455 verifyPersistableBundleEncodeDecodeIsLossless(new ConfigAttributeIpv4Address(IPV4_ADDRESS)); in testPersistableBundleEncodeDecodeIpv4AddressConfig()
619 byte[] ipAddress = IPV4_ADDRESS.getAddress(); in testDecodeIpv4SubnetWithInvalidValue()
/packages/modules/Connectivity/tests/common/java/android/net/nsd/
DNsdServiceInfoTest.java53 private static final InetAddress IPV4_ADDRESS = InetAddresses.parseNumericAddress("192.0.2.1"); field in NsdServiceInfoTest
139 fullInfo.setHostAddresses(List.of(IPV4_ADDRESS)); in testParcel()
156 attributedInfo.setHostAddresses(List.of(IPV6_ADDRESS, IPV4_ADDRESS)); in testParcel()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java176 private static final String IPV4_ADDRESS = "192.0.2.0"; field in NsdServiceTest
547 List.of(IPV4_ADDRESS), in testDiscoverOnTetheringDownstream_DiscoveryManager()
1026 List.of(IPV4_ADDRESS), in testRegisterAndUnregisterServiceInfoCallback()
1045 List.of(parseNumericAddress(IPV4_ADDRESS), parseNumericAddress(IPV6_ADDRESS)), in testRegisterAndUnregisterServiceInfoCallback()
1190 List.of(IPV4_ADDRESS), in testDiscoveryWithMdnsDiscoveryManager()
1334 List.of(IPV4_ADDRESS), in testResolutionWithMdnsDiscoveryManager()
1359 assertEquals(parseNumericAddress(IPV4_ADDRESS), info.getHost()); in testResolutionWithMdnsDiscoveryManager()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsServiceTypeClientTests.java107 private static final InetSocketAddress IPV4_ADDRESS = new InetSocketAddress( field in MdnsServiceTypeClientTests
166 any(), any(MdnsPacket.class), eq(IPV4_ADDRESS), anyBoolean())) in setUp()