diff options
author | Chenbo Feng <fengc@google.com> | 2018-05-18 17:10:07 -0700 |
---|---|---|
committer | Chenbo Feng <fengc@google.com> | 2018-05-18 17:10:07 -0700 |
commit | 004998251ba1909870c6b2486187a8b94234404e (patch) | |
tree | 65f864a7cb63e59b115ece156bd4e3a062864d38 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 1b43af094e5de196566762ca07e6f4207dc1c289 (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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions