diff options
author | 2022-01-26 22:39:07 +0800 | |
---|---|---|
committer | 2022-01-26 22:50:27 +0800 | |
commit | 8ef01816c2d2af7b48cac1348b74ff73372b81c9 (patch) | |
tree | 7e3ee17e017393daa2f95422be6049c0be1630bf /api/api.go | |
parent | 16c6cfd630e170ff2c8128a6a009d4f05c80cb2a (diff) |
Update UidCounterSetMap directly from NetworkStatsService
Currently NetworkStatsService call
NetworkManagementSocketTagger#setKernelCounterSet which would call into
netd to update UidCounterSet bpf map. This change let
NetworkStatsService get UidCounterSetMap and update it directly. After
this change, NetworkManagementSocketTagger#setKernelCounterSet could be
removed because NetworkStatsService is the only caller.
Test: dump UidCounterSetMap to ensure it still have value after removing
netd code.
Change-Id: I7ae14106ded4fa55122e93e76c3057052a2fa33e
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions