Home
last modified time | relevance | path

Searched refs:numericToInetAddress (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataCallResponseTest.java41 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 …]
DDataConnectionTest.java425 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 …]
DDcControllerTest.java135 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/
DKeepalivePacketData.java100 srcAddress = NetworkUtils.numericToInetAddress(in.readString()); in KeepalivePacketData()
101 dstAddress = NetworkUtils.numericToInetAddress(in.readString()); in KeepalivePacketData()
DNetworkUtils.java244 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()
DIpSecTransform.java318 NetworkUtils.numericToInetAddress(mConfig.getSourceAddress()), in startNattKeepalive()
320 NetworkUtils.numericToInetAddress(mConfig.getDestinationAddress())); in startNattKeepalive()
DProxy.java207 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) { in isLocalHost()
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java287 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/
DIpConfigStoreTest.java82 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/
DLinkAddressTest.java59 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()
DLinkPropertiesTest.java738 new IpPrefix(NetworkUtils.numericToInetAddress("75.208.0.0"), 16)))); in testIsReachable()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java105 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/
DWifiBackupDataV1Parser.java497 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/
DIpServer.java19 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/
DTetheringTest.java293 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/
DNetworkDiagnostics.java88 private static final InetAddress TEST_DNS4 = NetworkUtils.numericToInetAddress("8.8.8.8");
89 private static final InetAddress TEST_DNS6 = NetworkUtils.numericToInetAddress(
DKeepaliveTracker.java611 srcAddress = NetworkUtils.numericToInetAddress(srcAddrString); in startNattKeepalive()
612 dstAddress = NetworkUtils.numericToInetAddress(dstAddrString); in startNattKeepalive()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java481 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/
DWifiConfigurationTestUtil.java198 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/
DXmlUtil.java800 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/
DRILTest.java1610 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/
DMediaHTTPConnection.java216 if (NetworkUtils.numericToInetAddress(host).isLoopbackAddress()) { in isLocalHost()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java1075 InetAddress checkAddr = NetworkUtils.numericToInetAddress(inetAddress); in checkInetAddress()
1455 InetAddress checkAddress = NetworkUtils.numericToInetAddress(inetAddress); in getFamily()
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java272 NetworkUtils.numericToInetAddress(remoteAddress).getHostAddress(), in getNewSpiResourceId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java5972 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()

12