summaryrefslogtreecommitdiffstats
path: root/core/tests/coretests/res
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2011-07-19 23:47:12 -0700
committerJeff Sharkey <jsharkey@android.com>2011-07-29 22:24:01 -0700
commita63ba59260cd1bb3f5c16e395ace45a61f1d4461 (patch)
treef70f8270c45744686c1c6741f39340c0cb644dd3 /core/tests/coretests/res
parent1e833b31ee04c35b5a3494db1acb0068350d8391 (diff)
downloadframeworks_base-a63ba59260cd1bb3f5c16e395ace45a61f1d4461.zip
frameworks_base-a63ba59260cd1bb3f5c16e395ace45a61f1d4461.tar.gz
frameworks_base-a63ba59260cd1bb3f5c16e395ace45a61f1d4461.tar.bz2
Add operation counts to network statistics.
Provide API to increment "operation counts" for a UID and tag, used to eventually derive bytes/operation stats. Internally is stored at network layer, but should belong at data layer. Switch profiling to use data layer stats, which are emulated by summarizing network layer details. Read packet counts from new /proc/ columns and collect them into NetworkStatsHistory. Prevent double-counting by ignoring values from first snapshot. Watch for duplicate /proc/ entries. Update tests to verify packet and operation counters. Bug: 5052136, 5097392 Change-Id: I1832f65a2b8a9188f8088f253474a667c21a2f09
Diffstat (limited to 'core/tests/coretests/res')
-rw-r--r--core/tests/coretests/res/raw/history_v1bin0 -> 144 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/core/tests/coretests/res/raw/history_v1 b/core/tests/coretests/res/raw/history_v1
new file mode 100644
index 0000000..de79491
--- /dev/null
+++ b/core/tests/coretests/res/raw/history_v1
Binary files differ