/frameworks/base/core/java/android/net/ |
NetworkStats.java | 70 private long[] txPackets; 81 public long txPackets; 88 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { 89 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 94 long txBytes, long txPackets, long operations) { 102 this.txPackets = txPackets; 116 builder.append(" txPackets=").append(txPackets); 132 this.txPackets = new long[initialSize] [all...] |
NetworkStatsHistory.java | 75 private long[] txPackets; 87 public long txPackets; 106 if ((fields & FIELD_TX_PACKETS) != 0) txPackets = new long[initialSize]; 118 txPackets = readLongArray(in); 131 writeLongArray(out, txPackets, bucketCount); 144 txPackets = new long[bucketStart.length]; 158 txPackets = readVarLongArray(in); 177 writeVarLongArray(out, txPackets, bucketCount); 249 entry.txPackets = getLong(txPackets, i, UNKNOWN) [all...] |
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/ |
DataIdleTest.java | 93 long txPackets = 0; 106 txPackets += statsEntry.txPackets; 112 result.putLong("Total tx Packets", txPackets);
|
/system/netd/ |
BandwidthController.h | 29 txBytes(-1), txPackets(-1) {}; 35 txBytes(txB), txPackets(txP) {}; 39 int64_t txBytes, txPackets;
|
BandwidthController.cpp | 949 stats.txPackets = packets; 961 rxBytes, rxPackets, txBytes, txPackets);
|
/frameworks/base/core/java/com/android/internal/net/ |
NetworkStatsFactory.java | 135 entry.txPackets = getParsedLong(parsed, KEY_SNAP_TX_PACKETS); 143 entry.txPackets += getParsedLong(parsed, KEY_TX_PACKETS); 192 entry.txPackets = readSingleLongFromFile(new File(ifacePath, "tx_packets")); 220 entry.txPackets = Long.parseLong(values.get(10)); 302 entry.txPackets = getParsedLong(parsed, KEY_TX_PACKETS);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
NetworkStatsFactoryTest.java | 208 int tag, long rxBytes, long rxPackets, long txBytes, long txPackets) { 214 assertEquals("unexpected txPackets", txPackets, entry.txPackets);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkStatsServiceTest.java | 754 long txBytes, long txPackets, int operations) { 757 txPackets, operations); 761 long txBytes, long txPackets, int operations) { 762 assertUidTotal(template, uid, SET_ALL, rxBytes, rxPackets, txBytes, txPackets, operations); 766 long rxPackets, long txBytes, long txPackets, int operations) { 770 txPackets, operations); [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
NetworkStatsHistoryTest.java | 321 entry.txPackets = nextPositiveLong(r); 492 long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { 498 assertEquals("unexpected txPackets", txPackets, entry.txPackets); 503 long rxPackets, long txBytes, long txPackets, long operations) { 505 txPackets, operations); 509 long activeTime, long rxBytes, long rxPackets, long txBytes, long txPackets, 516 assertEquals("unexpected txPackets", txPackets, entry.txPackets) [all...] |
NetworkStatsTest.java | 261 int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { 264 assertValues(entry, rxBytes, rxPackets, txBytes, txPackets, operations); 276 long txBytes, long txPackets, long operations) { 280 assertEquals(txPackets, entry.txPackets);
|
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsService.java | 460 entry.txPackets = historyEntry.txPackets; 500 entry.txPackets = historyEntry.txPackets; 504 || entry.txPackets > 0 || entry.operations > 0) { [all...] |
/packages/apps/Settings/src/com/android/settings/ |
RadioInfo.java | 637 long txPackets = TrafficStats.getMobileTxPackets(); 645 sent.setText(txPackets + " " + packets + ", " + txBytes + " " + bytes); [all...] |
/frameworks/base/services/java/com/android/server/ |
NetworkManagementService.java | [all...] |