/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/util/ |
D | ProcfsParsingUtilsTest.kt | 50 InetAddress.getByAddress( in testParseAnycast6Address() 53 InetAddress.getByAddress( in testParseAnycast6Address() 116 InetAddress.getByAddress( in testParseIpv6MulticastAddress() 119 InetAddress.getByAddress( in testParseIpv6MulticastAddress() 122 InetAddress.getByAddress( in testParseIpv6MulticastAddress() 125 InetAddress.getByAddress( in testParseIpv6MulticastAddress() 128 InetAddress.getByAddress( in testParseIpv6MulticastAddress()
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | InetAddressUtils.java | 71 return Inet6Address.getByAddress(null /* host */, addressArray, scopeId); in unparcelInetAddress() 74 return InetAddress.getByAddress(addressArray); in unparcelInetAddress() 89 return Inet6Address.getByAddress(null /* host */, addr.getAddress(), in withScopeId() 113 return Inet6Address.getByAddress(null /* host */, v6AddrBytes, -1 /* scope_id */); in v4MappedV6Address()
|
D | NetworkStackConstants.java | 326 return (Inet4Address) InetAddress.getByAddress(new byte[] { b1, b2, b3, b4 }); in makeInet4Address() 337 return (Inet6Address) InetAddress.getByAddress(bytes); in makeInet6Address()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringInterfaceUtils.java | 38 private static final InetAddress IN6ADDR_ANY = getByAddress( 40 private static final InetAddress INADDR_ANY = getByAddress(new byte[] {0, 0, 0, 0}); 103 private static InetAddress getByAddress(final byte[] addr) { in getByAddress() method in TetheringInterfaceUtils 105 return InetAddress.getByAddress(null, addr); in getByAddress()
|
D | TetherDownstream6Key.java | 49 final Inet6Address unused = (Inet6Address) InetAddress.getByAddress(neigh6); in TetherDownstream6Key() 63 Inet6Address.getByAddress(neigh6)); in toString()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ipmemorystore/ |
D | NetworkAttributesTest.java | 66 (Inet4Address) Inet4Address.getByAddress(new byte[] {1, 2, 3, 4}), in testTotalWeight() 69 Arrays.asList(Inet4Address.getByAddress(new byte[] {5, 6, 7, 8}), in testTotalWeight() 70 Inet4Address.getByAddress(new byte[] {9, 0, 1, 2})), in testTotalWeight()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/ |
D | StructInetDiagSockId.java | 105 srcAddr = Inet4Address.getByAddress(srcAddrByte); in parse() 106 dstAddr = Inet4Address.getByAddress(dstAddrByte); in parse() 120 srcAddr = Inet6Address.getByAddress( in parse() 122 dstAddr = Inet6Address.getByAddress( in parse()
|
D | NduseroptMessage.java | 126 srcaddr = Inet6Address.getByAddress(null /* hostname */, nla.nla_value, ifindex); in NduseroptMessage() 128 srcaddr = InetAddress.getByAddress(nla.nla_value); in NduseroptMessage()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/ |
D | InetDiagSocketTest.java | 277 final Inet6Address srcAddr = Inet6Address.getByAddress( in testInetDiagReqV2TcpInet6V4Mapped() 279 final Inet6Address dstAddr = Inet6Address.getByAddress( in testInetDiagReqV2TcpInet6V4Mapped() 654 final Inet6Address srcAddr = Inet6Address.getByAddress( in testParseInetDiagResponseV4MappedV6() 656 final Inet6Address dstAddr = Inet6Address.getByAddress( in testParseInetDiagResponseV4MappedV6() 751 final Inet6Address addrLoopback = Inet6Address.getByAddress(null, addrLoopbackByte, -1); in testIsLoopbackV4MappedV6() 753 Inet6Address.getByAddress(null, addrNonLoopbackByte1, -1); in testIsLoopbackV4MappedV6() 755 Inet6Address.getByAddress(null, addrNonLoopbackByte2, -1); in testIsLoopbackV4MappedV6()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectionInfo.java | 62 localAddress = InetAddress.getByAddress(in.createByteArray()); 69 remoteAddress = InetAddress.getByAddress(in.createByteArray());
|
D | IpPrefix.java | 154 return InetAddress.getByAddress(address); in getAddress() 232 return InetAddress.getByAddress(address).getHostAddress() + "/" + prefixLength; in toString()
|
D | NattKeepalivePacketData.java | 68 srcAddr = InetAddress.getByAddress(srcAddress.getAddress()); in nattKeepalivePacket() 69 dstAddr = InetAddress.getByAddress(dstAddress.getAddress()); in nattKeepalivePacket()
|
/packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ |
D | Tether4Key.java | 75 Inet4Address.getByAddress(src4), Inet4Address.getByAddress(dst4), in toString()
|
D | Tether4Value.java | 90 InetAddress.getByAddress(src46), InetAddress.getByAddress(dst46), in toString()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeConfigPayload.java | 432 InetAddress netAddress = InetAddress.getByAddress(value); in TunnelModeChildConfigAttrIpv4AddressBase() 506 InetAddress netAddress = InetAddress.getByAddress(value); in IkeConfigAttrIpv4AddressBase() 730 InetAddress address = InetAddress.getByAddress(ipBytes); in ConfigAttributeIpv4Subnet() 731 InetAddress netmask = InetAddress.getByAddress(netmaskBytes); in ConfigAttributeIpv4Subnet() 842 InetAddress netAddress = InetAddress.getByAddress(value); in TunnelModeChildConfigAttrIpv6AddressBase() 916 InetAddress netAddress = InetAddress.getByAddress(value); in IkeConfigAttrIpv6AddressBase() 999 InetAddress address = InetAddress.getByAddress(ip6AddrBytes); in TunnelModeChildConfigAttrIpv6AddrRangeBase()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | AutomaticOnOffKeepaliveTrackerTest.java | 436 final InetAddress srcAddress = InetAddress.getByAddress(V4_SRC_ADDR); in doStartNattKeepalive() 438 final InetAddress dstAddress = InetAddress.getByAddress(new byte[] {8, 8, 8, 8}); in doStartNattKeepalive() 615 doReturn(InetAddress.getByAddress(V4_SRC_ADDR)).when(mNai).getClatv4SrcAddress(); in setupTestNaiForClat() 619 final InetAddress srcAddress = InetAddress.getByAddress( in setupTestNaiForClat() 629 InetAddress.getByAddress(new byte[] { 8, 8, 8, 8}) /* dstAddr */, in doStartTcpKeepalive() 650 final InetAddress srcAddr = InetAddress.getByAddress(V4_SRC_ADDR); in testStartTcpKeepalive_addressTranslationOnClat() 957 final InetAddress srcAddress = InetAddress.getByAddress( in testStartTcpKeepalive_fdInitiatedStop() 962 doStartTcpKeepalive(InetAddress.getByAddress(V4_SRC_ADDR)); in testStartTcpKeepalive_fdInitiatedStop()
|
/packages/modules/NetworkStack/src/com/android/networkstack/util/ |
D | NetworkStackUtils.java | 344 return (Inet6Address) InetAddress.getByAddress(address); in ipv6AddressToSolicitedNodeMulticast() 393 return (Inet6Address) InetAddress.getByAddress(address); in createInet6AddressFromEui64()
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ProcfsParsingUtils.java | 113 addresses.add((Inet6Address) InetAddress.getByAddress(addr)); in parseAnycast6Addresses() 166 addresses.add((Inet6Address) InetAddress.getByAddress(addr)); in parseIPv6MulticastAddresses()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | DscpPolicyValue.java | 158 srcIpString = InetAddress.getByAddress(src46).getHostAddress(); in toString() 164 dstIpString = InetAddress.getByAddress(src46).getHostAddress(); in toString()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/arp/ |
D | ArpPacket.java | 155 (Inet4Address) InetAddress.getByAddress(senderIp), in parseArpPacket() 157 (Inet4Address) InetAddress.getByAddress(targetIp)); in parseArpPacket()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | DnsTest.java | 240 InetAddress addr = InetAddress.getByAddress(addressList.get(addrIndex)); in skiptestDnsPerf() 247 InetAddress.getByAddress(addressList.get(addrIndex)); in skiptestDnsPerf()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | KeepalivePacketDataUtilTest.java | 90 assertEquals(InetAddress.getByAddress(testInfo.srcAddress), resultData.getSrcAddress()); in testFromTcpKeepaliveStableParcelable() 91 assertEquals(InetAddress.getByAddress(testInfo.dstAddress), resultData.getDstAddress()); in testFromTcpKeepaliveStableParcelable()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | ArpResponder.kt | 44 val targetIp = InetAddress.getByAddress( in replyToPacket()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/xfrm/ |
D | StructXfrmAddressT.java | 77 return InetAddress.getByAddress(addressBytes); in getAddress()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/ |
D | WifiP2pInfoTest.java | 41 mGroupOnwerIpv4Address = InetAddress.getByAddress(ipv4); in setUp()
|