/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataCallResponseTest.java | 41 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)), in testParcel() 42 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_DNS)), in testParcel() 43 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_GATEWAY)), in testParcel() 44 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_PCSCF_ADDRESS)), in testParcel() 59 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)), in testEquals() 60 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_DNS)), in testEquals() 61 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_GATEWAY)), in testEquals() 62 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_PCSCF_ADDRESS)), in testEquals() 67 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)), in testEquals() 68 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_DNS)), in testEquals() [all …]
|
D | DataConnectionTest.java | 425 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)), in testModemSuggestRetry() 426 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_DNS)), in testModemSuggestRetry() 427 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_GATEWAY)), in testModemSuggestRetry() 428 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_PCSCF_ADDRESS)), in testModemSuggestRetry() 435 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)), in testModemSuggestRetry() 436 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_DNS)), in testModemSuggestRetry() 437 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_GATEWAY)), in testModemSuggestRetry() 438 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_PCSCF_ADDRESS)), in testModemSuggestRetry() 444 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)), in testModemSuggestRetry() 445 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_DNS)), in testModemSuggestRetry() [all …]
|
D | DcControllerTest.java | 135 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)), in testDataDormant() 136 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_DNS)), in testDataDormant() 137 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_GATEWAY)), in testDataDormant() 138 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_PCSCF_ADDRESS)), in testDataDormant()
|
/frameworks/base/core/java/android/net/ |
D | KeepalivePacketData.java | 100 srcAddress = NetworkUtils.numericToInetAddress(in.readString()); in KeepalivePacketData() 101 dstAddress = NetworkUtils.numericToInetAddress(in.readString()); in KeepalivePacketData()
|
D | NetworkUtils.java | 244 public static InetAddress numericToInetAddress(String addrString) in numericToInetAddress() method in NetworkUtils 341 return numericToInetAddress(String.format(Locale.US, "%s:%s:%s:%s:%s:%s:%s:%s", in hexToInet6Address()
|
D | IpSecTransform.java | 318 NetworkUtils.numericToInetAddress(mConfig.getSourceAddress()), in startNattKeepalive() 320 NetworkUtils.numericToInetAddress(mConfig.getDestinationAddress())); in startNattKeepalive()
|
D | Proxy.java | 207 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) { in isLocalHost()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | IpConfigStore.java | 287 NetworkUtils.numericToInetAddress(in.readUTF()), in.readInt()); in readIpConfigurations() 299 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpConfigurations() 308 NetworkUtils.numericToInetAddress(in.readUTF()), in readIpConfigurations() 312 gateway = NetworkUtils.numericToInetAddress(in.readUTF()); in readIpConfigurations() 324 NetworkUtils.numericToInetAddress(in.readUTF())); in readIpConfigurations()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | IpConfigStoreTest.java | 82 staticIpConfiguration.dnsServers.add(NetworkUtils.numericToInetAddress(DNS_IP_ADDR_1)); in staticIpMultiNetworks() 83 staticIpConfiguration.dnsServers.add(NetworkUtils.numericToInetAddress(DNS_IP_ADDR_2)); in staticIpMultiNetworks()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | LinkAddressTest.java | 59 private static final InetAddress V4_ADDRESS = NetworkUtils.numericToInetAddress(V4); 60 private static final InetAddress V6_ADDRESS = NetworkUtils.numericToInetAddress(V6); 122 assertEquals(NetworkUtils.numericToInetAddress("127.0.0.1"), ipv4Loopback.getAddress()); in testConstructors() 125 assertEquals(NetworkUtils.numericToInetAddress("::1"), ipv6Loopback.getAddress()); in testConstructors()
|
D | LinkPropertiesTest.java | 738 new IpPrefix(NetworkUtils.numericToInetAddress("75.208.0.0"), 16)))); in testIsReachable()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 105 InetAddress addrV4 = NetworkUtils.numericToInetAddress("75.208.6.1"); in createProvisionedLinkProperties() 106 InetAddress dns1 = NetworkUtils.numericToInetAddress("75.208.7.1"); in createProvisionedLinkProperties() 108 InetAddress gateway1 = NetworkUtils.numericToInetAddress("75.208.8.1"); in createProvisionedLinkProperties()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiBackupDataV1Parser.java | 497 NetworkUtils.numericToInetAddress(linkAddressString), linkPrefixLength); in parseIpConfigurationFromXml() 506 InetAddress gateway = NetworkUtils.numericToInetAddress(gatewayAddressString); in parseIpConfigurationFromXml() 517 NetworkUtils.numericToInetAddress(dnsServerAddressString); in parseIpConfigurationFromXml()
|
/frameworks/base/services/net/java/android/net/ip/ |
D | IpServer.java | 19 import static android.net.NetworkUtils.numericToInetAddress; 408 final Inet4Address srvAddr = (Inet4Address) numericToInetAddress(BLUETOOTH_IFACE_ADDR); in configureIPv4() 420 InetAddress addr = numericToInetAddress(ipAsString); in configureIPv4() 471 byte[] bytes = numericToInetAddress(WIFI_HOST_IFACE_ADDR).getAddress(); in getRandomWifiIPv4Address()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | TetheringTest.java | 293 NetworkUtils.numericToInetAddress("10.0.0.1"), TEST_MOBILE_IFNAME)); in buildMobileUpstreamState() 297 prop.addDnsServer(NetworkUtils.numericToInetAddress("2001:db8::2")); in buildMobileUpstreamState() 299 new LinkAddress(NetworkUtils.numericToInetAddress("2001:db8::"), in buildMobileUpstreamState() 302 NetworkUtils.numericToInetAddress("2001:db8::1"), TEST_MOBILE_IFNAME)); in buildMobileUpstreamState() 309 NetworkUtils.numericToInetAddress("192.0.0.1"), TEST_XLAT_MOBILE_IFNAME)); in buildMobileUpstreamState()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkDiagnostics.java | 88 private static final InetAddress TEST_DNS4 = NetworkUtils.numericToInetAddress("8.8.8.8"); 89 private static final InetAddress TEST_DNS6 = NetworkUtils.numericToInetAddress(
|
D | KeepaliveTracker.java | 611 srcAddress = NetworkUtils.numericToInetAddress(srcAddrString); in startNattKeepalive() 612 dstAddress = NetworkUtils.numericToInetAddress(dstAddrString); in startNattKeepalive()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 481 NetworkUtils.numericToInetAddress(FAKE_ADDRESS), 0)), /* addresses */ in testWriteOnSetupDataCallResponse() 482 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_DNS)), /* dnses */ in testWriteOnSetupDataCallResponse() 483 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_GATEWAY)), /* gateways */ in testWriteOnSetupDataCallResponse() 484 Arrays.asList(NetworkUtils.numericToInetAddress(FAKE_PCSCF_ADDRESS)), /* pcscfs */ in testWriteOnSetupDataCallResponse()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationTestUtil.java | 198 NetworkUtils.numericToInetAddress(linkAddress), linkPrefixLength); in generateIpConfig() 204 NetworkUtils.numericToInetAddress(gatewayAddress); in generateIpConfig() 211 NetworkUtils.numericToInetAddress(dnsServerAddress)); in generateIpConfig()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 800 NetworkUtils.numericToInetAddress(linkAddressString), in parseStaticIpConfigurationFromXml() 813 NetworkUtils.numericToInetAddress(gatewayAddressString); in parseStaticIpConfigurationFromXml() 826 NetworkUtils.numericToInetAddress(dnsServerAddressString); in parseStaticIpConfigurationFromXml()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | RILTest.java | 1610 Arrays.asList(new LinkAddress(NetworkUtils.numericToInetAddress("10.0.2.15"), 32), in testConvertDataCallResult() 1612 Arrays.asList(NetworkUtils.numericToInetAddress("10.0.2.3"), in testConvertDataCallResult() 1613 NetworkUtils.numericToInetAddress("fd00:976a::9")), in testConvertDataCallResult() 1614 Arrays.asList(NetworkUtils.numericToInetAddress("10.0.2.15"), in testConvertDataCallResult() 1615 NetworkUtils.numericToInetAddress("fe80::2")), in testConvertDataCallResult() 1616 Arrays.asList(NetworkUtils.numericToInetAddress("fd00:976a:c206:20::6"), in testConvertDataCallResult() 1617 NetworkUtils.numericToInetAddress("fd00:976a:c206:20::9"), in testConvertDataCallResult() 1618 NetworkUtils.numericToInetAddress("fd00:976a:c202:1d::9")), 1500); in testConvertDataCallResult()
|
/frameworks/base/media/java/android/media/ |
D | MediaHTTPConnection.java | 216 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) { in isLocalHost()
|
/frameworks/base/services/core/java/com/android/server/ |
D | IpSecService.java | 1075 InetAddress checkAddr = NetworkUtils.numericToInetAddress(inetAddress); in checkInetAddress() 1455 InetAddress checkAddress = NetworkUtils.numericToInetAddress(inetAddress); in getFamily()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceParameterizedTest.java | 272 NetworkUtils.numericToInetAddress(remoteAddress).getHostAddress(), in getNewSpiResourceId()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 5972 InetAddress ia = NetworkUtils.numericToInetAddress(address); in convertDataCallResult() 5990 ia = NetworkUtils.numericToInetAddress(dns); in convertDataCallResult() 6005 ia = NetworkUtils.numericToInetAddress(gateway); in convertDataCallResult() 6020 ia = NetworkUtils.numericToInetAddress(pcscf); in convertDataCallResult()
|