diff options
author | junyulai <junyulai@google.com> | 2020-04-02 18:36:24 +0000 |
---|---|---|
committer | Junyu Lai <junyulai@google.com> | 2020-04-06 02:18:50 +0000 |
commit | dba7d0ae89c5cc635b9c7f88b9985b230384f037 (patch) | |
tree | 838dbe782e4e79d05aa20655db71cb934f95f1a0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e56cb5c0fb583b9587146a2af5b02225145c2bd4 (diff) |
[SP26.2] add a method in NetworkStats that removes empty entries
In current design, entries with zeros are preserved after
addition/subtraction. These entries are not very useful
and lead to difficulty of verifying the result of
addition/subtraction.
However, change the behavior in the original NetworkStats
is considered risky in current stage.
Thus, this change provide a function that could remove these
empty entries in tests.
Test: atest FrameworksNetTests
Bug: 152827872
Bug: 150644692
Change-Id: I40a76935d55712b8083ee1e17e137a8a4ef5e029
Merged-In: I40a76935d55712b8083ee1e17e137a8a4ef5e029
(cherry picked from commit 6c7bef3064dbe949b7b213036b8e70c125ddd343)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions