Home
last modified time | relevance | path

Searched refs:getCounterValue (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DApfSessionInfoMetricsTest.java62 assertEquals(5678, apfCounter.getCounterValue()); in testApfSessionInfoMetrics_VerifyCollectMetrics()
67 assertEquals(1010, apfCounter.getCounterValue()); in testApfSessionInfoMetrics_VerifyCollectMetrics()
72 assertEquals(333, apfCounter.getCounterValue()); in testApfSessionInfoMetrics_VerifyCollectMetrics()
/packages/modules/NetworkStack/src/android/net/apf/
DApfCounterTracker.java192 public static long getCounterValue(byte[] data, Counter counter) in getCounterValue() method in ApfCounterTracker
231 value = getCounterValue(data, counter); in updateCountersFromData()
DApfFilter.java192 import static android.net.apf.ApfCounterTracker.getCounterValue;
4535 getCounterValue(mDataSnapshot, FILTER_AGE_SECONDS); in dump()
4537 getCounterValue(mDataSnapshot, APF_PROGRAM_ID); in dump()
4539 long value = getCounterValue(mDataSnapshot, c); in dump()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DApfIntegrationTest.kt541 val counterBefore = ApfCounterTracker.getCounterValue( in <lambda>()
547 val counterAfter = ApfCounterTracker.getCounterValue( in <lambda>()
700 ApfCounterTracker.getCounterValue(apfRam, FILTER_AGE_16384THS) in <lambda>()
708 val filterAge16384thSeconds = ApfCounterTracker.getCounterValue(apfRam, FILTER_AGE_16384THS) in <lambda>()
807 val counterBefore = ApfCounterTracker.getCounterValue( in <lambda>()
823 val counterAfter = ApfCounterTracker.getCounterValue( in <lambda>()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfStandaloneTest.kt422 val value = getCounterValue(counterBytes, c) in decodeCountersIntoMap()
430 private fun getCounterValue(data: ByteArray, counter: Counter): Long { in getCounterValue() method in android.net.apf.ApfStandaloneTest
DApfTestHelpers.kt80 val value = ApfCounterTracker.getCounterValue(counterBytes, c) in decodeCountersIntoMap()
DApfGeneratorTest.kt1875 assertEquals(0xff, ApfCounterTracker.getCounterValue(counterBytes, Counter.TOTAL_PACKETS)) in testGetCounterValue()