diff options
author | Jeff Sharkey <jsharkey@android.com> | 2011-06-05 17:42:53 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2011-06-09 10:14:13 -0700 |
commit | 3f3913550c10792edb8aecf66cc83c3db5c8b311 (patch) | |
tree | 600831085e71b152bd00eceae85112fc4903a99f /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | f24ed1c27255b5003044efb1df53903d59f92b77 (diff) |
Persist network stats using AtomicFile.
Implements read/write of network stats using AtomicFile, along with
magic number and versioning. Stores in "/data/system/netstats.bin"
for now. Tests to verify that stats are persisted across a simulated
reboot, and to verify that TEMPLATE_WIFI is working.
Fixed bug where kernel counters rolling backwards would cause negative
stats to be recorded; now we clamp deltas at 0.
Change-Id: I53bce26fc8fd3f4ab1e34ce135d302edfa34db34
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions