Home
last modified time | relevance | path

Searched refs:dstAddress (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/net/
DKeepalivePacketData.java43 public final InetAddress dstAddress; field in KeepalivePacketData
60 InetAddress dstAddress, int dstPort, byte[] data) throws InvalidPacketException { in KeepalivePacketData() argument
62 this.dstAddress = dstAddress; in KeepalivePacketData()
68 if (srcAddress == null || dstAddress == null || !srcAddress.getClass().getName() in KeepalivePacketData()
69 .equals(dstAddress.getClass().getName())) { in KeepalivePacketData()
93 out.writeString(dstAddress.getHostAddress()); in writeToParcel()
101 dstAddress = NetworkUtils.numericToInetAddress(in.readString()); in KeepalivePacketData()
DNattKeepalivePacketData.java38 InetAddress dstAddress, int dstPort, byte[] data) throws in NattKeepalivePacketData() argument
40 super(srcAddress, srcPort, dstAddress, dstPort, data); in NattKeepalivePacketData()
47 InetAddress srcAddress, int srcPort, InetAddress dstAddress, int dstPort) in nattKeepalivePacket() argument
50 if (!(srcAddress instanceof Inet4Address) || !(dstAddress instanceof Inet4Address)) { in nattKeepalivePacket()
69 buf.put(dstAddress.getAddress()); in nattKeepalivePacket()
79 return new NattKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, buf.array()); in nattKeepalivePacket()
90 out.writeString(dstAddress.getHostAddress()); in writeToParcel()
101 final InetAddress dstAddress =
107 dstAddress, dstPort);
/frameworks/base/services/net/java/android/net/
DTcpKeepalivePacketData.java68 InetAddress.getByAddress(tcpDetails.dstAddress), tcpDetails.dstPort, data); in TcpKeepalivePacketData()
85 if ((tcpDetails.srcAddress != null) && (tcpDetails.dstAddress != null) in tcpKeepalivePacket()
87 && (tcpDetails.dstAddress.length == 4 /* V4 IP length */)) { in tcpKeepalivePacket()
118 buf.put(tcpDetails.dstAddress); in buildV4Packet()
144 && this.dstAddress.equals(other.dstAddress) in equals()
157 return Objects.hash(srcAddress, dstAddress, srcPort, dstPort, tcpAck, tcpSeq, tcpWnd, in hashCode()
212 parcel.dstAddress = dstAddress.getAddress(); in toStableParcelable()
226 + " daddr: " + dstAddress in toString()
DNattKeepalivePacketDataParcelable.aidl22 byte[] dstAddress;
DTcpKeepalivePacketDataParcelable.aidl22 byte[] dstAddress;
/frameworks/base/tests/net/java/android/net/
DTcpKeepalivePacketDataTest.java57 testInfo.dstAddress = IPV4_KEEPALIVE_DST_ADDR; in testV4TcpKeepalivePacket()
72 assertEquals(InetAddress.getByAddress(testInfo.dstAddress), resultData.dstAddress); in testV4TcpKeepalivePacket()
130 testInfo.dstAddress = IPV4_KEEPALIVE_DST_ADDR; in testParcel()
143 assertArrayEquals(resultData.dstAddress, IPV4_KEEPALIVE_DST_ADDR); in testParcel()
/frameworks/base/services/net/java/android/net/util/
DKeepalivePacketDataUtil.java35 parcel.dstAddress = pkt.dstAddress.getAddress(); in toStableParcelable()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DFakeNativeWrapper.java62 long controllerPtr, int srcAddress, int dstAddress, byte[] body) { in nativeSendCecCommand() argument
64 return mPollAddressResponse[dstAddress]; in nativeSendCecCommand()
66 mResultMessages.add(HdmiCecMessageBuilder.of(srcAddress, dstAddress, body)); in nativeSendCecCommand()
DHdmiCecLocalDeviceTest.java49 private static int SendCecCommandFactory(int srcAddress, int dstAddress, byte[] body) { in SendCecCommandFactory() argument
55 && dstAddress == mDesAddr in SendCecCommandFactory()
/frameworks/base/services/net/aidl/networkstack/3/android/net/
DNattKeepalivePacketDataParcelable.aidl22 byte[] dstAddress;
DTcpKeepalivePacketDataParcelable.aidl22 byte[] dstAddress;
/frameworks/base/services/net/aidl/networkstack/2/android/net/
DNattKeepalivePacketDataParcelable.aidl5 byte[] dstAddress;
DTcpKeepalivePacketDataParcelable.aidl5 byte[] dstAddress;
/frameworks/base/services/net/aidl/networkstack/1/android/net/
DTcpKeepalivePacketDataParcelable.aidl5 byte[] dstAddress;
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecController.java655 private void handleIncomingCecCommand(int srcAddress, int dstAddress, byte[] body) { in handleIncomingCecCommand() argument
657 HdmiCecMessage command = HdmiCecMessageBuilder.of(srcAddress, dstAddress, body); in handleIncomingCecCommand()
701 int nativeSendCecCommand(long controllerPtr, int srcAddress, int dstAddress, byte[] body); in nativeSendCecCommand() argument
716 int dstAddress, byte[] body); in nativeSendCecCommand() argument
737 public int nativeSendCecCommand(long controllerPtr, int srcAddress, int dstAddress, in nativeSendCecCommand() argument
739 … return HdmiCecController.nativeSendCecCommand(controllerPtr, srcAddress, dstAddress, body); in nativeSendCecCommand()
/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepaliveTracker.java225 + IpUtils.addressAndPortToString(mPacket.dstAddress, mPacket.dstPort) in toString()
609 InetAddress srcAddress, dstAddress; in startNattKeepalive() local
612 dstAddress = NetworkUtils.numericToInetAddress(dstAddrString); in startNattKeepalive()
621 srcAddress, srcPort, dstAddress, NATT_PORT); in startNattKeepalive()
DTcpKeepaliveController.java158 tcpDetails.dstAddress = getAddress((InetSocketAddress) dstSockAddr); in switchToRepairMode()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java1279 mLinkProperties.getRoutes(), packetData.dstAddress).getGateway(); in getDstMacForKeepalive()
1289 if (packetData.dstAddress instanceof Inet4Address) { in getEtherProtoForKeepalive()
1291 } else if (packetData.dstAddress instanceof Inet6Address) { in getEtherProtoForKeepalive()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java4539 if (packetData.dstAddress instanceof Inet4Address) { in startNattKeepalive()
4541 } else if (packetData.dstAddress instanceof Inet6Address) { in startNattKeepalive()
4554 packetData.dstAddress.getAddress(), req.destinationAddress); in startNattKeepalive()