/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSIngressDiscardRuleTests.kt | 91 private val IPV6_ADDRESS = InetAddresses.parseNumericAddress("2001:db8:1::1") constant in com.android.server.CSIngressDiscardRuleTests 92 private val IPV6_LINK_ADDRESS = LinkAddress(IPV6_ADDRESS, 64) 123 verify(bpfNetMaps).setIngressDiscardRule(IPV6_ADDRESS, VPN_IFNAME) in testVpnIngressDiscardRule_UpdateVpnAddress() 132 verify(bpfNetMaps).removeIngressDiscardRule(IPV6_ADDRESS) in testVpnIngressDiscardRule_UpdateVpnAddress() 156 inorder.verify(bpfNetMaps).setIngressDiscardRule(IPV6_ADDRESS, VPN_IFNAME) in testVpnIngressDiscardRule_UpdateInterfaceName() 165 inorder.verify(bpfNetMaps).setIngressDiscardRule(IPV6_ADDRESS, VPN_IFNAME2) in testVpnIngressDiscardRule_UpdateInterfaceName() 169 inorder.verify(bpfNetMaps, timeout(TIMEOUT_MS)).removeIngressDiscardRule(IPV6_ADDRESS) in testVpnIngressDiscardRule_UpdateInterfaceName() 233 inorder.verify(bpfNetMaps).setIngressDiscardRule(IPV6_ADDRESS, VPN_IFNAME) in testVpnIngressDiscardRule_DuplicatedIpAddress_UpdateNonVpnAddress() 246 inorder.verify(bpfNetMaps).removeIngressDiscardRule(IPV6_ADDRESS) in testVpnIngressDiscardRule_DuplicatedIpAddress_UpdateNonVpnAddress() 255 inorder.verify(bpfNetMaps).setIngressDiscardRule(IPV6_ADDRESS, VPN_IFNAME) in testVpnIngressDiscardRule_DuplicatedIpAddress_UpdateNonVpnAddress() [all …]
|
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/ |
D | TunnelLinkPropertiesTest.java | 34 private static final String IPV6_ADDRESS = "2001:0db8:0000:0000:0000:ff00:0042:8329"; field in TunnelLinkPropertiesTest 50 mInternalAddressList.add(new LinkAddress(InetAddress.getByName(IPV6_ADDRESS), 3)); in createTestTunnelLinkProperties() 53 mInternalAddressList.add(new LinkAddress(InetAddress.getByName(IPV6_ADDRESS), 3)); in createTestTunnelLinkProperties()
|
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ |
D | ChildSessionConfigurationTest.java | 61 private static final Inet6Address IPV6_ADDRESS = field in ChildSessionConfigurationTest 64 new LinkAddress(IPV6_ADDRESS, IP6_PREFIX_LEN); 92 mIpv6Dns = new ConfigAttributeIpv6Dns(IPV6_ADDRESS); in setUp() 211 expectedDnsAddrList.add(IPV6_ADDRESS); in validateDnsAddrList() 273 .addInternalDnsServer(IPV6_ADDRESS) in testBuildChildSessionConfigurationWithBuilder()
|
D | TunnelModeChildSessionParamsTest.java | 60 private static final Inet6Address IPV6_ADDRESS = field in TunnelModeChildSessionParamsTest 145 .addInternalAddressRequest(IPV6_ADDRESS, IP6_PREFIX_LEN) in testBuildChildSessionParamsWithAddressReq() 279 .addInternalAddressRequest(IPV6_ADDRESS, IP6_PREFIX_LEN) in testConstructTunnelModeChildParamsCopy()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | StaticIpConfigurationTest.java | 61 private static final InetAddress IPV6_ADDRESS = ipAddress("2001:4860:800d::68"); field in StaticIpConfigurationTest 270 IPV6_ADDRESS); in testIllegalBuilders() 276 dnsServers.add(IPV6_ADDRESS); in testIllegalBuilders()
|
/packages/modules/Connectivity/tests/common/java/android/net/nsd/ |
D | NsdServiceInfoTest.java | 54 private static final InetAddress IPV6_ADDRESS = InetAddresses.parseNumericAddress("2001:db8::"); field in NsdServiceInfoTest 156 attributedInfo.setHostAddresses(List.of(IPV6_ADDRESS, IPV4_ADDRESS)); in testParcel()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeConfigPayloadTest.java | 143 private static final Inet6Address IPV6_ADDRESS = field in IkeConfigPayloadTest 147 new LinkAddress(IPV6_ADDRESS, IP6_PREFIX_LEN);
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | NsdServiceTest.java | 177 private static final String IPV6_ADDRESS = "2001:db8::"; field in NsdServiceTest 548 List.of(IPV6_ADDRESS), in testDiscoverOnTetheringDownstream_DiscoveryManager() 1027 List.of(IPV6_ADDRESS), in testRegisterAndUnregisterServiceInfoCallback() 1045 List.of(parseNumericAddress(IPV4_ADDRESS), parseNumericAddress(IPV6_ADDRESS)), in testRegisterAndUnregisterServiceInfoCallback() 1191 List.of(IPV6_ADDRESS), in testDiscoveryWithMdnsDiscoveryManager()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsServiceTypeClientTests.java | 109 private static final InetSocketAddress IPV6_ADDRESS = new InetSocketAddress( field in MdnsServiceTypeClientTests 193 any(), any(MdnsPacket.class), eq(IPV6_ADDRESS), anyBoolean())) in setUp()
|