Dan Egnor
71d780a711
Fix sim build (sim doesn't have strl*() reliably...)
...
Just stub out the TrafficStats code for the sim.
Bug: 2578938
Change-Id: Ie555f67f581d05ee446ea29cb2223feb350c52f9
2010-04-08 23:47:06 -07:00
Dan Egnor
eaeb70241c
Change TrafficStats to a new JNI implementation.
...
Also change phone's ConnectionStateTrackers to use it directly,
rather than through the INetStat binder interface.
Bug: 2578938
Change-Id: I8858e2609cbec3be845a0ce5178cb03f67e01b41
2010-04-07 19:06:29 -07:00
Ken Shirriff
c9b5476b73
API review: TrafficStats: rename Pkts to Packets
...
Rename getMobileTxPackets(), getMobileRxPackets(), getTotalTxPackets(),
getMobileRxPackets()
bug 2420318
2010-02-04 14:37:21 -08:00
Ken Shirriff
c640964e95
Migration to TrafficStats.
...
TrafficStats is the SDK version of NetStat.
2009-12-08 11:14:03 -08:00
Ken Shirriff
ae521152dd
Add TrafficStats class to SDK.
...
This class (a rename of NetStat) provides network byte and packet statistics.
NetStat will be removed separately, to avoid breaking other packages when submitting.
2009-12-08 10:50:25 -08:00
The Android Open Source Project
ac96dda631
auto import from //depot/cupcake/@135843
2009-03-03 19:31:44 -08:00
The Android Open Source Project
6145627639
auto import from //depot/cupcake/@135843
2009-03-03 18:28:45 -08:00
The Android Open Source Project
4bc9554dcc
auto import from //branches/cupcake/...@130745
2009-02-10 15:44:00 -08:00
The Android Open Source Project
cf7558648b
Initial Contribution
2008-10-21 07:00:00 -07:00