/frameworks/base/core/java/android/net/ |
D | KeepalivePacketData.java | 51 public final int dstPort; field in KeepalivePacketData 62 InetAddress dstAddress, int dstPort, byte[] data) throws InvalidPacketException { in KeepalivePacketData() argument 66 this.dstPort = dstPort; in KeepalivePacketData() 77 if (!IpUtils.isValidUdpOrTcpPort(srcPort) || !IpUtils.isValidUdpOrTcpPort(dstPort)) { in KeepalivePacketData() 95 InetAddress srcAddress, int srcPort, InetAddress dstAddress, int dstPort) in nattKeepalivePacket() argument 102 if (dstPort != NATT_PORT) { in nattKeepalivePacket() 119 buf.putShort((short) dstPort); in nattKeepalivePacket() 127 return new KeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, buf.array()); in nattKeepalivePacket() 140 out.writeInt(dstPort); in writeToParcel() 148 dstPort = in.readInt(); in KeepalivePacketData()
|
/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/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/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 246 byte[] dstHw, String srcIp, String dstIp, int srcPort, int dstPort, long timestampNs) { in onWakeupEvent() argument 265 event.dstPort = dstPort; in onWakeupEvent() 270 uid, iface, ethertype, dstMac, srcIp, dstIp, ipNextHeader, srcPort, dstPort); in onWakeupEvent()
|
D | KeepaliveTracker.java | 130 .append(IpUtils.addressAndPortToString(mPacket.dstAddress, mPacket.dstPort)) in toString() 333 IBinder binder, String srcAddrString, int srcPort, String dstAddrString, int dstPort) { in startNattKeepalive() argument
|
D | NetworkDiagnostics.java | 384 int sockType, int protocol, long writeTimeout, long readTimeout, int dstPort) in setupSocket() argument 402 Os.connect(mFileDescriptor, mTarget, dstPort); in setupSocket()
|
/frameworks/base/services/net/java/android/net/util/ |
D | ConnectivityPacketSummary.java | 325 final int dstPort = asUint(mPacket.getShort()); in parseUDP() local 326 sj.add(asString(srcPort)).add(">").add(asString(dstPort)); in parseUDP() 329 if (srcPort == DHCP4_CLIENT_PORT || dstPort == DHCP4_CLIENT_PORT) { in parseUDP()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 3954 req.destinationPort = packetData.dstPort; in startNattKeepalive()
|