/frameworks/base/core/jni/ |
android_net_TrafficStats.cpp | 52 uint64_t txBytes; 65 return stats->txBytes; 86 uint64_t rxBytes, rxPackets, txBytes, txPackets, tcpRxPackets, tcpTxPackets; 92 &rxPackets, &txBytes, &txPackets, &tcpRxPackets, &tcpTxPackets); 100 stats->txBytes += txBytes; 130 uint64_t tag, rxBytes, rxPackets, txBytes, txPackets; 134 iface, &tag, &cur_uid, &set, &rxBytes, &rxPackets, &txBytes, 139 stats->txBytes += txBytes; [all...] |
com_android_internal_net_NetworkStatsFactory.cpp | 47 jfieldID txBytes; 60 int64_t txBytes; 85 &s.txBytes, &s.txPackets) == 9) { 115 ScopedLongArrayRW txBytes(env, env->NewLongArray(size)); 116 if (txBytes.get() == NULL) return -1; 131 txBytes[i] = lines[i].txBytes; 142 env->SetObjectField(stats, gNetworkStatsClassInfo.txBytes, txBytes.getJavaArray()); 180 gNetworkStatsClassInfo.txBytes = env->GetFieldID(clazz, "txBytes", "[J") [all...] |
/frameworks/base/core/java/android/net/ |
NetworkStats.java | 70 private long[] txBytes; 81 public long txBytes; 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) { 102 this.txBytes = txBytes; 108 return rxBytes < 0 || rxPackets < 0 || txBytes < 0 || txPackets < 0 || operations < 0; 112 return rxBytes == 0 && rxPackets == 0 && txBytes == 0 && txPackets == 0 119 this.txBytes += another.txBytes [all...] |
NetworkStatsHistory.java | 76 private long[] txBytes; 89 public long txBytes; 108 if ((fields & FIELD_TX_BYTES) != 0) txBytes = new long[initialSize]; 126 txBytes = readLongArray(in); 140 writeLongArray(out, txBytes, bucketCount); 154 txBytes = readFullLongArray(in); 158 totalBytes = total(rxBytes) + total(txBytes); 169 txBytes = readVarLongArray(in); 173 totalBytes = total(rxBytes) + total(txBytes); 182 || rxPackets.length != bucketCount || txBytes.length != bucketCoun [all...] |
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/ |
DataIdleTest.java | 96 long txBytes = 0; 107 result.putLong(String.format(labelTemplate, "txBytes"), statsEntry.txBytes); 112 txBytes += statsEntry.txBytes; 115 result.putLong("Total tx Bytes", txBytes);
|
/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) { 190 assertEquals("unexpected txBytes", txBytes, entry.txBytes);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
NetworkStatsFactoryTest.java | 158 int tag, long rxBytes, long txBytes) { 162 assertEquals("unexpected txBytes", txBytes, entry.txBytes); 166 int tag, long rxBytes, long rxPackets, long txBytes, long txPackets) { 171 assertEquals("unexpected txBytes", txBytes, entry.txBytes);
|
/system/netd/ |
BandwidthController.h | 29 txBytes(-1), txPackets(-1) {}; 35 txBytes(txB), txPackets(txP) {}; 39 int64_t txBytes, txPackets;
|
BandwidthController.cpp | 1023 stats.txBytes = bytes; 1027 return (stats.rxBytes == -1 || stats.txBytes == -1) ? -1 : 0; 1034 rxBytes, rxPackets, txBytes, txPackets); 1044 if (stats.rxBytes != -1 || stats.txBytes != -1) { [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
NetworkStatsHistoryTest.java | 76 assertEquals(6223L, entry.txBytes); 80 assertEquals(838L, entry.txBytes); 84 assertEquals(64314L, entry.txBytes); 322 entry.txBytes = nextPositiveLong(r); 480 NetworkStatsHistory stats, int index, long rxBytes, long txBytes) { 483 assertEquals("unexpected txBytes", txBytes, entry.txBytes); 487 NetworkStatsHistory stats, long start, long end, long rxBytes, long txBytes) { 490 assertEquals("unexpected txBytes", txBytes, entry.txBytes) [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) { 332 assertEquals(txBytes, entry.txBytes);
|
/frameworks/base/core/java/com/android/internal/net/ |
NetworkStatsFactory.java | 95 entry.txBytes = reader.nextLong(); 102 entry.txBytes += reader.nextLong(); 150 entry.txBytes = reader.nextLong(); 222 entry.txBytes = reader.nextLong();
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
BandwidthTest.java | 325 mapEntry.txBytes = statsEntry.txBytes; 330 mapEntry.txBytes += statsEntry.txBytes; 342 results.putLong(label + "tx", entry.txBytes);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkStatsServiceTest.java | [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartNetworkSeriesView.java | 216 totalData += entry.rxBytes + entry.txBytes; 266 final long longWindow = (entry.rxBytes + entry.txBytes) * bucketDuration 276 final long shortWindow = (entry.rxBytes + entry.txBytes) * bucketDuration 311 return entry.rxBytes + entry.txBytes;
|
/frameworks/base/core/tests/utillib/src/android/test/ |
BandwidthTestCase.java | 36 private static final String REPORT_KEY_BYTES_SENT = "txBytes"; 150 bundle.putLong(REPORT_KEY_BYTES_SENT, entry.txBytes);
|
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsCollection.java | 185 entry.txBytes = historyEntry.txBytes; 205 noteRecordedHistory(history.getStart(), history.getEnd(), entry.rxBytes + entry.txBytes);
|
NetworkStatsService.java | [all...] |
/packages/apps/Settings/src/com/android/settings/ |
RadioInfo.java | 678 long txBytes = TrafficStats.getMobileTxBytes(); 684 sent.setText(txPackets + " " + packets + ", " + txBytes + " " + bytes); [all...] |
DataUsageSummary.java | [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | [all...] |
/frameworks/base/services/java/com/android/server/ |
NetworkManagementService.java | [all...] |
/prebuilts/devtools/tools/lib/ |
ddmuilib.jar | |