/frameworks/base/tests/net/java/android/net/ |
D | TcpKeepalivePacketDataTest.java | 45 final int srcPort = 1234; in testV4TcpKeepalivePacket() local 56 testInfo.srcPort = srcPort; in testV4TcpKeepalivePacket() 73 assertEquals(testInfo.srcPort, resultData.srcPort); in testV4TcpKeepalivePacket() 103 assertEquals(buf.getShort(), srcPort); in testV4TcpKeepalivePacket() local 119 final int srcPort = 1234; in testParcel() local 129 testInfo.srcPort = srcPort; in testParcel() 144 assertEquals(resultData.srcPort, srcPort); in testParcel()
|
/frameworks/base/core/java/android/net/ |
D | NattKeepalivePacketData.java | 37 private NattKeepalivePacketData(InetAddress srcAddress, int srcPort, in NattKeepalivePacketData() argument 40 super(srcAddress, srcPort, dstAddress, dstPort, data); in NattKeepalivePacketData() 47 InetAddress srcAddress, int srcPort, InetAddress dstAddress, int dstPort) in nattKeepalivePacket() argument 70 buf.putShort((short) srcPort); in nattKeepalivePacket() 79 return new NattKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, buf.array()); in nattKeepalivePacket() 91 out.writeInt(srcPort); in writeToParcel() 103 final int srcPort = in.readInt(); 106 return NattKeepalivePacketData.nattKeepalivePacket(srcAddress, srcPort,
|
D | KeepalivePacketData.java | 46 public final int srcPort; field in KeepalivePacketData 59 protected KeepalivePacketData(InetAddress srcAddress, int srcPort, in KeepalivePacketData() argument 63 this.srcPort = srcPort; in KeepalivePacketData() 75 if (!IpUtils.isValidUdpOrTcpPort(srcPort) || !IpUtils.isValidUdpOrTcpPort(dstPort)) { in KeepalivePacketData() 94 out.writeInt(srcPort); in writeToParcel() 102 srcPort = in.readInt(); in KeepalivePacketData()
|
D | IConnectivityManager.aidl | 199 in ISocketKeepaliveCallback cb, String srcAddr, int srcPort, String dstAddr); in startNattKeepalive() argument
|
D | ConnectivityManager.java | 1901 InetAddress srcAddr, int srcPort, InetAddress dstAddr) { in startNattKeepalive() argument 1905 srcAddr.getHostAddress(), srcPort, dstAddr.getHostAddress()); in startNattKeepalive()
|
/frameworks/base/services/net/java/android/net/ |
D | TcpKeepalivePacketData.java | 67 super(InetAddress.getByAddress(tcpDetails.srcAddress), tcpDetails.srcPort, in TcpKeepalivePacketData() 119 buf.putShort((short) tcpDetails.srcPort); in buildV4Packet() 145 && this.srcPort == other.srcPort in equals() 157 return Objects.hash(srcAddress, dstAddress, srcPort, dstPort, tcpAck, tcpSeq, tcpWnd, in hashCode() 211 parcel.srcPort = srcPort; in toStableParcelable() 227 + " sport: " + srcPort in toString()
|
D | NattKeepalivePacketDataParcelable.aidl | 21 int srcPort;
|
D | TcpKeepalivePacketDataParcelable.aidl | 21 int srcPort;
|
/frameworks/base/core/java/android/net/metrics/ |
D | WakeupEvent.java | 36 public int srcPort; field in WakeupEvent 52 if (srcPort > -1) { in toString() 53 j.add("srcPort=" + srcPort); in toString()
|
/frameworks/base/services/net/java/android/net/util/ |
D | KeepalivePacketDataUtil.java | 34 parcel.srcPort = pkt.srcPort; in toStableParcelable()
|
/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() argument 47 if (sourcePort == srcPort) { in supportsPatch()
|
D | HwModule.cpp | 233 bool HwModule::supportsPatch(const sp<AudioPort> &srcPort, const sp<AudioPort> &dstPort) const { in supportsPatch() argument 235 if (route->supportsPatch(srcPort, dstPort)) { in supportsPatch()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | OffloadController.java | 219 String srcAddr, int srcPort, 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 583 if (!IpUtils.isValidUdpOrTcpPort(srcPort)) { in updateNatTimeout() 584 mLog.e("Invalid src port: " + srcPort); in updateNatTimeout() 601 protoName, srcAddr, srcPort, dstAddr, dstPort); in updateNatTimeout() 608 proto, src, srcPort, dst, dstPort, timeoutSec); in updateNatTimeout()
|
D | OffloadHardwareInterface.java | 66 String srcAddr, int srcPort, in onNatTimeoutUpdate() argument
|
/frameworks/base/services/net/aidl/networkstack/2/android/net/ |
D | NattKeepalivePacketDataParcelable.aidl | 4 int srcPort;
|
D | TcpKeepalivePacketDataParcelable.aidl | 4 int srcPort;
|
/frameworks/base/services/net/aidl/networkstack/3/android/net/ |
D | NattKeepalivePacketDataParcelable.aidl | 21 int srcPort;
|
D | TcpKeepalivePacketDataParcelable.aidl | 21 int srcPort;
|
/frameworks/base/services/net/aidl/networkstack/1/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 4 int srcPort;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | KeepaliveTracker.java | 223 + IpUtils.addressAndPortToString(mPacket.srcAddress, mPacket.srcPort) in toString() 601 int srcPort, in startNattKeepalive() argument 621 srcAddress, srcPort, dstAddress, NATT_PORT); in startNattKeepalive() 700 int srcPort = 0; in startNattKeepalive() local 703 srcPort = ((InetSocketAddress) srcSockAddr).getPort(); in startNattKeepalive() 709 startNattKeepalive(nai, fd, intervalSeconds, cb, srcAddrString, srcPort, in startNattKeepalive()
|
D | NetdEventListenerService.java | 258 byte[] dstHw, String srcIp, String dstIp, int srcPort, int dstPort, long timestampNs) { in onWakeupEvent() argument 276 event.srcPort = srcPort; in onWakeupEvent() 282 uid, iface, ethertype, dstMac, srcIp, dstIp, ipNextHeader, srcPort, dstPort); in onWakeupEvent()
|
D | TcpKeepaliveController.java | 145 tcpDetails.srcPort = getPort((InetSocketAddress) srcSockAddr); in switchToRepairMode()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | FrameParser.java | 196 int srcPort = 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/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;
|