Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataCallResponseTest.java25 import android.net.InetAddresses;
47 new LinkAddress(InetAddresses.parseNumericAddress(FAKE_ADDRESS), 0))) in testParcel()
48 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testParcel()
49 .setGatewayAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_GATEWAY))) in testParcel()
51 Arrays.asList(InetAddresses.parseNumericAddress(FAKE_PCSCF_ADDRESS))) in testParcel()
74 new LinkAddress(InetAddresses.parseNumericAddress(FAKE_ADDRESS), 0))) in testEquals()
75 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testEquals()
76 .setGatewayAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_GATEWAY))) in testEquals()
78 Arrays.asList(InetAddresses.parseNumericAddress(FAKE_PCSCF_ADDRESS))) in testEquals()
91 new LinkAddress(InetAddresses.parseNumericAddress(FAKE_ADDRESS), 0))) in testEquals()
[all …]
DDataConnectionTest.java44 import android.net.InetAddresses;
430 new LinkAddress(InetAddresses.parseNumericAddress(FAKE_ADDRESS), 0))) in testModemSuggestRetry()
431 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testModemSuggestRetry()
432 .setGatewayAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_GATEWAY))) in testModemSuggestRetry()
434 Arrays.asList(InetAddresses.parseNumericAddress(FAKE_PCSCF_ADDRESS))) in testModemSuggestRetry()
448 new LinkAddress(InetAddresses.parseNumericAddress(FAKE_ADDRESS), 0))) in testModemSuggestRetry()
449 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testModemSuggestRetry()
450 .setGatewayAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_GATEWAY))) in testModemSuggestRetry()
452 Arrays.asList(InetAddresses.parseNumericAddress(FAKE_PCSCF_ADDRESS))) in testModemSuggestRetry()
466 new LinkAddress(InetAddresses.parseNumericAddress(FAKE_ADDRESS), 0))) in testModemSuggestRetry()
[all …]
DDcControllerTest.java33 import android.net.InetAddresses;
130 new LinkAddress(InetAddresses.parseNumericAddress(FAKE_ADDRESS), 0))) in testDataDormant()
131 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_DNS))) in testDataDormant()
132 .setGatewayAddresses(Arrays.asList(InetAddresses.parseNumericAddress(FAKE_GATEWAY))) in testDataDormant()
134 Arrays.asList(InetAddresses.parseNumericAddress(FAKE_PCSCF_ADDRESS))) in testDataDormant()
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DNetUtilsTest.java24 import android.net.InetAddresses;
48 return InetAddresses.parseNumericAddress(addr); in toInetAddress()
61 final InetAddress v4_dest = InetAddresses.parseNumericAddress("75.208.8.15"); in testSelectBestRoute()
62 final InetAddress v6_dest = InetAddresses.parseNumericAddress("2001:db8:cafe::123"); in testSelectBestRoute()
DIpRangeTest.java25 import android.net.InetAddresses;
45 return InetAddresses.parseNumericAddress(addr); in address()
/frameworks/base/core/java/android/net/
DInetAddresses.java28 public class InetAddresses { class
30 private InetAddresses() {} in InetAddresses() method in InetAddresses
DDhcpResults.java224 Inet4Address addr = (Inet4Address) InetAddresses.parseNumericAddress(addrString); in setIpAddress()
235 gateway = InetAddresses.parseNumericAddress(addrString); in setGateway()
246 dnsServers.add(InetAddresses.parseNumericAddress(addrString)); in addDns()
DNattKeepalivePacketData.java108 InetAddresses.parseNumericAddress(in.readString());
110 InetAddresses.parseNumericAddress(in.readString());
/frameworks/opt/net/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()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java35 import android.net.InetAddresses;
107 InetAddress addrV4 = InetAddresses.parseNumericAddress("75.208.6.1"); in createProvisionedLinkProperties()
108 InetAddress dns1 = InetAddresses.parseNumericAddress("75.208.7.1"); in createProvisionedLinkProperties()
110 InetAddress gateway1 = InetAddresses.parseNumericAddress("75.208.8.1"); in createProvisionedLinkProperties()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DPrivateAddressCoordinatorTest.java28 import android.net.InetAddresses;
182 new LinkAddress(InetAddresses.parseNumericAddress(testIpv4Address), in buildUpstreamLinkProperties()
188 new LinkAddress(InetAddresses.parseNumericAddress("2001:db8::"), in buildUpstreamLinkProperties()
DIPv6TetheringCoordinatorTest.java36 import android.net.InetAddresses;
85 final InetAddress dns = InetAddresses.parseNumericAddress(TEST_DNS_SERVER); in createDualStackUpstream()
DBpfCoordinatorTest.java50 import android.net.InetAddresses;
88 private static final InetAddress NEIGH_A = InetAddresses.parseNumericAddress("2001:db8::1");
89 private static final InetAddress NEIGH_B = InetAddresses.parseNumericAddress("2001:db8::2");
522 final InetAddress neigh = InetAddresses.parseNumericAddress("2001:db8::1"); in testTetheringConfigDisable()
/frameworks/base/core/java/android/net/util/
DDnsUtils.java26 import android.net.InetAddresses;
347 new InetSocketAddress(InetAddresses.parseNumericAddress("8.8.8.8"), 0); in haveIpv4()
357 new InetSocketAddress(InetAddresses.parseNumericAddress("2000::"), 0); in haveIpv6()
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DInet4AddressUtilsTest.java34 import android.net.InetAddresses;
208 return (Inet4Address) InetAddresses.parseNumericAddress(addr); in ipv4Address()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java20 import android.net.InetAddresses;
522 InetAddresses.parseNumericAddress(linkAddressString), linkPrefixLength); in parseIpConfigurationFromXml()
530 InetAddress gateway = InetAddresses.parseNumericAddress(gatewayAddressString); in parseIpConfigurationFromXml()
543 InetAddresses.parseNumericAddress(dnsServerAddressString); in parseIpConfigurationFromXml()
/frameworks/base/tests/net/java/android/net/util/
DDnsUtilsTest.java27 import android.net.InetAddresses;
44 return InetAddresses.parseNumericAddress(addr); in stringToAddress()
/frameworks/base/services/net/java/android/net/
DTcpKeepalivePacketData.java201 InetAddress srcAddress = InetAddresses.parseNumericAddress(in.readString()); in readFromParcel()
202 InetAddress dstAddress = InetAddresses.parseNumericAddress(in.readString()); in readFromParcel()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java67 import android.net.InetAddresses;
630 return InetAddresses.parseNumericAddress(addr); in addr()
741 final InetAddress neighA = InetAddresses.parseNumericAddress("2001:db8::1"); in addRemoveipv6ForwardingRules()
742 final InetAddress neighB = InetAddresses.parseNumericAddress("2001:db8::2"); in addRemoveipv6ForwardingRules()
743 final InetAddress neighLL = InetAddresses.parseNumericAddress("fe80::1"); in addRemoveipv6ForwardingRules()
744 final InetAddress neighMC = InetAddresses.parseNumericAddress("ff02::1234"); in addRemoveipv6ForwardingRules()
870 final InetAddress neigh = InetAddresses.parseNumericAddress("2001:db8::1"); in enableDisableUsingBpfOffload()
930 final InetAddress dns = InetAddresses.parseNumericAddress("2001:4860:4860::8888"); in buildIpv6OnlyLinkProperties()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpnIkev2Utils.java38 import android.net.InetAddresses;
379 } else if (InetAddresses.isNumericAddress(identityStr)) { in parseIkeIdentification()
380 final InetAddress addr = InetAddresses.parseNumericAddress(identityStr); in parseIkeIdentification()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java117 import android.net.InetAddresses;
2003 new LinkAddress(InetAddresses.parseNumericAddress("10.0.2.15"), 32), in testConvertDataCallResult()
2005 .setDnsAddresses(Arrays.asList(InetAddresses.parseNumericAddress("10.0.2.3"), in testConvertDataCallResult()
2006 InetAddresses.parseNumericAddress("fd00:976a::9"))) in testConvertDataCallResult()
2007 .setGatewayAddresses(Arrays.asList(InetAddresses.parseNumericAddress("10.0.2.15"), in testConvertDataCallResult()
2008 InetAddresses.parseNumericAddress("fe80::2"))) in testConvertDataCallResult()
2010 InetAddresses.parseNumericAddress("fd00:976a:c206:20::6"), in testConvertDataCallResult()
2011 InetAddresses.parseNumericAddress("fd00:976a:c206:20::9"), in testConvertDataCallResult()
2012 InetAddresses.parseNumericAddress("fd00:976a:c202:1d::9"))) in testConvertDataCallResult()
2076 new LinkAddress(InetAddresses.parseNumericAddress("10.0.2.15"), 32), in testConvertDataCallResult()
[all …]
/frameworks/base/packages/Tethering/tests/unit/src/android/net/dhcp/
DDhcpServingParamsParcelExtTest.java19 import static android.net.InetAddresses.parseNumericAddress;
/frameworks/base/packages/Tethering/tests/unit/common/android/net/
DTetheredClientTest.kt19 import android.net.InetAddresses.parseNumericAddress
/frameworks/base/tests/net/common/java/android/net/
DNattKeepalivePacketDataTest.kt55 private fun String.address() = InetAddresses.parseNumericAddress(this) in address()
DKeepalivePacketDataTest.kt49 private fun String.address() = InetAddresses.parseNumericAddress(this) in address()

12