Home
last modified time | relevance | path

Searched refs:getTxBytes (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DNetworkCycleChartDataLoader.java47 final long total = bucket == null ? 0L : bucket.getRxBytes() + bucket.getTxBytes(); in recordUsage()
85 usage = bucket.getRxBytes() + bucket.getTxBytes();
DNetworkCycleDataLoader.java151 bytes += bucket.getRxBytes() + bucket.getTxBytes();
DDataUsageController.java148 return bucket.getRxBytes() + bucket.getTxBytes(); in getUsageLevel()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DDataUsageControllerTest.java112 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()
DNetworkCycleDataLoaderTest.java141 when(ret.getTxBytes()).thenReturn(txBytes); in makeMockBucket()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DAggregatedMobileDataStatsPuller.java100 public long getTxBytes() { in getTxBytes() method in AggregatedMobileDataStatsPuller.MobileDataStats
266 stats.addTxBytes(entry.getTxBytes()); in updateNetworkStatsDelta()
289 stats.getTxBytes(), in pullDataBytesTransferLocked()
DStatsPullAtomService.java1371 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/
DDataIdleTest.java95 result.putLong("Total tx Bytes", bucket.getTxBytes()); in reportStats()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DWifiPowerCalculatorTest.java107 when(entry1.getTxBytes()).thenReturn(txBytes); in buildNetworkStats()
119 when(entry2.getTxBytes()).thenReturn(2222L); in buildNetworkStats()
DBluetoothPowerStatsCollectorTest.java301 when(traffic.getTxBytes()).thenReturn(txBytes); in mockUidTraffic()
DBluetoothPowerCalculatorTest.java348 when(uidTraffic.getTxBytes()).thenReturn(txBytes); in createUidTraffic()
DWifiPowerStatsCollectorTest.java405 when(entry.getTxBytes()).thenReturn(txBytes); in mockNetworkStatsEntry()
DBluetoothPowerStatsProcessorTest.java526 when(traffic.getTxBytes()).thenReturn(txBytes); in mockUidTraffic()
DMobileRadioPowerStatsProcessorTest.java521 when(entry.getTxBytes()).thenReturn(txBytes); in mockNetworkStatsEntry()
DMobileRadioPowerStatsCollectorTest.java477 when(entry.getTxBytes()).thenReturn(txBytes); in mockNetworkStatsEntry()
DWifiPowerStatsProcessorTest.java581 when(entry.getTxBytes()).thenReturn(txBytes); in mockNetworkStatsEntry()
DMobileRadioPowerCalculatorTest.java1081 when(entry.getTxBytes()).thenReturn(txBytes); in mockNetworkStatsEntry()
DBatteryStatsImplTest.java864 when(uidTraffic.getTxBytes()).thenReturn(txBytes); in createUidTraffic()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBluetoothPowerStatsCollector.java234 counts.txCount += ut.getTxBytes(); in collectBluetoothActivityInfo()
DWifiPowerStatsCollector.java236 long txBytes = uidDelta.getTxBytes(); in collectNetworkStats()
DMobileRadioPowerStatsCollector.java310 long txBytes = uidDelta.getTxBytes(); in collectNetworkStats()
DBatteryStatsImpl.java12240 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/
DMultipathPolicyTracker.java275 return ret.getRxBytes() + ret.getTxBytes(); in getNetworkTotalBytes()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java406 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/
DNetworkPolicyManagerService.java878 return ret.getRxBytes() + ret.getTxBytes(); in getNetworkTotalBytes()
1784 final long bytes = entry.getRxBytes() + entry.getTxBytes(); in findRapidBlame()

12