Searched refs:packetCount (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | TrafficStatsTest.java | 95 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/ |
D | IpSecTransformState.java | 55 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/ |
D | UwbMetrics.java | 712 public synchronized void logDataToUpperLayer(UwbSession uwbSession, int packetCount) { in logDataToUpperLayer() argument 718 session.mRxToUpperLayerCount += packetCount; in logDataToUpperLayer()
|