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

1 2 3

  /tools/loganalysis/src/com/android/loganalysis/item/
QtaguidItem.java 43 public int txBytes = 0;
101 * @param txBytes the number of sent bytes
103 public void addRow(int uid, int rxBytes, int txBytes) {
106 row.txBytes = txBytes;
112 * It adds rxBytes and txBytes to the previously added row.
117 * @param txBytes the number of sent bytes
120 public void updateRow(int uid, int rxBytes, int txBytes) {
127 row.txBytes += txBytes;
    [all...]
  /tools/loganalysis/src/com/android/loganalysis/parser/
QtaguidParser.java 51 int txBytes = Integer.parseInt(columns[7]);
54 item.updateRow(uid, rxBytes, txBytes);
56 item.addRow(uid, rxBytes, txBytes);
  /frameworks/base/core/java/android/net/
NetworkStatsHistory.java 84 private long[] txBytes;
97 public long txBytes;
116 if ((fields & FIELD_TX_BYTES) != 0) txBytes = new long[initialSize];
134 txBytes = readLongArray(in);
148 writeLongArray(out, txBytes, bucketCount);
162 txBytes = readFullLongArray(in);
166 totalBytes = total(rxBytes) + total(txBytes);
177 txBytes = readVarLongArray(in);
181 totalBytes = total(rxBytes) + total(txBytes);
190 || rxPackets.length != bucketCount || txBytes.length != bucketCoun
    [all...]
NetworkStats.java 124 private long[] txBytes;
153 public long txBytes;
161 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) {
162 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets,
167 long txBytes, long txPackets, long operations) {
169 rxBytes, rxPackets, txBytes, txPackets, operations);
173 int defaultNetwork, long rxBytes, long rxPackets, long txBytes, long txPackets,
184 this.txBytes = txBytes;
190 return rxBytes < 0 || rxPackets < 0 || txBytes < 0 || txPackets < 0 || operations < 0
    [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/core/jni/
com_android_server_net_NetworkStatsService.cpp 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;
137 &txBytes, &txPackets) == 9) {
141 stats->txBytes += txBytes;
  /frameworks/base/core/tests/benchmarks/src/android/net/
NetworkStatsBenchmark.java 43 recycle.txBytes = 150000;
57 recycle.txBytes = 180000 * mSize;
  /frameworks/base/services/core/java/com/android/server/connectivity/tethering/
OffloadHardwareInterface.java 72 public long txBytes;
76 txBytes = 0;
81 txBytes += other.txBytes;
85 return String.format("rx:%s tx:%s", rxBytes, txBytes);
164 (long rxBytes, long txBytes) -> {
166 stats.txBytes = (txBytes > 0) ? txBytes : 0;
  /system/netd/server/
TetherController.h 89 txBytes(txB), txPackets(txP) {};
94 int64_t txBytes = -1;
101 txBytes += other.txBytes;
  /tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
BandwidthStats.java 34 public BandwidthStats (long rxBytes, long rxPackets, long txBytes, long txPackets) {
37 mTxBytes = txBytes;
81 public void setTxBytes(long txBytes) {
82 this.mTxBytes = txBytes;
  /system/netd/libbpf/
BpfNetworkStatsTest.cpp 139 EXPECT_EQ(target.txBytes, result.txBytes);
151 EXPECT_EQ(target.txBytes, (uint64_t)result.txBytes);
218 .txBytes = TEST_BYTES1,
223 .txBytes = TEST_BYTES1 * 2,
259 .txBytes = TEST_BYTES1,
265 .txBytes = TEST_BYTES0,
289 .txBytes = TEST_BYTES1 * 2 + TEST_BYTES0,
302 .txBytes = TEST_BYTES1
    [all...]
BpfNetworkStats.cpp 51 stats->txBytes = statsEntry.value().txBytes;
88 stats->txBytes += statsEntry.txBytes;
123 newLine.txBytes = statsEntry.txBytes;
  /frameworks/base/core/jni/
com_android_internal_net_NetworkStatsFactory.cpp 58 jfieldID txBytes;
190 &s.txBytes, &s.txPackets) == 6) {
241 ScopedLongArrayRW txBytes(env, get_long_array(env, stats,
242 gNetworkStatsClassInfo.txBytes, size, grow));
243 if (txBytes.get() == NULL) return -1;
261 txBytes[i] = lines[i].txBytes;
278 env->SetObjectField(stats, gNetworkStatsClassInfo.txBytes, txBytes.getJavaArray());
356 gNetworkStatsClassInfo.txBytes = GetFieldIDOrDie(env, clazz, "txBytes", "[J")
    [all...]
  /frameworks/base/tests/net/java/android/net/
NetworkStatsHistoryTest.java 87 assertEquals(6223L, entry.txBytes);
91 assertEquals(838L, entry.txBytes);
95 assertEquals(64314L, entry.txBytes);
342 entry.txBytes = nextPositiveLong(r);
525 entry.txBytes *= 2;
557 NetworkStatsHistory stats, int index, long rxBytes, long txBytes) {
560 assertEquals("unexpected txBytes", txBytes, entry.txBytes);
564 NetworkStatsHistory stats, long start, long end, long rxBytes, long txBytes) {
    [all...]
  /hardware/interfaces/tetheroffload/control/1.0/
IOffloadControl.hal 93 * @return txBytes values depicting the transmitted bytes
95 getForwardedStats(string upstream) generates (uint64_t rxBytes, uint64_t txBytes);
  /system/netd/libbpf/include/bpf/
BpfNetworkStats.h 44 int64_t txBytes;
90 *unknownIfaceBytesTotal += (statsEntry.value().rxBytes + statsEntry.value().txBytes);
BpfUtils.h 55 uint64_t txBytes;
61 uint64_t txBytes;
  /frameworks/base/tests/net/java/com/android/internal/net/
NetworkStatsFactoryTest.java 243 int tag, long rxBytes, long txBytes) {
252 assertEquals("unexpected txBytes", txBytes, entry.txBytes);
256 int tag, long rxBytes, long rxPackets, long txBytes, long txPackets) {
266 assertEquals("unexpected txBytes", txBytes, entry.txBytes);
  /frameworks/base/core/java/com/android/internal/net/
NetworkStatsFactory.java 182 entry.txBytes = reader.nextLong();
189 entry.txBytes += reader.nextLong();
240 entry.txBytes = reader.nextLong();
332 entry.txBytes = reader.nextLong();
  /packages/apps/Settings/src/com/android/settings/widget/
ChartNetworkSeriesView.java 217 totalData += entry.rxBytes + entry.txBytes;
267 final long longWindow = (entry.rxBytes + entry.txBytes) * bucketDuration
277 final long shortWindow = (entry.rxBytes + entry.txBytes) * bucketDuration
312 return entry.rxBytes + entry.txBytes;
  /frameworks/base/tests/net/java/com/android/server/net/
NetworkStatsCollectionTest.java 549 NetworkTemplate template, long rxBytes, long rxPackets, long txBytes, long txPackets,
554 assertEntry(rxBytes, rxPackets, txBytes, txPackets, actual);
558 NetworkTemplate template, long rxBytes, long rxPackets, long txBytes, long txPackets) {
562 assertEntry(rxBytes, rxPackets, txBytes, txPackets, actual);
565 private static void assertEntry(long rxBytes, long rxPackets, long txBytes, long txPackets,
567 assertEntry(new NetworkStats.Entry(rxBytes, rxPackets, txBytes, txPackets, 0L), actual);
570 private static void assertEntry(long rxBytes, long rxPackets, long txBytes, long txPackets,
572 assertEntry(new NetworkStats.Entry(rxBytes, rxPackets, txBytes, txPackets, 0L), actual);
578 actual.txBytes, actual.txPackets, 0L));
585 assertEquals("unexpected txBytes", expected.txBytes, actual.txBytes)
    [all...]
NetworkStatsServiceTest.java     [all...]
  /frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
BandwidthTest.java 326 totalStats.txBytes += statsEntry.txBytes;
331 results.putLong(label + "tx", totalStats.txBytes);
  /device/google/contexthub/firmware/os/drivers/synaptics_s3708/
synaptics_s3708.c 231 static bool performXfer(struct I2cTransfer *xfer, size_t txBytes, size_t rxBytes)
235 if ((txBytes > MAX_I2C_TRANSFER_SIZE) || (rxBytes > MAX_I2C_TRANSFER_SIZE)) {
236 ERROR_PRINT("txBytes and rxBytes must be less than %d", MAX_I2C_TRANSFER_SIZE);
241 ret = i2cMasterTxRx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, txBytes, xfer->txrxBuf, rxBytes, i2cCallback, xfer);
243 ret = i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, txBytes, i2cCallback, xfer);
  /frameworks/base/services/core/java/com/android/server/net/
NetworkStatsCollection.java 307 if (entry.rxBytes == 0 || entry.txBytes == 0) {
313 final long rawBytes = entry.rxBytes + entry.txBytes;
315 final long rawTxBytes = entry.txBytes;
327 entry.txBytes = multiplySafe(targetTxBytes, entry.txBytes, rawTxBytes);
385 entry.txBytes = historyEntry.txBytes;
405 noteRecordedHistory(history.getStart(), history.getEnd(), entry.rxBytes + entry.txBytes);

Completed in 703 milliseconds

1 2 3