commit | 19862bf5d058b6ab0c2979e7a5e0297dae6b170b | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Jun 02 17:38:22 2011 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Tue Jun 07 23:54:28 2011 -0700 |
tree | 9a7c9f07a90ebfac513267b7af45708c14eb1ff2 | |
parent | 61ee0bbb5b87fb5c4c3dc219868d52743def3d2b [diff] |
Compute range-based usage in NetworkStatsHistory. When given a start/end range, interpolate between buckets to return the total network usage. Used to summarize detailed UID stats. Method to combine NetworkStatsHistory regardless of bucket size. Used to combine all histories matching a template. Added tests for both methods. Change-Id: Ia463910c0ecf7cf08dcf97c658ad99742bd6b882