auto import from //branches/cupcake/...@130745

This commit is contained in:
The Android Open Source Project
2009-02-10 15:44:00 -08:00
parent f1e484acb5
commit d24b8183b9
849 changed files with 43524 additions and 19127 deletions

View File

@@ -26,20 +26,35 @@ public class NetStatService extends INetStatService.Stub {
}
public int getTxPackets() {
return NetStat.netStatGetTxPkts();
public long getMobileTxPackets() {
return NetStat.getMobileTxPkts();
}
public int getRxPackets() {
return NetStat.netStatGetRxPkts();
public long getMobileRxPackets() {
return NetStat.getMobileRxPkts();
}
public int getTxBytes() {
return NetStat.netStatGetTxBytes();
public long getMobileTxBytes() {
return NetStat.getMobileTxBytes();
}
public int getRxBytes() {
return NetStat.netStatGetRxBytes();
public long getMobileRxBytes() {
return NetStat.getMobileRxBytes();
}
public long getTotalTxPackets() {
return NetStat.getTotalTxPkts();
}
public long getTotalRxPackets() {
return NetStat.getTotalRxPkts();
}
public long getTotalTxBytes() {
return NetStat.getTotalTxBytes();
}
public long getTotalRxBytes() {
return NetStat.getTotalRxBytes();
}
}