Home
last modified time | relevance | path

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

/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DTrafficStatsTest.java92 long tcpPacketToIpBytes(long packetCount, long bytes) { in tcpPacketToIpBytes() argument
95 return packetCount * (20 + 32 + bytes); in tcpPacketToIpBytes()
119 final int packetCount = 1024; in testTrafficStatsForLocalhost() local
135 for (int i = 0; i < packetCount; i++) { in testTrafficStatsForLocalhost()
161 while (read < byteCount * packetCount) { in testTrafficStatsForLocalhost()
234 final long pktBytes = tcpPacketToIpBytes(packetCount, byteCount); in testTrafficStatsForLocalhost()
235 final long pktWithNoDataBytes = tcpPacketToIpBytes(packetCount, 0); in testTrafficStatsForLocalhost()
249 packetCount + packetCount + maxExpectedExtraPackets + deltaTxOtherPackets); in testTrafficStatsForLocalhost()
251 packetCount + packetCount + maxExpectedExtraPackets + deltaRxOtherPackets); in testTrafficStatsForLocalhost()
257 packetCount + packetCount + maxExpectedExtraPackets); in testTrafficStatsForLocalhost()
[all …]
/aosp12/frameworks/base/core/java/android/net/
H A DLinkQualityInfo.java195 public void setPacketCount(long packetCount) { in setPacketCount() argument
196 mPacketCount = packetCount; in setPacketCount()