History log of /frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/BandwidthTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ca76692417aad438f816a9a57059e9aea445f2d4 05-Nov-2013 Maxim Siniavine <siniavine@google.com> Fix BandwidthTest to report correct stats.

The test used to report report stats for a random uid. Fixed it to report
stats for the Instrumentation uid or download manager uid, depending on the test.

Change-Id: I089162c19e25cbf0dfb05645a9a1018dd7567423
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/BandwidthTest.java
a8c57bf6adf3bdd477ce4d6ed8cca031c66830cd 02-Feb-2012 Tsu Chiang Chuang <tsu@google.com> extending timeout to stabilize tests

Change-Id: I2e0a7ae35babdda18ade4f70d61b4c83c9d2c2d9
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/BandwidthTest.java
b3f2890a8af3a99be1b0d5fd5a40df656cb60598 15-Nov-2011 Tsu Chiang Chuang <tsu@google.com> am 047c4de2: Merge "Adding mobile microbenchmark tests." into ics-mr0

* commit '047c4de2c548960fff428a92099003593cede5f8':
Adding mobile microbenchmark tests.
212efacb848f13b1565ef434e331a69e930d8935 07-Nov-2011 Tsu Chiang Chuang <tsu@google.com> Adding mobile microbenchmark tests.

Change-Id: Ifcd67b0265045778965aeff8e213c3929da02c3d
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/BandwidthTest.java
287353a78eb7b3a9b092efa7cbc77f7cb350d0f1 10-Nov-2011 Tsu Chiang Chuang <tsu@google.com> Adding mobile microbenchmark tests.

Change-Id: Ifcd67b0265045778965aeff8e213c3929da02c3d
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/BandwidthTest.java
163e6443f27884a9bfcb9a48ef606dc635852c23 01-Nov-2011 Jeff Sharkey <jsharkey@android.com> Correct proc file reader, optimizations.

Moved away from BufferedReader, which only reads the first 8KB of
some proc files because it aggresively fills its buffer. Optimized
proc parsing, now double the speed. Tests to cover.

Log when NetworkStats counters roll backwards when subtracting, and
optimizations around findIndex(). When system removes UID, also
remove from last stats snapshot to avoid xt counters from rolling
backwards.

Bug: 5472949, 5458380
Change-Id: I07c08fe5233156fac2b84450f6291868bf9bfaf2
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/BandwidthTest.java
e888685bf6f443b7d69601796a7896240a7fc4ee 15-Sep-2011 Tsu Chiang Chuang <tsu@google.com> add upload capabilities to data test.

Change-Id: I8465e4b97ff7f48de1150193bcd2b520da1adf00
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/BandwidthTest.java
6951b1b421fc39b85b0d7010f9b0da291228ef8f 18-Aug-2011 Tsu Chiang Chuang <tsu@google.com> fix bandwidth microbenchmark tests.

Change-Id: I8e8fbfdaca629503061c3199b0a969137fa60e68
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/BandwidthTest.java
b5d55e302d2253e4bfb233ea705caf258cdc4cb9 11-Aug-2011 Jeff Sharkey <jsharkey@android.com> Foreground/background network stats using sets.

Teach NetworkStats about "counter sets" coming from kernel, and use
them to track usage in foreground/background. Add AID_NET_BW_ACCT to
system_server so it can control counter sets.

Move to composite key of NetworkIdentitySet, UID, set, and tag when
recording historical usage. Persisting still clusters by identity,
since that is heaviest object.

Request async stats poll during systemReady() to bootstrap later
delta calculations. Reset kernel counters when UID removed. Update
various tests.

Bug: 5105592, 5146067
Change-Id: Idabec9e3ffcaf212879821515602ecde0a03de8c
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/BandwidthTest.java
33f869951fde247927e66c3aa4ab86fc61f783ad 28-Jul-2011 Tsu Chiang Chuang <tsu@google.com> Bandwidth microbenchmark test app for ICS.

Change-Id: I6fed5c47818f0fe08b9f2c18f1070d3238a469b6
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/BandwidthTest.java