/frameworks/base/core/jni/ |
android_net_TrafficStats.cpp | 53 uint64_t txPackets; 67 return stats->txPackets; 86 uint64_t rxBytes, rxPackets, txBytes, txPackets, tcpRxPackets, tcpTxPackets; 92 &rxPackets, &txBytes, &txPackets, &tcpRxPackets, &tcpTxPackets); 101 stats->txPackets += txPackets; 130 uint64_t tag, rxBytes, rxPackets, txBytes, txPackets; 135 &txPackets) == 9) { 140 stats->txPackets += txPackets; [all...] |
com_android_internal_net_NetworkStatsFactory.cpp | 48 jfieldID txPackets; 61 int64_t txPackets; 85 &s.txBytes, &s.txPackets) == 9) { 117 ScopedLongArrayRW txPackets(env, env->NewLongArray(size)); 118 if (txPackets.get() == NULL) return -1; 132 txPackets[i] = lines[i].txPackets; 143 env->SetObjectField(stats, gNetworkStatsClassInfo.txPackets, txPackets.getJavaArray()); 181 gNetworkStatsClassInfo.txPackets = env->GetFieldID(clazz, "txPackets", "[J") [all...] |
/frameworks/base/core/java/android/net/ |
NetworkStats.java | 71 private long[] txPackets; 82 public long txPackets; 89 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { 90 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 95 long txBytes, long txPackets, long operations) { 103 this.txPackets = txPackets; 108 return rxBytes < 0 || rxPackets < 0 || txBytes < 0 || txPackets < 0 || operations < 0; 112 return rxBytes == 0 && rxPackets == 0 && txBytes == 0 && txPackets == 0 120 this.txPackets += another.txPackets [all...] |
NetworkStatsHistory.java | 77 private long[] txPackets; 90 public long txPackets; 109 if ((fields & FIELD_TX_PACKETS) != 0) txPackets = new long[initialSize]; 127 txPackets = readLongArray(in); 141 writeLongArray(out, txPackets, bucketCount); 155 txPackets = new long[bucketStart.length]; 170 txPackets = readVarLongArray(in); 183 || txPackets.length != bucketCount || operations.length != bucketCount) { 196 writeVarLongArray(out, txPackets, bucketCount); 275 entry.txPackets = getLong(txPackets, i, UNKNOWN) [all...] |
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/ |
DataIdleTest.java | 98 long txPackets = 0; 111 txPackets += statsEntry.txPackets; 117 result.putLong("Total tx Packets", txPackets);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsCollectionTest.java | 173 NetworkTemplate template, long rxBytes, long rxPackets, long txBytes, long txPackets) { 176 assertEntry(entry, rxBytes, rxPackets, txBytes, txPackets); 180 NetworkTemplate template, long rxBytes, long rxPackets, long txBytes, long txPackets) { 183 assertEntry(entry, rxBytes, rxPackets, txBytes, txPackets); 187 NetworkStats.Entry entry, long rxBytes, long rxPackets, long txBytes, long txPackets) { 191 assertEquals("unexpected txPackets", txPackets, entry.txPackets);
|
/system/netd/ |
BandwidthController.h | 29 txBytes(-1), txPackets(-1) {}; 35 txBytes(txB), txPackets(txP) {}; 39 int64_t txBytes, txPackets;
|
BandwidthController.cpp | 1022 stats.txPackets = packets; 1034 rxBytes, rxPackets, txBytes, txPackets); [all...] |
/frameworks/base/core/java/com/android/internal/net/ |
NetworkStatsFactory.java | 96 entry.txPackets = reader.nextLong(); 103 entry.txPackets += reader.nextLong(); 151 entry.txPackets = reader.nextLong(); 223 entry.txPackets = reader.nextLong();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkStatsServiceTest.java | [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
NetworkStatsFactoryTest.java | 166 int tag, long rxBytes, long rxPackets, long txBytes, long txPackets) { 172 assertEquals("unexpected txPackets", txPackets, entry.txPackets);
|
/frameworks/base/core/tests/coretests/src/android/net/ |
NetworkStatsHistoryTest.java | 323 entry.txPackets = nextPositiveLong(r); 494 long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { 500 assertEquals("unexpected txPackets", txPackets, entry.txPackets); 505 long rxPackets, long txBytes, long txPackets, long operations) { 507 txPackets, operations); 511 long activeTime, long rxBytes, long rxPackets, long txBytes, long txPackets, 518 assertEquals("unexpected txPackets", txPackets, entry.txPackets) [all...] |
NetworkStatsTest.java | 314 int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { 317 assertValues(entry, rxBytes, rxPackets, txBytes, txPackets, operations); 329 long txBytes, long txPackets, long operations) { 333 assertEquals(txPackets, entry.txPackets);
|
/frameworks/base/core/tests/utillib/src/android/test/ |
BandwidthTestCase.java | 34 private static final String REPORT_KEY_PACKETS_SENT = "txPackets"; 152 bundle.putLong(REPORT_KEY_PACKETS_SENT, entry.txPackets);
|
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsService.java | [all...] |
NetworkStatsCollection.java | 186 entry.txPackets = historyEntry.txPackets;
|
/packages/apps/Settings/src/com/android/settings/ |
RadioInfo.java | 676 long txPackets = TrafficStats.getMobileTxPackets(); 684 sent.setText(txPackets + " " + packets + ", " + txBytes + " " + bytes); [all...] |
/frameworks/base/services/java/com/android/server/ |
NetworkManagementService.java | [all...] |
/prebuilts/devtools/tools/lib/ |
ddmuilib.jar | |