Home
last modified time | relevance | path

Searched refs:dstPort (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/net/
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
54 if (dstPort != NattSocketKeepalive.NATT_PORT) { in nattKeepalivePacket()
71 buf.putShort((short) dstPort); in nattKeepalivePacket()
79 return new NattKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, buf.array()); in nattKeepalivePacket()
92 out.writeInt(dstPort); in writeToParcel()
104 final int dstPort = in.readInt();
107 dstAddress, dstPort);
DKeepalivePacketData.java49 public final int dstPort; field in KeepalivePacketData
60 InetAddress dstAddress, int dstPort, byte[] data) throws InvalidPacketException { in KeepalivePacketData() argument
64 this.dstPort = dstPort; in KeepalivePacketData()
75 if (!IpUtils.isValidUdpOrTcpPort(srcPort) || !IpUtils.isValidUdpOrTcpPort(dstPort)) { in KeepalivePacketData()
95 out.writeInt(dstPort); in writeToParcel()
103 dstPort = in.readInt(); in KeepalivePacketData()
/frameworks/base/tests/net/java/android/net/
DTcpKeepalivePacketDataTest.java46 final int dstPort = 4321; in testV4TcpKeepalivePacket() local
58 testInfo.dstPort = dstPort; in testV4TcpKeepalivePacket()
74 assertEquals(testInfo.dstPort, resultData.dstPort); in testV4TcpKeepalivePacket()
105 assertEquals(buf.getShort(), dstPort); in testV4TcpKeepalivePacket() local
120 final int dstPort = 4321; in testParcel() local
131 testInfo.dstPort = dstPort; in testParcel()
145 assertEquals(resultData.dstPort, dstPort); in testParcel()
/frameworks/base/services/net/java/android/net/
DTcpKeepalivePacketData.java68 InetAddress.getByAddress(tcpDetails.dstAddress), tcpDetails.dstPort, data); in TcpKeepalivePacketData()
120 buf.putShort((short) tcpDetails.dstPort); in buildV4Packet()
146 && this.dstPort == other.dstPort in equals()
157 return Objects.hash(srcAddress, dstAddress, srcPort, dstPort, tcpAck, tcpSeq, tcpWnd, in hashCode()
213 parcel.dstPort = dstPort; in toStableParcelable()
228 + " dport: " + dstPort in toString()
DNattKeepalivePacketDataParcelable.aidl23 int dstPort;
DTcpKeepalivePacketDataParcelable.aidl23 int dstPort;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioRoute.cpp40 bool AudioRoute::supportsPatch(const sp<AudioPort> &srcPort, const sp<AudioPort> &dstPort) const in supportsPatch()
42 if (mSink == 0 || dstPort == 0 || dstPort != mSink) { in supportsPatch()
DHwModule.cpp233 bool HwModule::supportsPatch(const sp<AudioPort> &srcPort, const sp<AudioPort> &dstPort) const { in supportsPatch()
235 if (route->supportsPatch(srcPort, dstPort)) { in supportsPatch()
/frameworks/base/core/java/android/net/metrics/
DWakeupEvent.java37 public int dstPort; field in WakeupEvent
55 if (dstPort > -1) { in toString()
56 j.add("dstPort=" + dstPort); in toString()
/frameworks/base/services/net/java/android/net/util/
DKeepalivePacketDataUtil.java36 parcel.dstPort = pkt.dstPort; in toStableParcelable()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DFrameParser.java180 int dstPort = getUnsignedShort(data); in parseTcpPacket() local
182 if (dstPort == HTTPS_PORT) { in parseTcpPacket()
184 } else if (HTTP_PORTS.contains(dstPort)) { in parseTcpPacket()
197 int dstPort = getUnsignedShort(data); in parseUdpPacket() local
201 if ((srcPort == UDP_PORT_BOOTPC && dstPort == UDP_PORT_BOOTPS) in parseUdpPacket()
202 || (srcPort == UDP_PORT_BOOTPS && dstPort == UDP_PORT_BOOTPC)) { in parseUdpPacket()
206 if (srcPort == UDP_PORT_NTP || dstPort == UDP_PORT_NTP) { in parseUdpPacket()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DOffloadController.java220 String dstAddr, int dstPort) { in start()
222 updateNatTimeout(proto, srcAddr, srcPort, dstAddr, dstPort); in start()
570 int proto, String srcAddr, int srcPort, String dstAddr, int dstPort) { in updateNatTimeout() argument
594 if (!IpUtils.isValidUdpOrTcpPort(dstPort)) { in updateNatTimeout()
595 mLog.e("Invalid dst port: " + dstPort); in updateNatTimeout()
601 protoName, srcAddr, srcPort, dstAddr, dstPort); in updateNatTimeout()
608 proto, src, srcPort, dst, dstPort, timeoutSec); in updateNatTimeout()
DOffloadHardwareInterface.java67 String dstAddr, int dstPort) {} in onNatTimeoutUpdate() argument
/frameworks/base/services/net/aidl/networkstack/2/android/net/
DNattKeepalivePacketDataParcelable.aidl6 int dstPort;
DTcpKeepalivePacketDataParcelable.aidl6 int dstPort;
/frameworks/base/services/net/aidl/networkstack/3/android/net/
DNattKeepalivePacketDataParcelable.aidl23 int dstPort;
DTcpKeepalivePacketDataParcelable.aidl23 int dstPort;
/frameworks/base/services/net/aidl/networkstack/1/android/net/
DTcpKeepalivePacketDataParcelable.aidl6 int dstPort;
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java258 byte[] dstHw, String srcIp, String dstIp, int srcPort, int dstPort, long timestampNs) { in onWakeupEvent() argument
277 event.dstPort = dstPort; in onWakeupEvent()
282 uid, iface, ethertype, dstMac, srcIp, dstIp, ipNextHeader, srcPort, dstPort); in onWakeupEvent()
DKeepaliveTracker.java225 + IpUtils.addressAndPortToString(mPacket.dstAddress, mPacket.dstPort) in toString()
603 int dstPort) { in startNattKeepalive() argument
693 int dstPort) { in startNattKeepalive() argument
710 dstAddrString, dstPort); in startNattKeepalive()
DNetworkDiagnostics.java383 int sockType, int protocol, long writeTimeout, long readTimeout, int dstPort) in setupSocket() argument
402 Os.connect(mFileDescriptor, mTarget, dstPort); in setupSocket()
DTcpKeepaliveController.java159 tcpDetails.dstPort = getPort((InetSocketAddress) dstSockAddr); in switchToRepairMode()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioRoute.h60 bool supportsPatch(const sp<AudioPort> &srcPort, const sp<AudioPort> &dstPort) const;
DHwModule.h109 bool supportsPatch(const sp<AudioPort> &srcPort, const sp<AudioPort> &dstPort) const;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java4555 req.destinationPort = packetData.dstPort; in startNattKeepalive()

12