Home
last modified time | relevance | path

Searched refs:getByName (Results 1 – 16 of 16) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreServiceTest.java328 (Inet4Address) Inet4Address.getByName("1.2.3.4"), LEASE_EXPIRY_NULL,
329 "hint1", Arrays.asList(Inet6Address.getByName("0A1C:2E40:480A::1CA6")),
367 (Inet4Address) Inet4Address.getByName("1.2.3.4"),
384 new InetAddress[] {Inet6Address.getByName("0A1C:2E40:480A::1CA6")}));
498 new InetAddress[] {Inet6Address.getByName("8D56:9AF1::08EE:20F1")}));
502 na.setAssignedV4Address((Inet4Address) Inet4Address.getByName("1.2.3.4"));
504 new InetAddress[] {Inet6Address.getByName("0A1C:2E40:480A::1CA6")}));
511 na.setAssignedV4Address((Inet4Address) Inet4Address.getByName("5.6.7.8"));
534 na.setAssignedV4Address((Inet4Address) Inet4Address.getByName("1.2.3.4"));
601 (Inet4Address) Inet4Address.getByName("1.2.3.4"), LEASE_EXPIRY_NULL,
[all …]
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/
DP2pUtils.java56 return (Inet4Address) InetAddress.getByName(path.getHost()); in toInet4Address()
68 return NetworkInterface.getByName(name); in toNetworkInterface()
DP2pPrinterConnection.java116 mInterface = NetworkInterface.getByName(networkInterface); in onConnectionOpen()
167 printerAddress = (Inet4Address) Inet4Address.getByName(printer.path.getHost()); in onPrinterFound()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiDetailPreferenceControllerTest.java220 return new LinkAddress(InetAddress.getByName(addr), 64); in ipv6LinkAddress()
225 return new LinkAddress(InetAddress.getByName(addr), prefixlen); in ipv4LinkAddress()
234 IPV4_GATEWAY = (Inet4Address) InetAddress.getByName("192.0.2.127");
236 final Inet4Address any4 = (Inet4Address) InetAddress.getByName("0.0.0.0");
245 IPV4_DNS1 = InetAddress.getByName("8.8.8.8");
246 IPV4_DNS2 = InetAddress.getByName("8.8.4.4");
247 IPV6_DNS = InetAddress.getByName("2001:4860:4860::64");
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DGetCapabilitiesTask.java87 printerCaps.inetAddress = InetAddress.getByName(mUri.getHost()); in doInBackground()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java257 mockTransport.setMockLocalAddress(InetAddress.getByName(LOCAL_ADDRESS)); in openAndInjectMockTransport()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DUtilsTest.java113 LinkAddress address = new LinkAddress(InetAddress.getByName("127.0.0.1"), 0); in getWifiIpAddresses_succeeds()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DContextMap.java323 App getByName(String name) { in getByName() method in ContextMap
DAppScanStats.java428 ContextMap.App appEntry = mContextMap.getByName(appName); in dumpToString()
/packages/services/Mms/src/com/android/mms/service/
DMmsHttpClient.java131 new InetSocketAddress(mNetwork.getByName(proxyHost), proxyPort)); in execute()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java380 nIface = NetworkInterface.getByName(nLink.getInterfaceName()); in getNetworkItem()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java485 return mapIntoSet(addresses, InetAddress::getByName); in ips()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java301 if (mIface == null) mIface = InterfaceParams.getByName(mIfaceName); in initInterface()
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java761 NetworkInterface iface = NetworkInterface.getByName(ifaceName); in handleWifiApStateChange()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java961 super(context, config, InterfaceParams.getByName("lo"), ipClientCallback, log); in TestApfFilter()
2107 int want = bytesToBEInt(InetAddress.getByName(expected).getAddress()); in assertEqualsIp()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java388 return InterfaceParams.getByName(ifname); in getInterfaceParams()