commit | a62125fd557d7e135fcf358cde58878e9b888432 | [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 | e6bc8317f94e8b6b52271055a3c1129638019b07 [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