/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | NetworkCycleChartDataLoader.java | 47 final long total = bucket == null ? 0L : bucket.getRxBytes() + bucket.getTxBytes(); in recordUsage() 85 usage = bucket.getRxBytes() + bucket.getTxBytes();
|
D | NetworkCycleDataLoader.java | 151 bytes += bucket.getRxBytes() + bucket.getTxBytes();
|
D | DataUsageController.java | 148 return bucket.getRxBytes() + bucket.getTxBytes(); in getUsageLevel()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/ |
D | DataUsageControllerTest.java | 112 when(bucket.getTxBytes()).thenReturn(transmittedBytes); in getHistoricalUsageLevel_hasUsageData_shouldReturnTotalUsage() 128 when(defaultSubscriberBucket.getTxBytes()).thenReturn(defaultSubTx); in getDataUsageInfo_hasUsageData_shouldReturnCorrectUsageForExplicitSubId() 137 when(nonDefaultSubscriberBucket.getTxBytes()).thenReturn(nonDefaultSubTx); in getDataUsageInfo_hasUsageData_shouldReturnCorrectUsageForExplicitSubId()
|
D | NetworkCycleDataLoaderTest.java | 141 when(ret.getTxBytes()).thenReturn(txBytes); in makeMockBucket()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | AggregatedMobileDataStatsPuller.java | 100 public long getTxBytes() { in getTxBytes() method in AggregatedMobileDataStatsPuller.MobileDataStats 266 stats.addTxBytes(entry.getTxBytes()); in updateNetworkStatsDelta() 289 stats.getTxBytes(), in pullDataBytesTransferLocked()
|
D | StatsPullAtomService.java | 1371 if (e.getRxBytes() != 0 || e.getRxPackets() != 0 || e.getTxBytes() != 0 in removeEmptyEntries() 1388 entry.getTxBytes(), entry.getTxPackets()); in addNetworkStats() 1393 entry.getRxPackets(), entry.getTxBytes(), entry.getTxPackets()); in addNetworkStats() 1411 entry.getRxBytes(), entry.getRxPackets(), entry.getTxBytes(), in addBytesTransferByTagAndMeteredAtoms() 1432 entry.getTxBytes(), entry.getTxPackets(), in addDataUsageBytesTransferAtoms() 1452 entry.getRxPackets(), entry.getTxBytes(), entry.getTxPackets())); in addOemDataUsageBytesTransferAtoms() 1621 entry.getTxBytes(), entry.getTxPackets(), 0); in sliceNetworkStatsByUid() 1634 entry.getTxBytes(), entry.getTxPackets(), 0); in sliceNetworkStatsByFgbg() 1647 entry.getTxBytes(), entry.getTxPackets(), 0); 1660 entry.getTxBytes(), entry.getTxPackets(), 0); [all …]
|
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/ |
D | DataIdleTest.java | 95 result.putLong("Total tx Bytes", bucket.getTxBytes()); in reportStats()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | WifiPowerCalculatorTest.java | 107 when(entry1.getTxBytes()).thenReturn(txBytes); in buildNetworkStats() 119 when(entry2.getTxBytes()).thenReturn(2222L); in buildNetworkStats()
|
D | BluetoothPowerStatsCollectorTest.java | 301 when(traffic.getTxBytes()).thenReturn(txBytes); in mockUidTraffic()
|
D | BluetoothPowerCalculatorTest.java | 348 when(uidTraffic.getTxBytes()).thenReturn(txBytes); in createUidTraffic()
|
D | WifiPowerStatsCollectorTest.java | 405 when(entry.getTxBytes()).thenReturn(txBytes); in mockNetworkStatsEntry()
|
D | BluetoothPowerStatsProcessorTest.java | 526 when(traffic.getTxBytes()).thenReturn(txBytes); in mockUidTraffic()
|
D | MobileRadioPowerStatsProcessorTest.java | 521 when(entry.getTxBytes()).thenReturn(txBytes); in mockNetworkStatsEntry()
|
D | MobileRadioPowerStatsCollectorTest.java | 477 when(entry.getTxBytes()).thenReturn(txBytes); in mockNetworkStatsEntry()
|
D | WifiPowerStatsProcessorTest.java | 581 when(entry.getTxBytes()).thenReturn(txBytes); in mockNetworkStatsEntry()
|
D | MobileRadioPowerCalculatorTest.java | 1081 when(entry.getTxBytes()).thenReturn(txBytes); in mockNetworkStatsEntry()
|
D | BatteryStatsImplTest.java | 864 when(uidTraffic.getTxBytes()).thenReturn(txBytes); in createUidTraffic()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BluetoothPowerStatsCollector.java | 234 counts.txCount += ut.getTxBytes(); in collectBluetoothActivityInfo()
|
D | WifiPowerStatsCollector.java | 236 long txBytes = uidDelta.getTxBytes(); in collectNetworkStats()
|
D | MobileRadioPowerStatsCollector.java | 310 long txBytes = uidDelta.getTxBytes(); in collectNetworkStats()
|
D | BatteryStatsImpl.java | 12240 public long getTxBytes() { in getTxBytes() method in BatteryStatsImpl.NetworkStatsDelta 12280 delta.mTxBytes = Math.max(0, entry.getTxBytes() - lastEntry.getTxBytes()); in computeDelta() 12285 delta.mTxBytes = entry.getTxBytes(); in computeDelta() 12352 + " tx=" + entry.getTxBytes() in updateWifiState() 12357 if (entry.getRxBytes() == 0 && entry.getTxBytes() == 0) { in updateWifiState() 12383 if (entry.getTxBytes() != 0) { in updateWifiState() 12384 u.noteNetworkActivityLocked(NETWORK_WIFI_TX_DATA, entry.getTxBytes(), in updateWifiState() 12387 u.noteNetworkActivityLocked(NETWORK_WIFI_BG_TX_DATA, entry.getTxBytes(), in updateWifiState() 12391 entry.getTxBytes()); in updateWifiState() 12805 + entry.getRxBytes() + " tx=" + entry.getTxBytes() in noteModemControllerActivity() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MultipathPolicyTracker.java | 275 return ret.getRxBytes() + ret.getTxBytes(); in getNetworkTotalBytes()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 406 total += bucket.getRxBytes() + bucket.getTxBytes(); in getNetworkTotalBytes() 425 when(bucket.getTxBytes()).thenReturn(txBytes); in setMockedTotalBytes() 431 setMockedTotalBytes(uid, bucket.getRxBytes() + rxBytes, bucket.getTxBytes() + txBytes); in increaseMockedTotalBytes()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 878 return ret.getRxBytes() + ret.getTxBytes(); in getNetworkTotalBytes() 1784 final long bytes = entry.getRxBytes() + entry.getTxBytes(); in findRapidBlame()
|