summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorMike SU <suzh1@lenovo.com>2018-11-26 15:05:13 +0800
committerjunyulai <junyulai@google.com>2019-01-21 20:55:06 +0800
commit1f9ed0b81d89e9f8a29138da0465220ab8043f96 (patch)
tree6e84e734e0f3b741aef29eae079c3758c1c0e840 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent4c18eece3532213dabd3bf554236e0a199999cfa (diff)
fix getIfaceStats and getTotalStats bug
root cause: getIfaceStats and getTotalStats is directly reading iface_stat_fmt or eBPF, not include tether stats. solution: add tether stats to getIfaceStats and getTotalStats. Clean cherry-pick of aosp/848934 Bug: 120039819 Test case1: 1. tether offload is enabled on phone, enable MHS on phone. 2. Use test app to check getMobileRxBytes->getIfaceStats 3. Download 10M file on MHS client 4. Use test app to check getMobileRxBytes->getIfaceStats again result: getMobileRxBytes increased around 10M Test case2: 1. tether offload is disabled on phone, enable MHS on phone. repeat above step 2~4 result: getMobileRxBytes increased around 10M Following CTS cases passed run cts -m CtsNetTestCases --test android.net.cts.TrafficStatsTest run cts -m CtsUsageStatsTestCases --test android.app.usage.cts.NetworkUsageStatsTest Change-Id: I3d94acb71c142ec38b750e58822881ff383341cc
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions