diff options
author | junyulai <junyulai@google.com> | 2020-10-06 11:59:56 +0800 |
---|---|---|
committer | junyulai <junyulai@google.com> | 2020-11-12 14:22:31 +0800 |
commit | e5d0585e2c238339a794df01ab7abf4ee14506b5 (patch) | |
tree | 72850a7a867a8e14378ddfeef53f740ba11f7f19 /rs/java/android/renderscript/RenderScriptCacheDir.java | |
parent | f917b8b786c98b618b76399fb2d078317c74f9dd (diff) |
Return offloaded traffic when querying from TrafficStats API
TrafficStats API are being used for querying realtime network
statistics for years. However, on certain devices, some network
traffic are produced by hardware components and not be
able to seen by kernel counters.
Thus, include statistics for those missing network traffic is
necessary. Note that the included statistics might be stale
since polling newest stats from hardware might impact system
health and not suitable for TrafficStats API use cases.
Test: atest FrameworksNetTests TetheringTests
Bug: 16229221
Change-Id: I6741c41cb5145ca8748f9b083b9c15e7e2735681
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions