Home
last modified time | relevance | path

Searched refs:TOTAL_PACKETS (Results 1 – 9 of 9) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfStandaloneTest.kt87 Counter.TOTAL_PACKETS to 1, in runApfTest()
148 Counter.TOTAL_PACKETS to 2, in runApfTest()
180 Counter.TOTAL_PACKETS to 3, in runApfTest()
226 Counter.TOTAL_PACKETS to 4, in runApfTest()
253 maybeSetupCounter(gen, Counter.TOTAL_PACKETS) in generateApfV4Program()
359 TOTAL_PACKETS,
DApfNewTest.kt41 import android.net.apf.ApfCounterTracker.Counter.TOTAL_PACKETS
1000 { mutableMapOf(TOTAL_PACKETS to 1) }, in testLoadStoreCounter()
1696 assertEquals(0xff, ApfCounterTracker.getCounterValue(counterBytes, Counter.TOTAL_PACKETS)) in testGetCounterValue()
2319 cntMap[TOTAL_PACKETS] = cntMap.getOrDefault(TOTAL_PACKETS, 0) + 1
DLegacyApfTest.java1840 final int totalPacketsCounterIdx = Counter.totalSize() + Counter.TOTAL_PACKETS.offset(); in testApfSessionInfoMetrics_LegacyApfFilter()
1881 final Map<Counter, Long> expectedCounters = Map.of(Counter.TOTAL_PACKETS, 2L, in testApfSessionInfoMetrics_LegacyApfFilter()
DApfTest.java3207 final int totalPacketsCounterIdx = Counter.totalSize() + Counter.TOTAL_PACKETS.offset(); in testApfSessionInfoMetrics()
3248 final Map<Counter, Long> expectedCounters = Map.of(Counter.TOTAL_PACKETS, 2L, in testApfSessionInfoMetrics()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DApfSessionInfoMetricsTest.java45 mMetrics.addApfCounter(Counter.TOTAL_PACKETS, 5678); in testApfSessionInfoMetrics_VerifyCollectMetrics()
96 verifyCounterName(Counter.TOTAL_PACKETS, CounterName.CN_TOTAL_PACKETS); in testApfSessionInfoMetrics_VerifyApfCounterToEnum()
/packages/modules/NetworkStack/src/android/net/apf/
DApfCounterTracker.java44 TOTAL_PACKETS, // hardcoded in APFv6 interpreter enumConstant
DLegacyApfFilter.java1735 maybeSetupCounter(gen, Counter.TOTAL_PACKETS); in emitPrologueLocked()
DApfFilter.java2220 gen.addIncrementCounter(Counter.TOTAL_PACKETS); in emitPrologueLocked()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DApfSessionInfoMetrics.java108 case TOTAL_PACKETS: in apfFilterCounterToEnum()