Home
last modified time | relevance | path

Searched refs:getByAddress (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringInterfaceUtils.java34 private static final InetAddress IN6ADDR_ANY = getByAddress(
36 private static final InetAddress INADDR_ANY = getByAddress(new byte[] {0, 0, 0, 0});
95 private static InetAddress getByAddress(final byte[] addr) { in getByAddress() method in TetheringInterfaceUtils
97 return InetAddress.getByAddress(null, addr); in getByAddress()
DPrivateAddressCoordinator.java162 addr = InetAddress.getByAddress(bytes); in requestDownstreamAddress()
DIPv6TetheringCoordinator.java296 addr = InetAddress.getByAddress(bytes); in makeUniqueLocalPrefix()
/frameworks/base/tests/net/java/com/android/server/net/ipmemorystore/
DNetworkAttributesTest.java59 (Inet4Address) Inet4Address.getByAddress(new byte[] {1, 2, 3, 4}), in testTotalWeight()
62 Arrays.asList(Inet4Address.getByAddress(new byte[] {5, 6, 7, 8}), in testTotalWeight()
63 Inet4Address.getByAddress(new byte[] {9, 0, 1, 2})), in testTotalWeight()
/frameworks/base/core/java/android/net/
DConnectionInfo.java62 localAddress = InetAddress.getByAddress(in.createByteArray());
69 remoteAddress = InetAddress.getByAddress(in.createByteArray());
DIpPrefix.java156 return InetAddress.getByAddress(address); in getAddress()
234 return InetAddress.getByAddress(address).getHostAddress() + "/" + prefixLength; in toString()
DMacAddress.java394 return Inet6Address.getByAddress(null, addr, 0); in getLinkLocalIpv6FromEui48Mac()
DLinkProperties.java1836 return Inet6Address.getByAddress(null /* host */, addr, scopeId); in readAddress()
1839 return InetAddress.getByAddress(addr); in readAddress()
1881 .getByAddress(in.createByteArray()));
DLinkAddress.java542 address = InetAddress.getByAddress(in.createByteArray());
DNetworkUtils.java282 netPart = InetAddress.getByAddress(array); in getNetworkPart()
DRouteInfo.java649 gateway = InetAddress.getByAddress(addr);
DDnsResolver.java566 results.add(InetAddress.getByAddress(ansSec.getRR())); in getAddresses()
/frameworks/base/core/java/android/net/shared/
DInetAddressUtils.java51 return InetAddress.getByAddress(addressArray); in unparcelInetAddress()
DInet4AddressUtils.java52 return (Inet4Address) InetAddress.getByAddress(addressBytes); in intToInet4AddressHTH()
/frameworks/libs/net/common/framework/com/android/net/module/util/
DInetAddressUtils.java51 return InetAddress.getByAddress(addressArray); in unparcelInetAddress()
DInet4AddressUtils.java52 return (Inet4Address) InetAddress.getByAddress(addressBytes); in intToInet4AddressHTH()
/frameworks/base/tests/net/java/android/net/
DTcpKeepalivePacketDataTest.java69 assertEquals(InetAddress.getByAddress(testInfo.srcAddress), resultData.getSrcAddress()); in testV4TcpKeepalivePacket()
70 assertEquals(InetAddress.getByAddress(testInfo.dstAddress), resultData.getDstAddress()); in testV4TcpKeepalivePacket()
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/
DWifiP2pInfoTest.java41 mGroupOnwerIpv4Address = InetAddress.getByAddress(ipv4); in setUp()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pInfo.java88 info.groupOwnerAddress = InetAddress.getByAddress(in.createByteArray());
/frameworks/base/services/net/java/android/net/
DTcpKeepalivePacketData.java66 super(InetAddress.getByAddress(tcpDetails.srcAddress), tcpDetails.srcPort, in TcpKeepalivePacketData()
67 InetAddress.getByAddress(tcpDetails.dstAddress), tcpDetails.dstPort, data); in TcpKeepalivePacketData()
/frameworks/base/wifi/java/android/net/wifi/aware/
DWifiAwareNetworkInfo.java137 ipv6Addr = Inet6Address.getByAddress(null, addr, ni);
/frameworks/base/core/java/android/printservice/recommendation/
DRecommendationInfo.java104 discoveredPrinters.add(InetAddress.getByAddress(parcel.readBlob())); in readDiscoveredPrinters()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkTest.java130 InetAddress address = InetAddress.getByAddress(MediaNames.STREAM_SERVER); in checkStreamingServer()
/frameworks/libs/net/common/framework/android/net/util/
DIpRange.java84 return InetAddress.getByAddress(address); in getAsInetAddress()
/frameworks/base/core/java/android/net/nsd/
DNsdServiceInfo.java367 info.mHost = InetAddress.getByAddress(in.createByteArray());

12