summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChenbo Feng <fengc@google.com>2018-05-18 17:10:07 -0700
committerChenbo Feng <fengc@google.com>2018-05-30 18:15:25 +0000
commitbff0fb4ec05ebb26c396a52974813b056fa34d73 (patch)
treee253a57b8f4a3dbc6afd4eecafb91bdc55705606 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6ca9d3d97eeadd6b20da895c3659c5256ef5958f (diff)
Check for bpf support at NetworkStatsService start
The current implementation check for bpf map existance whenever a NetworkStats request comes in. The check is not efficient and may require additional permission for threads. So a member variable is added to NetworkStatsService to store the bpf configuration status and is initialized when NetworkStatsService start. Test: -m CtsNetTestCases -t android.net.cts.TrafficStatsTest -m CtsUsageStatsTestCases -t android.app.usage.cts.NetworkUsageStatsTest Bug: 79994577 Change-Id: I872ae18fb3e9631a4e6c4d773fefbba32e60a03b Merged-In: I872ae18fb3e9631a4e6c4d773fefbba32e60a03b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions