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()220 … " Wanted: " + uidTxDeltaPackets + ">=" + packetCount + "+" + minExpectedExtraPackets + " && " + in testTrafficStatsForLocalhost()221 …uidTxDeltaPackets + "<=" + packetCount + "+" + packetCount + "+" + maxExpectedExtraPackets + "+" +… in testTrafficStatsForLocalhost()222 uidTxDeltaPackets >= packetCount + minExpectedExtraPackets && in testTrafficStatsForLocalhost()223 … uidTxDeltaPackets <= packetCount + packetCount + maxExpectedExtraPackets + deltaTxOtherPackets); in testTrafficStatsForLocalhost()[all …]
198 final int packetCount = 1024; in createTrafficStatsWithTags() local211 for (int i = 0; i < packetCount; i++) { in createTrafficStatsWithTags()230 while (read < byteCount * packetCount) { in createTrafficStatsWithTags()