diff options
author | Jeff Sharkey <jsharkey@android.com> | 2011-06-19 20:55:09 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2011-06-19 21:58:39 -0700 |
commit | d03fd3f004e3ba8aaa1692ee0e92e8ae171d2a04 (patch) | |
tree | 42d6b181f92bf34836a10078ec987d7cec8b4bcc /graphics/java/android/renderscript/RenderScriptGL.java | |
parent | b09540f33a6cabe50edec0ef32d0b1d0b0d96fff (diff) |
Persist "tagged" network stats along with UIDs.
Now stores tags other than TAG_NONE (0x0), which are useful for app
debugging. Combine UID and tag together into single long key, and
expose tag data through AIDL when requested. Change NMS to track
TAG_NONE as total UID traffic, matching the kernel definition.
Added TAG_MAX_HISTORY to control how long tag-granularity statistics
are stored; overall UID usage is still kept for UID_MAX_HISTORY. Fix
bug to trim NetworkStatsHistory outside normal polling loops to catch
non-active networks and UIDs.
Test to verify UID and tag packing, and to verify that UID traffic on
two networks are combined to match MOBILE_ALL template.
Change-Id: If0e039416d9e7f63b1a39e04cddfb1133b5a78ee
Diffstat (limited to 'graphics/java/android/renderscript/RenderScriptGL.java')
0 files changed, 0 insertions, 0 deletions