Home
last modified time | relevance | path

Searched refs:InetAddresses (Results 1 – 25 of 130) sorted by relevance

123456

/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeTestBase.java22 import android.net.InetAddresses;
61 (Inet4Address) (InetAddresses.parseNumericAddress("192.0.2.100"));
63 (Inet4Address) (InetAddresses.parseNumericAddress("198.51.100.100"));
65 (Inet6Address) (InetAddresses.parseNumericAddress("2001:db8::100"));
67 (Inet6Address) (InetAddresses.parseNumericAddress("2001:db8:255::100"));
69 static final InetAddress PCSCF_IPV4_ADDRESS_1 = InetAddresses.parseNumericAddress("192.0.2.1");
70 static final InetAddress PCSCF_IPV4_ADDRESS_2 = InetAddresses.parseNumericAddress("192.0.2.2");
72 InetAddresses.parseNumericAddress("2001:DB8::1");
74 InetAddresses.parseNumericAddress("2001:DB8::2");
80 InetAddresses.parseNumericAddress("0.0.0.0"),
[all …]
DIkeSessionTestBase.java30 import android.net.InetAddresses;
89 InetAddresses.parseNumericAddress("8.8.8.8");
91 InetAddresses.parseNumericAddress("8.8.4.4");
94 InetAddresses.parseNumericAddress("198.51.100.10");
98 InetAddresses.parseNumericAddress("2001:db8::2");
116 InetAddresses.parseNumericAddress("10.138.0.2"),
117 InetAddresses.parseNumericAddress("10.138.0.2"));
126 InetAddresses.parseNumericAddress("192.0.2.1").getAddress();
128 InetAddresses.parseNumericAddress("198.51.100.1").getAddress();
DIkeSessionMschapV2Test.java19 import android.net.InetAddresses;
132 InetAddresses.parseNumericAddress("172.58.35.67"),
133 InetAddresses.parseNumericAddress("172.58.35.67"));
DIkeSessionDigitalSignatureTest.java19 import android.net.InetAddresses;
123 InetAddresses.parseNumericAddress("172.58.35.103"),
124 InetAddresses.parseNumericAddress("172.58.35.103"));
/packages/modules/Connectivity/tests/unit/java/android/net/
DQosSocketFilterTest.java42 final InetAddress addressA = InetAddresses.parseNumericAddress("1.2.3.4"); in testPortExactMatch()
43 final InetAddress addressB = InetAddresses.parseNumericAddress("1.2.3.4"); in testPortExactMatch()
51 final InetAddress addressA = InetAddresses.parseNumericAddress("1.2.3.4"); in testPortLessThanStart()
52 final InetAddress addressB = InetAddresses.parseNumericAddress("1.2.3.4"); in testPortLessThanStart()
59 final InetAddress addressA = InetAddresses.parseNumericAddress("1.2.3.4"); in testPortGreaterThanEnd()
60 final InetAddress addressB = InetAddresses.parseNumericAddress("1.2.3.4"); in testPortGreaterThanEnd()
67 final InetAddress addressA = InetAddresses.parseNumericAddress("1.2.3.4"); in testPortBetweenStartAndEnd()
68 final InetAddress addressB = InetAddresses.parseNumericAddress("1.2.3.4"); in testPortBetweenStartAndEnd()
75 final InetAddress addressA = InetAddresses.parseNumericAddress("1.2.3.4"); in testAddressesDontMatch()
76 final InetAddress addressB = InetAddresses.parseNumericAddress("1.2.3.5"); in testAddressesDontMatch()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DInetAddressesTest.java18 import android.net.InetAddresses;
85 InetAddress inetAddress = InetAddresses.parseNumericAddress(address); in parseNumericAddress()
93 InetAddress inetAddress = InetAddresses.parseNumericAddress(address); in test_parseNonNumericAddress()
104 InetAddress inetAddress = InetAddresses.parseNumericAddress(null); in test_parseNumericAddress_null()
115 InetAddresses.isNumericAddress(address)); in test_isNumericAddress()
122 InetAddresses.isNumericAddress(address)); in test_isNotNumericAddress()
128 InetAddresses.isNumericAddress(null); in test_isNumericAddress_null()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeTsPayloadTest.java24 import android.net.InetAddresses;
43 (Inet4Address) InetAddresses.parseNumericAddress("192.0.2.100");
45 (Inet4Address) InetAddresses.parseNumericAddress("192.0.3.101");
50 (Inet4Address) InetAddresses.parseNumericAddress("192.0.4.100");
52 (Inet4Address) InetAddresses.parseNumericAddress("192.0.4.102");
117 (Inet4Address) InetAddresses.parseNumericAddress("192.0.2.200"), in testContains()
DIkeConfigPayloadTest.java46 import android.net.InetAddresses;
100 (Inet4Address) InetAddresses.parseNumericAddress("192.0.2.100");
102 (Inet4Address) InetAddresses.parseNumericAddress("255.255.255.240");
116 (Inet4Address) InetAddresses.parseNumericAddress("8.8.8.8");
123 (Inet4Address) InetAddresses.parseNumericAddress("192.0.2.200");
137 (Inet4Address) InetAddresses.parseNumericAddress("192.0.2.1");
144 (Inet6Address) InetAddresses.parseNumericAddress("2001:db8::1");
163 (Inet6Address) InetAddresses.parseNumericAddress("2001:db8:100::1");
168 (Inet6Address) InetAddresses.parseNumericAddress("2001:db8::1");
187 (Inet4Address) InetAddresses.parseNumericAddress("0.0.0.0"), in setUp()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeTrafficSelectorTest.java26 import android.net.InetAddresses;
42 InetAddresses.parseNumericAddress("192.0.2.100");
44 InetAddresses.parseNumericAddress("192.0.3.101");
50 InetAddresses.parseNumericAddress("192.0.4.100");
52 InetAddresses.parseNumericAddress("192.0.4.102");
55 InetAddresses.parseNumericAddress("::");
57 InetAddresses.parseNumericAddress("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff");
313 InetAddress inet6Address = InetAddresses.parseNumericAddress("0:2001:0:db8::1"); in testBuildIkeTrafficSelectorWithMismatchedAddressType()
389 InetAddresses.parseNumericAddress( in testIpv6TsContains()
DChildSessionParamsTest.java27 import android.net.InetAddresses;
139 final InetAddress tsStartAddress = InetAddresses.parseNumericAddress("0.0.0.0"); in getExpectedDefaultIpv4Ts()
140 final InetAddress tsEndAddress = InetAddresses.parseNumericAddress("255.255.255.255"); in getExpectedDefaultIpv4Ts()
146 final InetAddress tsStartAddress = InetAddresses.parseNumericAddress("::"); in getExpectedDefaultIpv6Ts()
147 final InetAddress tsEndAddress = InetAddresses.parseNumericAddress( in getExpectedDefaultIpv6Ts()
DTunnelModeChildSessionParamsTest.java39 import android.net.InetAddresses;
59 (Inet4Address) InetAddresses.parseNumericAddress("192.0.2.100");
61 (Inet6Address) InetAddresses.parseNumericAddress("2001:db8::1");
64 (Inet4Address) InetAddresses.parseNumericAddress("8.8.8.8");
66 (Inet6Address) InetAddresses.parseNumericAddress("2001:4860:4860::8888");
69 (Inet4Address) InetAddresses.parseNumericAddress("192.0.2.200");
DIkeSessionConnectionInfoTest.java23 import android.net.InetAddresses;
32 (Inet4Address) InetAddresses.parseNumericAddress("192.0.2.200");
34 (Inet4Address) InetAddresses.parseNumericAddress("192.0.2.100");
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionTestBase.java42 import android.net.InetAddresses;
69 (Inet4Address) InetAddresses.parseNumericAddress("192.0.2.200");
71 (Inet4Address) InetAddresses.parseNumericAddress("192.0.2.201");
73 (Inet4Address) InetAddresses.parseNumericAddress("127.0.0.1");
75 (Inet6Address) InetAddresses.parseNumericAddress("2001:db8::200");
77 (Inet6Address) InetAddresses.parseNumericAddress("2001:db8::201");
79 (Inet6Address) InetAddresses.parseNumericAddress("::1");
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DAdvancedOptionsFlowUtil.java19 import android.net.InetAddresses;
117 inetAddr = (Inet4Address) InetAddresses.parseNumericAddress(ipAddr); in processIpSettings()
136 staticIpBuilder.setGateway(InetAddresses.parseNumericAddress(gateway)); in processIpSettings()
146 dnsServers.add(InetAddresses.parseNumericAddress(dns1)); in processIpSettings()
155 dnsServers.add(InetAddresses.parseNumericAddress(dns2)); in processIpSettings()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DIpConfigStore.java20 import android.net.InetAddresses;
126 InetAddresses.parseNumericAddress(in.readUTF()), in.readInt()); in readIpConfigurations()
135 gateway = InetAddresses.parseNumericAddress(in.readUTF()); in readIpConfigurations()
140 InetAddresses.parseNumericAddress(in.readUTF()), in readIpConfigurations()
144 gateway = InetAddresses.parseNumericAddress(in.readUTF()); in readIpConfigurations()
159 dnsServerAddresses.add(InetAddresses.parseNumericAddress(in.readUTF())); in readIpConfigurations()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/
DIkeDefaultNetworkCallbackTest.java25 import android.net.InetAddresses;
38 private static final InetAddress CURR_ADDRESS = InetAddresses.parseNumericAddress("192.0.2.0");
40 InetAddresses.parseNumericAddress("2001:db8::2");
42 InetAddresses.parseNumericAddress("192.0.2.1");
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetConfigStoreTest.java24 import android.net.InetAddresses;
49 private static final InetAddress GATEWAY = InetAddresses.parseNumericAddress("192.168.1.1");
50 private static final InetAddress DNS1 = InetAddresses.parseNumericAddress("8.8.8.8");
51 private static final InetAddress DNS2 = InetAddresses.parseNumericAddress("8.8.4.4");
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/packets/
DNeighborSolicitationTest.java29 import android.net.InetAddresses;
45 (Inet6Address) InetAddresses.parseNumericAddress("fe80::d419:d664:df38:2f65");
47 (Inet6Address) InetAddresses.parseNumericAddress("fe80::200:1a:1122:3344");
49 (Inet6Address) InetAddresses.parseNumericAddress("fe80::200:1a:1122:3344");
DNeighborAdvertisementTest.java30 import android.net.InetAddresses;
46 (Inet6Address) InetAddresses.parseNumericAddress("fe80::dfd9:50a0:cc7b:7d6d");
48 (Inet6Address) InetAddresses.parseNumericAddress("2001:db8:1:0:c928:250d:b90c:3178");
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DChildSessionParams.java23 import android.net.InetAddresses;
381 startAddress = InetAddresses.parseNumericAddress("0.0.0.0"); in buildDefaultTrafficSelector()
382 endAddress = InetAddresses.parseNumericAddress("255.255.255.255"); in buildDefaultTrafficSelector()
385 startAddress = InetAddresses.parseNumericAddress("::"); in buildDefaultTrafficSelector()
387 InetAddresses.parseNumericAddress( in buildDefaultTrafficSelector()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DIpConfigStore.java19 import android.net.InetAddresses;
307 InetAddresses.parseNumericAddress(in.readUTF()), in readIpConfigurations()
320 gateway = InetAddresses.parseNumericAddress(in.readUTF()); in readIpConfigurations()
330 InetAddresses.parseNumericAddress(in.readUTF()), in readIpConfigurations()
334 gateway = InetAddresses.parseNumericAddress(in.readUTF()); in readIpConfigurations()
350 dnsServers.add(InetAddresses.parseNumericAddress(in.readUTF())); in readIpConfigurations()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/arp/
DArpPacketTest.java26 import android.net.InetAddresses;
44 (Inet4Address) InetAddresses.parseNumericAddress("192.168.1.2");
46 (Inet4Address) InetAddresses.parseNumericAddress("0.0.0.0");
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DConntrackMonitorTest.java36 import android.net.InetAddresses;
203 (Inet4Address) InetAddresses.parseNumericAddress("192.168.80.12"); in makeTestConntrackEvent()
205 (Inet4Address) InetAddresses.parseNumericAddress("140.112.8.116"); in makeTestConntrackEvent()
207 (Inet4Address) InetAddresses.parseNumericAddress("100.81.179.1"); in makeTestConntrackEvent()
/packages/modules/Connectivity/framework/src/android/net/
DInetAddresses.java28 public class InetAddresses { class
30 private InetAddresses() {} in InetAddresses() method in InetAddresses
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/
DIpConfigurationParcelableUtil.java20 import android.net.InetAddresses;
46 return InetAddresses.parseNumericAddress(addr); in unparcelAddress()

123456