Searched refs:getByName (Results 1 – 16 of 16) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/ |
D | IpMemoryStoreServiceTest.java | 328 (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/ |
D | P2pUtils.java | 56 return (Inet4Address) InetAddress.getByName(path.getHost()); in toInet4Address() 68 return NetworkInterface.getByName(name); in toNetworkInterface()
|
D | P2pPrinterConnection.java | 116 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/ |
D | WifiDetailPreferenceControllerTest.java | 220 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/ |
D | GetCapabilitiesTask.java | 87 printerCaps.inetAddress = InetAddress.getByName(mUri.getHost()); in doInBackground()
|
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
D | SmtpSenderUnitTests.java | 257 mockTransport.setMockLocalAddress(InetAddress.getByName(LOCAL_ADDRESS)); in openAndInjectMockTransport()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | UtilsTest.java | 113 LinkAddress address = new LinkAddress(InetAddress.getByName("127.0.0.1"), 0); in getWifiIpAddresses_succeeds()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ContextMap.java | 323 App getByName(String name) { in getByName() method in ContextMap
|
D | AppScanStats.java | 428 ContextMap.App appEntry = mContextMap.getByName(appName); in dumpToString()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsHttpClient.java | 131 new InetSocketAddress(mNetwork.getByName(proxyHost), proxyPort)); in execute()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 380 nIface = NetworkInterface.getByName(nLink.getInterfaceName()); in getNetworkItem()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 485 return mapIntoSet(addresses, InetAddress::getByName); in ips()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 301 if (mIface == null) mIface = InterfaceParams.getByName(mIfaceName); in initInterface()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarProjectionService.java | 761 NetworkInterface iface = NetworkInterface.getByName(ifaceName); in handleWifiApStateChange()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfTest.java | 961 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/ |
D | IpClient.java | 388 return InterfaceParams.getByName(ifname); in getInterfaceParams()
|