/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | WifiPowerStatsProcessor.java | 88 public long txPackets; field in WifiPowerStatsProcessor.Intermediates 323 intermediates.txPackets += mStatsLayout.getUidTxPackets(mTmpUidStatsArray); in computeUidActivityTotals() 343 if (intermediates.txPackets != 0) { in computeUidPowerEstimates() 345 / intermediates.txPackets; in computeUidPowerEstimates() 355 long totalPackets = intermediates.rxPackets + intermediates.txPackets; in computeUidPowerEstimates() 387 + " tx-packets: " + intermediates.txPackets in computeUidPowerEstimates()
|
D | MobileRadioPowerStatsProcessor.java | 145 public long txPackets; field in MobileRadioPowerStatsProcessor.Intermediates 360 intermediates.txPackets += mStatsLayout.getUidTxPackets(mTmpUidStatsArray); in computeUidRxTxTotals() 379 if (intermediates.txPackets != 0) { in computeUidPowerEstimates() 381 / intermediates.txPackets; in computeUidPowerEstimates() 396 + " tx-packets: " + intermediates.txPackets in computeUidPowerEstimates()
|
D | WifiPowerStatsCollector.java | 238 long txPackets = uidDelta.getTxPackets(); in collectNetworkStats() local 239 if (rxBytes == 0 && txBytes == 0 && rxPackets == 0 && txPackets == 0) { in collectNetworkStats() 251 mLayout.setUidTxPackets(stats, txPackets); in collectNetworkStats() 256 mLayout.setUidTxPackets(stats, mLayout.getUidTxPackets(stats) + txPackets); in collectNetworkStats()
|
D | MobileRadioPowerStatsCollector.java | 312 long txPackets = uidDelta.getTxPackets(); in collectNetworkStats() local 313 if (rxBytes == 0 && txBytes == 0 && rxPackets == 0 && txPackets == 0) { in collectNetworkStats() 325 mLayout.setUidTxPackets(stats, txPackets); in collectNetworkStats() 330 mLayout.setUidTxPackets(stats, mLayout.getUidTxPackets(stats) + txPackets); in collectNetworkStats()
|
D | WifiPowerCalculator.java | 313 public double calcPowerWithoutControllerDataMah(long rxPackets, long txPackets, in calcPowerWithoutControllerDataMah() argument 316 (rxPackets + txPackets) * mWifiPowerPerPacket in calcPowerWithoutControllerDataMah()
|
D | BatteryStatsImpl.java | 12342 SparseLongArray txPackets = new SparseLongArray(); in updateWifiState() local 12395 txPackets.incrementValue(uid, entry.getTxPackets()); in updateWifiState() 12559 for (int i = 0; i < txPackets.size(); i++) { in updateWifiState() 12560 final int uid = txPackets.keyAt(i); in updateWifiState() 12561 final long myTxTimeMs = (txPackets.valueAt(i) * leftOverTxTimeMs) in updateWifiState() 13136 long rxPackets, long txPackets, long totalRxPackets, long totalTxPackets) { in smearModemActivityInfoRxTxConsumptionMah() argument 13154 txPackets + rxTxConsumption.txToTotalRatio * rxPackets; in smearModemActivityInfoRxTxConsumptionMah()
|
/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/core/java/android/net/netstats/ |
D | NetworkStatsDataMigrationUtils.java | 367 final long[] txPackets; in readPlatformHistory() local 380 txPackets = new long[bucketStart.length]; in readPlatformHistory() 395 txPackets = readVarLongArray(in); in readPlatformHistory() 410 rxBytes[i], rxPackets[i], txBytes[i], txPackets[i], operations[i]); in readPlatformHistory()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | AggregatedMobileDataStatsPuller.java | 108 public void addTxPackets(long txPackets) { in addTxPackets() argument 109 mTxPackets += txPackets; in addTxPackets()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | WifiPowerStatsCollectorTest.java | 396 long txPackets) { in mockNetworkStatsEntry() argument 406 when(entry.getTxPackets()).thenReturn(txPackets); in mockNetworkStatsEntry() 413 txBytes, txPackets, 100)); in mockNetworkStatsEntry()
|
D | WifiPowerCalculatorTest.java | 94 long txBytes, long txPackets) { in buildNetworkStats() argument 108 when(entry1.getTxPackets()).thenReturn(txPackets); in buildNetworkStats() 130 txBytes, txPackets, 100)) in buildNetworkStats()
|
D | MobileRadioPowerStatsProcessorTest.java | 512 long rxPackets, long txBytes, long txPackets, long operations) { in mockNetworkStatsEntry() argument 522 when(entry.getTxPackets()).thenReturn(txPackets); in mockNetworkStatsEntry() 527 roaming, defaultNetwork, rxBytes, rxPackets, txBytes, txPackets, operations); in mockNetworkStatsEntry()
|
D | WifiPowerStatsProcessorTest.java | 572 long rxPackets, long txBytes, long txPackets, long operations) { in mockNetworkStatsEntry() argument 582 when(entry.getTxPackets()).thenReturn(txPackets); in mockNetworkStatsEntry() 587 roaming, defaultNetwork, rxBytes, rxPackets, txBytes, txPackets, operations); in mockNetworkStatsEntry()
|
D | MobileRadioPowerStatsCollectorTest.java | 469 long txBytes, long txPackets) { in mockNetworkStatsEntry() argument 478 when(entry.getTxPackets()).thenReturn(txPackets); in mockNetworkStatsEntry()
|
D | MobileRadioPowerCalculatorTest.java | 1072 long rxPackets, long txBytes, long txPackets, long operations) { in mockNetworkStatsEntry() argument 1082 when(entry.getTxPackets()).thenReturn(txPackets); in mockNetworkStatsEntry() 1087 roaming, defaultNetwork, rxBytes, rxPackets, txBytes, txPackets, operations); in mockNetworkStatsEntry()
|
/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/os/ |
D | BatteryStats.java | 5921 sb.append(mrs.rxPackets + mrs.txPackets); in dumpLocked() 8999 public final long txPackets; field in UidMobileRadioStats 9004 private UidMobileRadioStats(int uid, long rxPackets, long txPackets, long radioActiveMs, in UidMobileRadioStats() argument 9007 this.txPackets = txPackets; in UidMobileRadioStats() 9029 final long txPackets = u.getNetworkActivityPackets( in getUidMobileRadioStats() local 9031 if (rxPackets == 0 && txPackets == 0) { in getUidMobileRadioStats() 9036 final double msPerPacket = (double) radioActiveMs / (rxPackets + txPackets); in getUidMobileRadioStats() 9041 new UidMobileRadioStats(uid, rxPackets, txPackets, radioActiveMs, in getUidMobileRadioStats()
|