/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 | 111 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()
|
D | NetworkCycleDataLoaderTest.java | 140 when(ret.getRxBytes()).thenReturn(rxBytes); in makeMockBucket()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | AggregatedMobileDataStatsPuller.java | 96 public long getRxBytes() { in getRxBytes() method in AggregatedMobileDataStatsPuller.MobileDataStats 267 stats.addRxBytes(entry.getRxBytes()); in updateNetworkStatsDelta() 287 stats.getRxBytes(), in pullDataBytesTransferLocked()
|
D | StatsPullAtomService.java | 1371 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/ |
D | DataIdleTest.java | 94 result.putLong("Total rx Bytes", bucket.getRxBytes()); in reportStats()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | WifiPowerCalculatorTest.java | 105 when(entry1.getRxBytes()).thenReturn(rxBytes); in buildNetworkStats() 117 when(entry2.getRxBytes()).thenReturn(1111L); in buildNetworkStats()
|
D | BluetoothPowerStatsCollectorTest.java | 300 when(traffic.getRxBytes()).thenReturn(rxBytes); in mockUidTraffic()
|
D | BluetoothPowerCalculatorTest.java | 347 when(uidTraffic.getRxBytes()).thenReturn(rxBytes); in createUidTraffic()
|
D | WifiPowerStatsCollectorTest.java | 403 when(entry.getRxBytes()).thenReturn(rxBytes); in mockNetworkStatsEntry()
|
D | BluetoothPowerStatsProcessorTest.java | 525 when(traffic.getRxBytes()).thenReturn(rxBytes); in mockUidTraffic()
|
D | MobileRadioPowerStatsProcessorTest.java | 519 when(entry.getRxBytes()).thenReturn(rxBytes); in mockNetworkStatsEntry()
|
D | MobileRadioPowerStatsCollectorTest.java | 475 when(entry.getRxBytes()).thenReturn(rxBytes); in mockNetworkStatsEntry()
|
D | WifiPowerStatsProcessorTest.java | 579 when(entry.getRxBytes()).thenReturn(rxBytes); in mockNetworkStatsEntry()
|
D | MobileRadioPowerCalculatorTest.java | 1079 when(entry.getRxBytes()).thenReturn(rxBytes); in mockNetworkStatsEntry()
|
D | BatteryStatsImplTest.java | 863 when(uidTraffic.getRxBytes()).thenReturn(rxBytes); in createUidTraffic()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BluetoothPowerStatsCollector.java | 233 counts.rxCount += ut.getRxBytes(); in collectBluetoothActivityInfo()
|
D | WifiPowerStatsCollector.java | 235 long rxBytes = uidDelta.getRxBytes(); in collectNetworkStats()
|
D | MobileRadioPowerStatsCollector.java | 309 long rxBytes = uidDelta.getRxBytes(); in collectNetworkStats()
|
D | BatteryStatsImpl.java | 12232 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/ |
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() 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/ |
D | NetworkPolicyManagerService.java | 878 return ret.getRxBytes() + ret.getTxBytes(); in getNetworkTotalBytes() 1784 final long bytes = entry.getRxBytes() + entry.getTxBytes(); in findRapidBlame()
|