Home
last modified time | relevance | path

Searched refs:srcPort (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/tests/net/java/android/net/
DTcpKeepalivePacketDataTest.java45 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/
DNattKeepalivePacketData.java37 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,
DKeepalivePacketData.java46 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()
DIConnectivityManager.aidl199 in ISocketKeepaliveCallback cb, String srcAddr, int srcPort, String dstAddr); in startNattKeepalive() argument
DConnectivityManager.java1901 InetAddress srcAddr, int srcPort, InetAddress dstAddr) { in startNattKeepalive() argument
1905 srcAddr.getHostAddress(), srcPort, dstAddr.getHostAddress()); in startNattKeepalive()
/frameworks/base/services/net/java/android/net/
DTcpKeepalivePacketData.java67 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()
DNattKeepalivePacketDataParcelable.aidl21 int srcPort;
DTcpKeepalivePacketDataParcelable.aidl21 int srcPort;
/frameworks/base/core/java/android/net/metrics/
DWakeupEvent.java36 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/
DKeepalivePacketDataUtil.java34 parcel.srcPort = pkt.srcPort; in toStableParcelable()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioRoute.cpp40 bool AudioRoute::supportsPatch(const sp<AudioPort> &srcPort, const sp<AudioPort> &dstPort) const in supportsPatch() argument
47 if (sourcePort == srcPort) { in supportsPatch()
DHwModule.cpp233 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/
DOffloadController.java219 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()
DOffloadHardwareInterface.java66 String srcAddr, int srcPort, in onNatTimeoutUpdate() argument
/frameworks/base/services/net/aidl/networkstack/2/android/net/
DNattKeepalivePacketDataParcelable.aidl4 int srcPort;
DTcpKeepalivePacketDataParcelable.aidl4 int srcPort;
/frameworks/base/services/net/aidl/networkstack/3/android/net/
DNattKeepalivePacketDataParcelable.aidl21 int srcPort;
DTcpKeepalivePacketDataParcelable.aidl21 int srcPort;
/frameworks/base/services/net/aidl/networkstack/1/android/net/
DTcpKeepalivePacketDataParcelable.aidl4 int srcPort;
/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepaliveTracker.java223 + 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()
DNetdEventListenerService.java258 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()
DTcpKeepaliveController.java145 tcpDetails.srcPort = getPort((InetSocketAddress) srcSockAddr); in switchToRepairMode()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DFrameParser.java196 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/
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;

12