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
Loading
Please register or sign in to comment