Searched refs:packetCount (Results 1 – 2 of 2) sorted by relevance
78 long tcpPacketToIpBytes(long packetCount, long bytes) { in tcpPacketToIpBytes() argument81 return packetCount * (20 + 32 + bytes); in tcpPacketToIpBytes()120 final int packetCount = 1024; in testTrafficStatsForLocalhost() local136 for (int i = 0; i < packetCount; i++) { in testTrafficStatsForLocalhost()163 while (read < byteCount * packetCount) { in testTrafficStatsForLocalhost()171 assertTrue("Not all data read back", read >= byteCount * packetCount); in testTrafficStatsForLocalhost()222 … " Wanted: " + uidTxDeltaPackets + ">=" + packetCount + "+" + minExpectedExtraPackets + " && " + in testTrafficStatsForLocalhost()223 …uidTxDeltaPackets + "<=" + packetCount + "+" + packetCount + "+" + maxExpectedExtraPackets + "+" +… in testTrafficStatsForLocalhost()224 uidTxDeltaPackets >= packetCount + minExpectedExtraPackets && in testTrafficStatsForLocalhost()225 … uidTxDeltaPackets <= packetCount + packetCount + maxExpectedExtraPackets + deltaTxOtherPackets); in testTrafficStatsForLocalhost()[all …]
202 final int packetCount = 1024; in createTrafficStatsWithTags() local215 for (int i = 0; i < packetCount; i++) { in createTrafficStatsWithTags()234 while (read < byteCount * packetCount) { in createTrafficStatsWithTags()