diff options
author | Bernie Innocenti <codewiz@google.com> | 2018-04-24 01:25:42 +0900 |
---|---|---|
committer | Bernie Innocenti <codewiz@google.com> | 2018-04-27 23:30:23 +0900 |
commit | 3cc40ea6c50c976dd4e6485574a8be899867f610 (patch) | |
tree | bdca949cbd7c67ee3ccb204f3361514f93892bf4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7bb2e9383d7a4c7a37bf49b7653be4547329d44b (diff) |
apf: Add counters for dropped / passed packets
ApfFilter maintains separate counters for each reason why a packet was
passed or dropped by the filter logic.
There's also a total which should match the individual counters,
*unless* the APF interpreter aborted execution early due to an illegal
instruction or an out-of-bounds access.
Test: both on APFv2 and APFv4-capable device:
runtest -x tests/net/java/android/net/ip/IpClientTest.java
runtest -x tests/net/java/android/net/apf/ApfTest.java
manual tests connected to an AP
Bug: 73804303
Change-Id: I54b17fcbb95dfaea5db975d282314ce73d79d6ec
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions