summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorKen Shirriff <kens@google.com>2009-12-07 15:56:05 -0800
committerKen Shirriff <kens@google.com>2009-12-08 10:50:25 -0800
commitf7d0b01387c10f93bf17981d45087810c80f0902 (patch)
tree5f0b629fba5b86531092731235f8f619f891ea86 /api
parent7c55c3f5f5997ca572d70ad513099a5af20a23c1 (diff)
downloadframeworks_base-f7d0b01387c10f93bf17981d45087810c80f0902.zip
frameworks_base-f7d0b01387c10f93bf17981d45087810c80f0902.tar.gz
frameworks_base-f7d0b01387c10f93bf17981d45087810c80f0902.tar.bz2
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.
Diffstat (limited to 'api')
-rw-r--r--api/current.xml142
1 files changed, 142 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml
index 41714ef..6753c4a 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -83994,6 +83994,148 @@
>
</method>
</class>
+<class name="TrafficStats"
+ extends="java.lang.Object"
+ abstract="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<constructor name="TrafficStats"
+ type="android.net.TrafficStats"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</constructor>
+<method name="getMobileRxBytes"
+ return="long"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="true"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
+<method name="getMobileRxPkts"
+ return="long"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="true"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
+<method name="getMobileTxBytes"
+ return="long"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="true"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
+<method name="getMobileTxPkts"
+ return="long"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="true"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
+<method name="getTotalRxBytes"
+ return="long"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="true"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
+<method name="getTotalRxPkts"
+ return="long"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="true"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
+<method name="getTotalTxBytes"
+ return="long"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="true"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
+<method name="getTotalTxPkts"
+ return="long"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="true"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
+<method name="getUidRxBytes"
+ return="long"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="true"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<parameter name="uid" type="int">
+</parameter>
+</method>
+<method name="getUidTxBytes"
+ return="long"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="true"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<parameter name="uid" type="int">
+</parameter>
+</method>
+<field name="UNSUPPORTED"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="-1"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
+</class>
<class name="Uri"
extends="java.lang.Object"
abstract="true"