diff options
| author | 2018-05-18 17:10:07 -0700 | |
|---|---|---|
| committer | 2018-05-30 18:15:25 +0000 | |
| commit | bff0fb4ec05ebb26c396a52974813b056fa34d73 (patch) | |
| tree | e253a57b8f4a3dbc6afd4eecafb91bdc55705606 /libs/hwui/Program.cpp | |
| parent | 6ca9d3d97eeadd6b20da895c3659c5256ef5958f (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 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions