commit | bbaddec5d79b2f19249149ab19f984855c71c0a2 | [log] [tgz] |
---|---|---|
author | junyulai <junyulai@google.com> | Mon Oct 29 22:26:22 2018 +0800 |
committer | junyulai <junyulai@google.com> | Thu Dec 06 19:01:17 2018 +0900 |
tree | f95092f9a6e9dc46863b9812e2c9a06929871804 | |
parent | c6fcedd7790fd703f3b49de5bd54abe50812c99d [diff] |
Refactoring of deleting stats in NetworkStats based on uids. In follow-up commits, current API would create new NetworkStats every time when 464xlatAdjustment wants to filtered out some uids. This commit refactors it to delete stats in-place to get better performance. Bug: 118602783 Test: atest FrameworksNetTests Change-Id: I858f95d1fa7733111786243b4e261ce8a70a068d