commit | 85c0fd7969d1ed6f9487cb7fcc2ba36fcb5ccafe | [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 | 520f68f5cde40018a61b22e95c7c0779dde91952 | |
parent | 589964bdb54288bdb477111c038dec1f2daa8f27 [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