/frameworks/base/tests/net/java/android/net/ |
D | TcpKeepalivePacketDataTest.java | 44 final int dstPort = 4321; in testV4TcpKeepalivePacket() local 56 testInfo.dstPort = dstPort; in testV4TcpKeepalivePacket() 72 assertEquals(testInfo.dstPort, resultData.getDstPort()); in testV4TcpKeepalivePacket() 103 assertEquals(buf.getShort(), dstPort); in testV4TcpKeepalivePacket() local 118 final int dstPort = 4321; in testParcel() local 129 testInfo.dstPort = dstPort; in testParcel() 143 assertEquals(resultData.dstPort, dstPort); in testParcel()
|
/frameworks/base/core/java/android/net/ |
D | NattKeepalivePacketData.java | 45 @NonNull InetAddress dstAddress, int dstPort, @NonNull byte[] data) throws in NattKeepalivePacketData() argument 47 super(srcAddress, srcPort, dstAddress, dstPort, data); in NattKeepalivePacketData() 55 InetAddress srcAddress, int srcPort, InetAddress dstAddress, int dstPort) in nattKeepalivePacket() argument 62 if (dstPort != NattSocketKeepalive.NATT_PORT) { in nattKeepalivePacket() 79 buf.putShort((short) dstPort); in nattKeepalivePacket() 87 return new NattKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, buf.array()); in nattKeepalivePacket() 112 final int dstPort = in.readInt(); 115 dstAddress, dstPort);
|
D | KeepalivePacketData.java | 66 @IntRange(from = 0, to = 65535) int dstPort, in KeepalivePacketData() 71 this.mDstPort = dstPort; in KeepalivePacketData() 82 if (!IpUtils.isValidUdpOrTcpPort(srcPort) || !IpUtils.isValidUdpOrTcpPort(dstPort)) { in KeepalivePacketData()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioRoute.cpp | 40 const sp<PolicyAudioPort> &dstPort) const in supportsPatch() 42 if (mSink == 0 || dstPort == 0 || dstPort != mSink) { in supportsPatch()
|
D | HwModule.cpp | 231 const sp<PolicyAudioPort> &dstPort) const { in supportsPatch() 233 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/ |
D | TcpKeepalivePacketData.java | 67 InetAddress.getByAddress(tcpDetails.dstAddress), tcpDetails.dstPort, data); in TcpKeepalivePacketData() 78 final InetAddress dstAddress, int dstPort, final byte[] data, int tcpSeq, in TcpKeepalivePacketData() argument 81 super(srcAddress, srcPort, dstAddress, dstPort, data); in TcpKeepalivePacketData() 132 buf.putShort((short) tcpDetails.dstPort); in buildV4Packet() 204 int dstPort = in.readInt(); in readFromParcel() local 212 return new TcpKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, packet, tcpSeq, in readFromParcel() 244 parcel.dstPort = getDstPort(); in toStableParcelable()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | KeepalivePacketDataTest.kt | 56 dstPort: Int = TEST_DST_PORT, in address() 58 ) : KeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, data) in address() 94 data = TestKeepalivePacketData(dstPort = INVALID_PORT) in address() 115 fun testDstPort() = assertEquals(TEST_DST_PORT, TestKeepalivePacketData().dstPort)
|
D | NattKeepalivePacketDataTest.kt | 60 dstPort: Int = NATT_PORT in address() 61 ) = NattKeepalivePacketData.nattKeepalivePacket(srcAddress, srcPort, dstAddress, dstPort) in address() 66 nattKeepalivePacket(dstPort = TEST_PORT) in address()
|
/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/packages/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadController.java | 253 String dstAddr, int dstPort) { in start() 255 updateNatTimeout(proto, srcAddr, srcPort, dstAddr, dstPort); in start() 714 int proto, String srcAddr, int srcPort, String dstAddr, int dstPort) { in updateNatTimeout() argument 738 if (!isValidUdpOrTcpPort(dstPort)) { in updateNatTimeout() 739 mLog.e("Invalid dst port: " + dstPort); in updateNatTimeout() 745 protoName, srcAddr, srcPort, dstAddr, dstPort); in updateNatTimeout() 752 proto, src, srcPort, dst, dstPort, timeoutSec); in updateNatTimeout()
|
D | OffloadHardwareInterface.java | 109 String dstAddr, int dstPort) {} in onNatTimeoutUpdate() argument
|
/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 | 602 int dstPort) { in startNattKeepalive() argument 695 int dstPort) { in startNattKeepalive() argument 712 dstAddrString, dstPort); in startNattKeepalive()
|
D | NetworkDiagnostics.java | 446 int sockType, int protocol, long writeTimeout, long readTimeout, int dstPort) in setupSocket() argument 467 Os.connect(mFileDescriptor, mTarget, dstPort); in setupSocket()
|
D | TcpKeepaliveController.java | 159 tcpDetails.dstPort = getPort((InetSocketAddress) dstSockAddr); in switchToRepairMode()
|
/frameworks/base/services/net/java/android/net/util/ |
D | KeepalivePacketDataUtil.java | 39 parcel.dstPort = pkt.getDstPort(); in toStableParcelable()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioRoute.h | 61 const sp<PolicyAudioPort> &dstPort) const;
|
D | HwModule.h | 110 const sp<PolicyAudioPort> &dstPort) const;
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 43776 Landroid/net/KeepalivePacketData;->dstPort:I 44153 Landroid/net/metrics/WakeupEvent;->dstPort:I
|