Home
last modified time | relevance | path

Searched refs:packetCount (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DTrafficStatsTest.java95 long tcpPacketToIpBytes(long packetCount, long bytes) { in tcpPacketToIpBytes() argument
98 return packetCount * (20 + 32 + bytes); in tcpPacketToIpBytes()
122 final int packetCount = 1024; in testTrafficStatsForLocalhost() local
138 for (int i = 0; i < packetCount; i++) { in testTrafficStatsForLocalhost()
164 while (read < byteCount * packetCount) { in testTrafficStatsForLocalhost()
172 assertTrue("Not all data read back", read >= byteCount * packetCount); in testTrafficStatsForLocalhost()
237 final long pktBytes = tcpPacketToIpBytes(packetCount, byteCount); in testTrafficStatsForLocalhost()
238 final long pktWithNoDataBytes = tcpPacketToIpBytes(packetCount, 0); in testTrafficStatsForLocalhost()
243 assertInRange("txPackets detail", entry.txPackets, packetCount + minExpectedExtraPackets, in testTrafficStatsForLocalhost()
245 assertInRange("rxPackets detail", entry.rxPackets, packetCount + minExpectedExtraPackets, in testTrafficStatsForLocalhost()
[all …]
/packages/modules/Connectivity/framework-t/src/android/net/
DIpSecTransformState.java55 long packetCount, in IpSecTransformState() argument
61 mPacketCount = packetCount; in IpSecTransformState()
252 public Builder setPacketCount(long packetCount) { in setPacketCount() argument
253 mPacketCount = packetCount; in setPacketCount()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbMetrics.java712 public synchronized void logDataToUpperLayer(UwbSession uwbSession, int packetCount) { in logDataToUpperLayer() argument
718 session.mRxToUpperLayerCount += packetCount; in logDataToUpperLayer()