summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/6
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2011-08-03 17:04:22 -0700
committerJeff Sharkey <jsharkey@android.com>2011-08-03 17:21:07 -0700
commit63d27a9233fed934340231f438493746084a681d (patch)
tree921466d4cb779162a92683b9e5e740b713d2215b /docs/html/sdk/api_diff/6
parentb389bdfba291382f9b306dd0e1bf7ba42fd94a4a (diff)
Network stats with varint, omit parcel fields.
Persist NetworkStatsHistory using variable-length encoding; since most buckets have small numbers, we can encode them tighter. Initial test showed 44% space savings. Also persist packet and operation counters. Let NetworkStatsHistory consumers request which fields they actually need to reduce parcel overhead. Tests for verify varint and history field requests, also verify end- to-end by persisting history into byte[] and restoring. Expose bandwidth control enabled state. Extend random generation to create packet and operation counts. Moved operation counts to long. Fix bug that miscalculated bytes since last persist, which would cause partial stats loss when battery pulled. Bug: 4581977, 5023706, 5023635, 5096903 Change-Id: If61e89f681ffa11fe5711471fd9f7c238d3d37b0
Diffstat (limited to 'docs/html/sdk/api_diff/6')
0 files changed, 0 insertions, 0 deletions