summaryrefslogtreecommitdiffstats
path: root/core/jni/android_net_TrafficStats.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move TrafficStats iface counters to xt_qtaguid.Jeff Sharkey2012-04-121-119/+79
| | | | | | | | | | | | | | | | Use xt_qtaguid iface_stat_all counters, which are monotonic during a single boot. Track all ifaces associated with mobile networks since boot, and move TrafficStats to using these ifaces. This will include usage of networks omitted from config_data_usage_network_types, specifically on devices that recycle network interfaces across APNs. Split wildcard template matching, and move NetworkStatsService to use mobile wildcard when logging stats. Bug: 5324515 Change-Id: I2211c374c05d1b598cc647f2f873630538955ffe
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-3/+3
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* Add cdma_rmnet4 to list of monitored interfacesRobert Greenwalt2011-11-011-0/+1
| | | | | | | | Lets the data traffic arrows work on LTE device on 1x, but also lets telephony monitor for hung radios on 1X. bug:5531630 Change-Id: I9fa25a5223afaa2e37373668c899ac28a95783fa
* Remove some #ifdef HAVE_ANDROID_OS that were needed for the simulator buildMike Lockwood2011-07-131-8/+0
| | | | | Change-Id: I13d9f251f86c05ae5405f37adbf6b8e9660935ba Signed-off-by: Mike Lockwood <lockwood@android.com>
* resolved conflicts for merge of 99cd6671 to masterWink Saville2011-07-121-16/+33
|\ | | | | | | Change-Id: I81ac18b1b8291a96bdfa3386f2fe3633fd7eeb79
| * Concurrent multi-PDP support in TrafficStatsKazuhiro Ondo2011-07-101-17/+34
| | | | | | | | | | | | | | | | Quick fix to enable concurrent multiple PDP support in TrafficStats. Just updated the list of hard-coded mobile interfaces for now. Bug: 4553527 Change-Id: I44ce73f3000542d6457f353bb561a2275684af6b
* | More native code cleanup.Elliott Hughes2011-04-131-6/+8
|/ | | | | | | Use ScopedUtfChars (fixes a leak in TrafficStats, and fixes a crash in Wifi in a case where GetStringChars could have been called with a pending exception). Change-Id: I3465ff392b4038dfdafa6af80ec1314cc6d6a11c
* data activity reporting on wifiIrfan Sheriff2011-02-171-0/+31
| | | | | | | | Initial checkin, need icons to complete the feature Bug: 3412258 Change-Id: I9a3ecc8159cc314d84707065dafe23d402409a84
* TrafficStats: Include UDP stats and packet count to APIAshish Sharma2011-01-271-6/+151
| | | | | Change-Id: I70063e6033d3c181bcc5b9e401f9474900e25281 Signed-off-by: Ashish Sharma <ashishsharma@google.com>
* Fix sim build (sim doesn't have strl*() reliably...)Dan Egnor2010-04-081-0/+8
| | | | | | | Just stub out the TrafficStats code for the sim. Bug: 2578938 Change-Id: Ie555f67f581d05ee446ea29cb2223feb350c52f9
* Change TrafficStats to a new JNI implementation.Dan Egnor2010-04-071-0/+165
Also change phone's ConnectionStateTrackers to use it directly, rather than through the INetStat binder interface. Bug: 2578938 Change-Id: I8858e2609cbec3be845a0ce5178cb03f67e01b41