/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 250 private long[] txPackets; field in NetworkStats 307 public long txPackets; field in NetworkStats.Entry 319 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in Entry() argument 320 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, in Entry() 326 long txBytes, long txPackets, long operations) { in Entry() argument 328 rxBytes, rxPackets, txBytes, txPackets, operations); in Entry() 362 long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in Entry() argument 373 this.txPackets = txPackets; in Entry() 379 return rxBytes < 0 || rxPackets < 0 || txBytes < 0 || txPackets < 0 || operations < 0; in isNegative() 384 return rxBytes == 0 && rxPackets == 0 && txBytes == 0 && txPackets == 0 in isEmpty() [all …]
|
D | NetworkStatsHistory.java | 88 private long[] txPackets; field in NetworkStatsHistory 107 public long txPackets; field in NetworkStatsHistory.Entry 127 if ((fields & FIELD_TX_PACKETS) != 0) txPackets = new long[initialSize]; in NetworkStatsHistory() 146 txPackets = readLongArray(in); in NetworkStatsHistory() 160 writeLongArray(out, txPackets, bucketCount); in writeToParcel() 174 txPackets = new long[bucketStart.length]; in NetworkStatsHistory() 189 txPackets = readVarLongArray(in); in NetworkStatsHistory() 202 || txPackets.length != bucketCount || operations.length != bucketCount) { in NetworkStatsHistory() 215 writeVarLongArray(out, txPackets, bucketCount); in writeToStream() 299 entry.txPackets = getLong(txPackets, i, UNKNOWN); in getValues() [all …]
|
/frameworks/base/services/core/jni/ |
D | com_android_server_net_NetworkStatsService.cpp | 65 return stats->txPackets; in getStatsType() 84 uint64_t rxBytes, rxPackets, txBytes, txPackets, tcpRxPackets, tcpTxPackets; in parseIfaceStats() local 90 &rxPackets, &txBytes, &txPackets, &tcpRxPackets, &tcpTxPackets); in parseIfaceStats() 99 stats->txPackets += txPackets; in parseIfaceStats() 128 uint64_t tag, rxBytes, rxPackets, txBytes, txPackets; in parseUidStats() local 135 &txBytes, &txPackets) == 9) { in parseUidStats() 140 stats->txPackets += txPackets; in parseUidStats()
|
D | com_android_server_net_NetworkStatsFactory.cpp | 59 jfieldID txPackets; member 190 &s.txBytes, &s.txPackets) == 6) { in legacyReadNetworkStatsDetail() 244 ScopedLongArrayRW txPackets(env, get_long_array(env, stats, in statsLinesToNetworkStats() local 245 gNetworkStatsClassInfo.txPackets, size, grow)); in statsLinesToNetworkStats() 246 if (txPackets.get() == NULL) return -1; in statsLinesToNetworkStats() 262 txPackets[i] = lines[i].txPackets; in statsLinesToNetworkStats() 279 env->SetObjectField(stats, gNetworkStatsClassInfo.txPackets, txPackets.getJavaArray()); in statsLinesToNetworkStats() 356 gNetworkStatsClassInfo.txPackets = env->GetFieldID(clazz, "txPackets", "[J"); in register_android_server_net_NetworkStatsFactory()
|
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/ |
D | DataIdleTest.java | 98 long txPackets = 0; in reportStats() local 111 txPackets += statsEntry.txPackets; in reportStats() 117 result.putLong("Total tx Packets", txPackets); in reportStats()
|
/frameworks/base/core/tests/benchmarks/src/android/net/ |
D | NetworkStatsBenchmark.java | 55 recycle.txPackets = 1500; in setUp() 71 recycle.txPackets = 1200 * mSize; in setUp()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsFactory.java | 220 entry.txPackets = reader.nextLong(); in readNetworkStatsSummaryDev() 227 entry.txPackets += reader.nextLong(); in readNetworkStatsSummaryDev() 278 entry.txPackets = reader.nextLong(); in readNetworkStatsSummaryXt() 435 entry.txPackets = reader.nextLong(); in javaReadNetworkStatsDetail()
|
D | NetworkStatsRecorder.java | 238 entry.txPackets = Math.max(entry.txPackets, 0); in recordSnapshotLocked()
|
D | NetworkStatsService.java | 855 entry.txBytes, entry.txPackets, entry.operations)); 1134 return entry.txPackets; 1615 devTotal.rxBytes, devTotal.rxPackets, devTotal.txBytes, devTotal.txPackets, 1616 xtTotal.rxBytes, xtTotal.rxPackets, xtTotal.txBytes, xtTotal.txPackets, 1617 uidTotal.rxBytes, uidTotal.rxPackets, uidTotal.txBytes, uidTotal.txPackets, 1627 devTotal.rxBytes, devTotal.rxPackets, devTotal.txBytes, devTotal.txPackets, 1628 xtTotal.rxBytes, xtTotal.rxPackets, xtTotal.txBytes, xtTotal.txPackets, 1629 uidTotal.rxBytes, uidTotal.rxPackets, uidTotal.txBytes, uidTotal.txPackets,
|
D | NetworkStatsCollection.java | 315 entry.txPackets = 0; in getHistory() 370 entry.txPackets = historyEntry.txPackets; in getSummary()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | WifiPowerCalculator.java | 295 public double calcPowerWithoutControllerDataMah(long rxPackets, long txPackets, in calcPowerWithoutControllerDataMah() argument 298 (rxPackets + txPackets) * mWifiPowerPerPacket in calcPowerWithoutControllerDataMah()
|
D | BatteryStatsImpl.java | 11551 SparseLongArray txPackets = new SparseLongArray(); in updateWifiState() local 11563 + " txPackets=" + entry.txPackets); in updateWifiState() 11594 entry.txPackets); in updateWifiState() 11597 entry.txPackets); in updateWifiState() 11602 entry.txPackets); in updateWifiState() 11605 txPackets.put(u.getUid(), entry.txPackets); in updateWifiState() 11609 totalTxPackets += entry.txPackets; in updateWifiState() 11637 entry.rxPackets, entry.txPackets, in updateWifiState() 11772 for (int i = 0; i < txPackets.size(); i++) { in updateWifiState() 11773 final Uid uid = getUidStatsLocked(txPackets.keyAt(i), in updateWifiState() [all …]
|
/frameworks/base/core/tests/utillib/src/android/test/ |
D | BandwidthTestCase.java | 152 bundle.putLong(REPORT_KEY_PACKETS_SENT, entry.txPackets); in getBandwidthStats()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStats.java | 621 bucketOut.mTxPackets = mRecycledSummaryEntry.txPackets; in fillBucketFromSummaryEntry() 673 bucketOut.mTxPackets = mRecycledHistoryEntry.txPackets; in getNextHistoryBucket()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 1243 entry.txPackets); in addNetworkStats() 1248 entry.rxPackets, entry.txBytes, entry.txPackets); in addNetworkStats() 1262 entry.rxPackets, entry.txBytes, entry.txPackets)); in addBytesTransferByTagAndMeteredAtoms() 1282 entry.rxPackets, entry.txBytes, entry.txPackets, in addDataUsageBytesTransferAtoms() 1304 entry.txPackets)); in addOemDataUsageBytesTransferAtoms() 1463 entry.txPackets = recycle.txPackets;
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkManagementService.java | 1332 entry.txPackets = tetherStats.txPackets; in getTetherStats()
|