/frameworks/base/core/java/android/net/ |
D | NattKeepalivePacketData.java | 38 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);
|
D | KeepalivePacketData.java | 49 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/ |
D | TcpKeepalivePacketDataTest.java | 46 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/ |
D | TcpKeepalivePacketData.java | 68 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()
|
D | NattKeepalivePacketDataParcelable.aidl | 23 int dstPort;
|
D | TcpKeepalivePacketDataParcelable.aidl | 23 int dstPort;
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioRoute.cpp | 40 bool AudioRoute::supportsPatch(const sp<AudioPort> &srcPort, const sp<AudioPort> &dstPort) const in supportsPatch() 42 if (mSink == 0 || dstPort == 0 || dstPort != mSink) { in supportsPatch()
|
D | HwModule.cpp | 233 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/ |
D | WakeupEvent.java | 37 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/ |
D | KeepalivePacketDataUtil.java | 36 parcel.dstPort = pkt.dstPort; in toStableParcelable()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | FrameParser.java | 180 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/ |
D | OffloadController.java | 220 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()
|
D | OffloadHardwareInterface.java | 67 String dstAddr, int dstPort) {} in onNatTimeoutUpdate() argument
|
/frameworks/base/services/net/aidl/networkstack/2/android/net/ |
D | NattKeepalivePacketDataParcelable.aidl | 6 int dstPort;
|
D | TcpKeepalivePacketDataParcelable.aidl | 6 int dstPort;
|
/frameworks/base/services/net/aidl/networkstack/3/android/net/ |
D | NattKeepalivePacketDataParcelable.aidl | 23 int dstPort;
|
D | TcpKeepalivePacketDataParcelable.aidl | 23 int dstPort;
|
/frameworks/base/services/net/aidl/networkstack/1/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 6 int dstPort;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 258 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()
|
D | KeepaliveTracker.java | 225 + 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()
|
D | NetworkDiagnostics.java | 383 int sockType, int protocol, long writeTimeout, long readTimeout, int dstPort) in setupSocket() argument 402 Os.connect(mFileDescriptor, mTarget, dstPort); in setupSocket()
|
D | TcpKeepaliveController.java | 159 tcpDetails.dstPort = getPort((InetSocketAddress) dstSockAddr); in switchToRepairMode()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioRoute.h | 60 bool supportsPatch(const sp<AudioPort> &srcPort, const sp<AudioPort> &dstPort) const;
|
D | HwModule.h | 109 bool supportsPatch(const sp<AudioPort> &srcPort, const sp<AudioPort> &dstPort) const;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 4555 req.destinationPort = packetData.dstPort; in startNattKeepalive()
|