/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataCallResponseTest.java | 25 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 …]
|
D | DataConnectionTest.java | 44 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 …]
|
D | DcControllerTest.java | 33 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/ |
D | NetUtilsTest.java | 24 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()
|
D | IpRangeTest.java | 25 import android.net.InetAddresses; 45 return InetAddresses.parseNumericAddress(addr); in address()
|
/frameworks/base/core/java/android/net/ |
D | InetAddresses.java | 28 public class InetAddresses { class 30 private InetAddresses() {} in InetAddresses() method in InetAddresses
|
D | DhcpResults.java | 224 Inet4Address addr = (Inet4Address) InetAddresses.parseNumericAddress(addrString); in setIpAddress() 235 gateway = InetAddresses.parseNumericAddress(addrString); in setGateway() 246 dnsServers.add(InetAddresses.parseNumericAddress(addrString)); in addDns()
|
D | NattKeepalivePacketData.java | 108 InetAddresses.parseNumericAddress(in.readString()); 110 InetAddresses.parseNumericAddress(in.readString());
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | IpConfigStore.java | 20 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/ |
D | OsuNetworkConnectionTest.java | 35 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/ |
D | PrivateAddressCoordinatorTest.java | 28 import android.net.InetAddresses; 182 new LinkAddress(InetAddresses.parseNumericAddress(testIpv4Address), in buildUpstreamLinkProperties() 188 new LinkAddress(InetAddresses.parseNumericAddress("2001:db8::"), in buildUpstreamLinkProperties()
|
D | IPv6TetheringCoordinatorTest.java | 36 import android.net.InetAddresses; 85 final InetAddress dns = InetAddresses.parseNumericAddress(TEST_DNS_SERVER); in createDualStackUpstream()
|
D | BpfCoordinatorTest.java | 50 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/ |
D | DnsUtils.java | 26 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/ |
D | Inet4AddressUtilsTest.java | 34 import android.net.InetAddresses; 208 return (Inet4Address) InetAddresses.parseNumericAddress(addr); in ipv4Address()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiBackupDataV1Parser.java | 20 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/ |
D | DnsUtilsTest.java | 27 import android.net.InetAddresses; 44 return InetAddresses.parseNumericAddress(addr); in stringToAddress()
|
/frameworks/base/services/net/java/android/net/ |
D | TcpKeepalivePacketData.java | 201 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/ |
D | IpServerTest.java | 67 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/ |
D | VpnIkev2Utils.java | 38 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/ |
D | RILTest.java | 117 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/ |
D | DhcpServingParamsParcelExtTest.java | 19 import static android.net.InetAddresses.parseNumericAddress;
|
/frameworks/base/packages/Tethering/tests/unit/common/android/net/ |
D | TetheredClientTest.kt | 19 import android.net.InetAddresses.parseNumericAddress
|
/frameworks/base/tests/net/common/java/android/net/ |
D | NattKeepalivePacketDataTest.kt | 55 private fun String.address() = InetAddresses.parseNumericAddress(this) in address()
|
D | KeepalivePacketDataTest.kt | 49 private fun String.address() = InetAddresses.parseNumericAddress(this) in address()
|