HomeSort by relevance Sort by last modified time
    Searched refs:txBytes (Results 1 - 18 of 18) sorted by null

  /frameworks/base/core/java/android/net/
NetworkStats.java 69 private long[] txBytes;
80 public long txBytes;
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) {
101 this.txBytes = txBytes;
115 builder.append(" txBytes=").append(txBytes);
131 this.txBytes = new long[initialSize]
    [all...]
NetworkStatsHistory.java 74 private long[] txBytes;
86 public long txBytes;
105 if ((fields & FIELD_TX_BYTES) != 0) txBytes = new long[initialSize];
117 txBytes = readLongArray(in);
130 writeLongArray(out, txBytes, bucketCount);
143 txBytes = readFullLongArray(in);
157 txBytes = readVarLongArray(in);
176 writeVarLongArray(out, txBytes, bucketCount);
248 entry.txBytes = getLong(txBytes, i, UNKNOWN)
    [all...]
  /frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
DataIdleTest.java 91 long txBytes = 0;
102 result.putLong(String.format(labelTemplate, "txBytes"), statsEntry.txBytes);
107 txBytes += statsEntry.txBytes;
110 result.putLong("Total tx Bytes", txBytes);
  /system/netd/
BandwidthController.h 29 txBytes(-1), txPackets(-1) {};
35 txBytes(txB), txPackets(txP) {};
39 int64_t txBytes, txPackets;
BandwidthController.cpp 950 stats.txBytes = bytes;
954 return (stats.rxBytes == -1 || stats.txBytes == -1) ? -1 : 0;
961 rxBytes, rxPackets, txBytes, txPackets);
971 if (stats.rxBytes != -1 || stats.txBytes != -1) {
  /frameworks/base/core/tests/coretests/src/com/android/internal/net/
NetworkStatsFactoryTest.java 200 int tag, long rxBytes, long txBytes) {
204 assertEquals("unexpected txBytes", txBytes, entry.txBytes);
208 int tag, long rxBytes, long rxPackets, long txBytes, long txPackets) {
213 assertEquals("unexpected txBytes", txBytes, entry.txBytes);
  /frameworks/base/core/tests/coretests/src/android/net/
NetworkStatsHistoryTest.java 78 assertEquals(6223L, entry.txBytes);
82 assertEquals(838L, entry.txBytes);
86 assertEquals(64314L, entry.txBytes);
320 entry.txBytes = nextPositiveLong(r);
478 NetworkStatsHistory stats, int index, long rxBytes, long txBytes) {
481 assertEquals("unexpected txBytes", txBytes, entry.txBytes);
485 NetworkStatsHistory stats, long start, long end, long rxBytes, long txBytes) {
488 assertEquals("unexpected txBytes", txBytes, entry.txBytes)
    [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) {
279 assertEquals(txBytes, entry.txBytes);
  /frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
BandwidthTest.java 251 mapEntry.txBytes = statsEntry.txBytes;
256 mapEntry.txBytes += statsEntry.txBytes;
268 results.putLong(label + "tx", entry.txBytes);
  /packages/apps/Settings/src/com/android/settings/widget/
ChartNetworkSeriesView.java 214 totalData += entry.rxBytes + entry.txBytes;
263 final long longWindow = (entry.rxBytes + entry.txBytes) * bucketDuration
273 final long shortWindow = (entry.rxBytes + entry.txBytes) * bucketDuration
307 return entry.rxBytes + entry.txBytes;
  /frameworks/base/core/java/com/android/internal/net/
NetworkStatsFactory.java 134 entry.txBytes = getParsedLong(parsed, KEY_SNAP_TX_BYTES);
142 entry.txBytes += getParsedLong(parsed, KEY_TX_BYTES);
191 entry.txBytes = readSingleLongFromFile(new File(ifacePath, "tx_bytes"));
219 entry.txBytes = Long.parseLong(values.get(9));
301 entry.txBytes = getParsedLong(parsed, KEY_TX_BYTES);
  /frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkStatsServiceTest.java 754 long txBytes, long txPackets, int operations) {
756 assertValues(history, Long.MIN_VALUE, Long.MAX_VALUE, rxBytes, rxPackets, txBytes,
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) {
769 assertValues(history, Long.MIN_VALUE, Long.MAX_VALUE, rxBytes, rxPackets, txBytes,
    [all...]
  /frameworks/base/services/java/com/android/server/net/
NetworkStatsService.java 459 entry.txBytes = historyEntry.txBytes;
499 entry.txBytes = historyEntry.txBytes;
503 if (entry.rxBytes > 0 || entry.rxPackets > 0 || entry.txBytes > 0
    [all...]
  /packages/apps/Settings/src/com/android/settings/
RadioInfo.java 639 long txBytes = TrafficStats.getMobileTxBytes();
645 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/
ThrottleService.java 521 incWrite = entry.txBytes - mLastWrite;
    [all...]
NetworkManagementService.java     [all...]

Completed in 959 milliseconds