Home
last modified time | relevance | path

Searched refs:tcpSeq (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DTcpKeepalivePacketData.java39 public final int tcpSeq; field in TcpKeepalivePacketData
72 int tcpSeq, int tcpAck, int tcpWindow, int tcpWindowScale, int ipTos, int ipTtl) in TcpKeepalivePacketData() argument
75 this.tcpSeq = tcpSeq; in TcpKeepalivePacketData()
89 return tcpSeq; in getTcpSeq()
144 && this.tcpSeq == other.tcpSeq in equals()
154 tcpAck, tcpSeq, tcpWindow, tcpWindowScale, ipTos, ipTtl); in hashCode()
176 out.writeInt(tcpSeq); in writeToParcel()
190 int tcpSeq = in.readInt(); in readFromParcel() local
196 return new TcpKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, packet, tcpSeq, in readFromParcel()
223 + " seq: " + tcpSeq in toString()
/packages/modules/Connectivity/tests/common/java/android/net/
DTcpKeepalivePacketDataTest.kt40 tcpSeq: Int = 135, in <lambda>()
46 ) = TcpKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, data, tcpSeq, tcpAck, in <lambda>()
64 assertNotEquals(makeData(tcpSeq = 136), makeData()) in <lambda>()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/util/
DKeepalivePacketDataUtil.java116 final int tcpSeq; in parseTcpKeepalivePacketData() local
124 tcpSeq = buffer.getInt(IPV4_HEADER_LENGTH + 4); in parseTcpKeepalivePacketData()
138 p.seq = tcpSeq; in parseTcpKeepalivePacketData()
/packages/modules/Connectivity/tests/unit/java/android/net/
DKeepalivePacketDataUtilTest.java94 assertEquals(testInfo.seq, resultData.tcpSeq); in testFromTcpKeepaliveStableParcelable()