Home
last modified time | relevance | path

Searched refs:getRxBytes (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.java111 when(bucket.getRxBytes()).thenReturn(receivedBytes); in getHistoricalUsageLevel_hasUsageData_shouldReturnTotalUsage()
127 when(defaultSubscriberBucket.getRxBytes()).thenReturn(defaultSubRx); in getDataUsageInfo_hasUsageData_shouldReturnCorrectUsageForExplicitSubId()
136 when(nonDefaultSubscriberBucket.getRxBytes()).thenReturn(nonDefaultSubRx); in getDataUsageInfo_hasUsageData_shouldReturnCorrectUsageForExplicitSubId()
DNetworkCycleDataLoaderTest.java140 when(ret.getRxBytes()).thenReturn(rxBytes); in makeMockBucket()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DAggregatedMobileDataStatsPuller.java96 public long getRxBytes() { in getRxBytes() method in AggregatedMobileDataStatsPuller.MobileDataStats
267 stats.addRxBytes(entry.getRxBytes()); in updateNetworkStatsDelta()
287 stats.getRxBytes(), in pullDataBytesTransferLocked()
DStatsPullAtomService.java1371 if (e.getRxBytes() != 0 || e.getRxPackets() != 0 || e.getTxBytes() != 0 in removeEmptyEntries()
1387 (entry.getSet() > 0), entry.getRxBytes(), entry.getRxPackets(), in addNetworkStats()
1392 atomTag, entry.getUid(), entry.getRxBytes(), in addNetworkStats()
1411 entry.getRxBytes(), entry.getRxPackets(), entry.getTxBytes(), in addBytesTransferByTagAndMeteredAtoms()
1431 entry.getSet(), entry.getRxBytes(), entry.getRxPackets(), in addDataUsageBytesTransferAtoms()
1451 (entry.getSet() > 0), oemManaged, transport, entry.getRxBytes(), in addOemDataUsageBytesTransferAtoms()
1620 entry.getRxBytes(), entry.getRxPackets(), in sliceNetworkStatsByUid()
1633 entry.getRxBytes(), entry.getRxPackets(), in sliceNetworkStatsByFgbg()
1646 entry.getRxBytes(), entry.getRxPackets(),
1659 entry.getRxBytes(), entry.getRxPackets(),
[all …]
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
DDataIdleTest.java94 result.putLong("Total rx Bytes", bucket.getRxBytes()); in reportStats()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DWifiPowerCalculatorTest.java105 when(entry1.getRxBytes()).thenReturn(rxBytes); in buildNetworkStats()
117 when(entry2.getRxBytes()).thenReturn(1111L); in buildNetworkStats()
DBluetoothPowerStatsCollectorTest.java300 when(traffic.getRxBytes()).thenReturn(rxBytes); in mockUidTraffic()
DBluetoothPowerCalculatorTest.java347 when(uidTraffic.getRxBytes()).thenReturn(rxBytes); in createUidTraffic()
DWifiPowerStatsCollectorTest.java403 when(entry.getRxBytes()).thenReturn(rxBytes); in mockNetworkStatsEntry()
DBluetoothPowerStatsProcessorTest.java525 when(traffic.getRxBytes()).thenReturn(rxBytes); in mockUidTraffic()
DMobileRadioPowerStatsProcessorTest.java519 when(entry.getRxBytes()).thenReturn(rxBytes); in mockNetworkStatsEntry()
DMobileRadioPowerStatsCollectorTest.java475 when(entry.getRxBytes()).thenReturn(rxBytes); in mockNetworkStatsEntry()
DWifiPowerStatsProcessorTest.java579 when(entry.getRxBytes()).thenReturn(rxBytes); in mockNetworkStatsEntry()
DMobileRadioPowerCalculatorTest.java1079 when(entry.getRxBytes()).thenReturn(rxBytes); in mockNetworkStatsEntry()
DBatteryStatsImplTest.java863 when(uidTraffic.getRxBytes()).thenReturn(rxBytes); in createUidTraffic()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBluetoothPowerStatsCollector.java233 counts.rxCount += ut.getRxBytes(); in collectBluetoothActivityInfo()
DWifiPowerStatsCollector.java235 long rxBytes = uidDelta.getRxBytes(); in collectNetworkStats()
DMobileRadioPowerStatsCollector.java309 long rxBytes = uidDelta.getRxBytes(); in collectNetworkStats()
DBatteryStatsImpl.java12232 public long getRxBytes() { in getRxBytes() method in BatteryStatsImpl.NetworkStatsDelta
12278 delta.mRxBytes = Math.max(0, entry.getRxBytes() - lastEntry.getRxBytes()); in computeDelta()
12283 delta.mRxBytes = entry.getRxBytes(); in computeDelta()
12351 + ": delta rx=" + entry.getRxBytes() in updateWifiState()
12357 if (entry.getRxBytes() == 0 && entry.getTxBytes() == 0) { in updateWifiState()
12364 if (entry.getRxBytes() != 0) { in updateWifiState()
12365 u.noteNetworkActivityLocked(NETWORK_WIFI_RX_DATA, entry.getRxBytes(), in updateWifiState()
12368 u.noteNetworkActivityLocked(NETWORK_WIFI_BG_RX_DATA, entry.getRxBytes(), in updateWifiState()
12372 entry.getRxBytes()); 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()
424 when(bucket.getRxBytes()).thenReturn(rxBytes); 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