summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2018-10-19 21:14:30 +0800
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-12-05 05:13:56 +0000
commit1b77796f9af633a5267807c7f4ccb2a9e646ecce (patch)
tree782efc4ad408e5554b95cf703051d83056e96ac4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent18ac0c6fc8ecfdb40b9cfe9e7567f490543f5d01 (diff)
Fix negative uid stats caused by 464xlat adjust when eBPF is on.
When using xt_qtaguid to count per uid stats, NetworkStatsService needs to adjust the 464xlat traffic since iptables module would double count for ipv4 and ipv6 packet. But for eBPF, the per uid stats is collected in a different hook, so the adjustment on root uid would only be needed in tx direction. Bug: 112226716 Test: 1. Make ipv4 traffic in ipv6-only network and check data usage. 2. Make ipv4 traffic in a client which connect to ipv6-only hotspot. 3. runtest frameworks-net 4. cts-tradefed run cts -m CtsNetTestCases -t \ android.net.cts.TrafficStatsTest 5. cts-tradefed run cts -m CtsUsageStatsTestCases Change-Id: Ic9a84f5446eddc943c255d5f3b89dad171f53cac Merged-In: Ic9a84f5446eddc943c255d5f3b89dad171f53cac (cherry picked from commit c33ac0d43b594f6154accf03ae7e3fd34dedc79d) (cherry picked from commit eda8aa1f46d3bccb089fb5e8feea07d7fe6867a0)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions