Loading api/current.xml +4 −4 Original line number Diff line number Diff line Loading @@ -86774,7 +86774,7 @@ visibility="public" > </method> <method name="getMobileRxPkts" <method name="getMobileRxPackets" return="long" abstract="false" native="false" Loading @@ -86796,7 +86796,7 @@ visibility="public" > </method> <method name="getMobileTxPkts" <method name="getMobileTxPackets" return="long" abstract="false" native="false" Loading @@ -86818,7 +86818,7 @@ visibility="public" > </method> <method name="getTotalRxPkts" <method name="getTotalRxPackets" return="long" abstract="false" native="false" Loading @@ -86840,7 +86840,7 @@ visibility="public" > </method> <method name="getTotalTxPkts" <method name="getTotalTxPackets" return="long" abstract="false" native="false" core/java/android/net/TrafficStats.java +4 −4 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ public class TrafficStats { * @return number of packets. If the statistics are not supported by this device, * {@link #UNSUPPORTED} will be returned. */ public static long getMobileTxPkts() { public static long getMobileTxPackets() { return getMobileStat(MOBILE_TX_PACKETS); } Loading @@ -64,7 +64,7 @@ public class TrafficStats { * @return number of packets. If the statistics are not supported by this device, * {@link #UNSUPPORTED} will be returned. */ public static long getMobileRxPkts() { public static long getMobileRxPackets() { return getMobileStat(MOBILE_RX_PACKETS); } Loading Loading @@ -94,7 +94,7 @@ public class TrafficStats { * @return the number of packets. If the statistics are not supported by this device, * {@link #UNSUPPORTED} will be returned. */ public static long getTotalTxPkts() { public static long getTotalTxPackets() { return getTotalStat("tx_packets"); } Loading @@ -104,7 +104,7 @@ public class TrafficStats { * @return number of packets. If the statistics are not supported by this device, * {@link #UNSUPPORTED} will be returned. */ public static long getTotalRxPkts() { public static long getTotalRxPackets() { return getTotalStat("rx_packets"); } Loading services/java/com/android/server/NetStatService.java +4 −4 Original line number Diff line number Diff line Loading @@ -27,11 +27,11 @@ public class NetStatService extends INetStatService.Stub { } public long getMobileTxPackets() { return TrafficStats.getMobileTxPkts(); return TrafficStats.getMobileTxPackets(); } public long getMobileRxPackets() { return TrafficStats.getMobileRxPkts(); return TrafficStats.getMobileRxPackets(); } public long getMobileTxBytes() { Loading @@ -43,11 +43,11 @@ public class NetStatService extends INetStatService.Stub { } public long getTotalTxPackets() { return TrafficStats.getTotalTxPkts(); return TrafficStats.getTotalTxPackets(); } public long getTotalRxPackets() { return TrafficStats.getTotalRxPkts(); return TrafficStats.getTotalRxPackets(); } public long getTotalTxBytes() { Loading Loading
api/current.xml +4 −4 Original line number Diff line number Diff line Loading @@ -86774,7 +86774,7 @@ visibility="public" > </method> <method name="getMobileRxPkts" <method name="getMobileRxPackets" return="long" abstract="false" native="false" Loading @@ -86796,7 +86796,7 @@ visibility="public" > </method> <method name="getMobileTxPkts" <method name="getMobileTxPackets" return="long" abstract="false" native="false" Loading @@ -86818,7 +86818,7 @@ visibility="public" > </method> <method name="getTotalRxPkts" <method name="getTotalRxPackets" return="long" abstract="false" native="false" Loading @@ -86840,7 +86840,7 @@ visibility="public" > </method> <method name="getTotalTxPkts" <method name="getTotalTxPackets" return="long" abstract="false" native="false"
core/java/android/net/TrafficStats.java +4 −4 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ public class TrafficStats { * @return number of packets. If the statistics are not supported by this device, * {@link #UNSUPPORTED} will be returned. */ public static long getMobileTxPkts() { public static long getMobileTxPackets() { return getMobileStat(MOBILE_TX_PACKETS); } Loading @@ -64,7 +64,7 @@ public class TrafficStats { * @return number of packets. If the statistics are not supported by this device, * {@link #UNSUPPORTED} will be returned. */ public static long getMobileRxPkts() { public static long getMobileRxPackets() { return getMobileStat(MOBILE_RX_PACKETS); } Loading Loading @@ -94,7 +94,7 @@ public class TrafficStats { * @return the number of packets. If the statistics are not supported by this device, * {@link #UNSUPPORTED} will be returned. */ public static long getTotalTxPkts() { public static long getTotalTxPackets() { return getTotalStat("tx_packets"); } Loading @@ -104,7 +104,7 @@ public class TrafficStats { * @return number of packets. If the statistics are not supported by this device, * {@link #UNSUPPORTED} will be returned. */ public static long getTotalRxPkts() { public static long getTotalRxPackets() { return getTotalStat("rx_packets"); } Loading
services/java/com/android/server/NetStatService.java +4 −4 Original line number Diff line number Diff line Loading @@ -27,11 +27,11 @@ public class NetStatService extends INetStatService.Stub { } public long getMobileTxPackets() { return TrafficStats.getMobileTxPkts(); return TrafficStats.getMobileTxPackets(); } public long getMobileRxPackets() { return TrafficStats.getMobileRxPkts(); return TrafficStats.getMobileRxPackets(); } public long getMobileTxBytes() { Loading @@ -43,11 +43,11 @@ public class NetStatService extends INetStatService.Stub { } public long getTotalTxPackets() { return TrafficStats.getTotalTxPkts(); return TrafficStats.getTotalTxPackets(); } public long getTotalRxPackets() { return TrafficStats.getTotalRxPkts(); return TrafficStats.getTotalRxPackets(); } public long getTotalTxBytes() { Loading