Searched refs:newStats (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiDataStall.java | 70 public int checkForDataStall(WifiLinkLayerStats oldStats, WifiLinkLayerStats newStats) { in checkForDataStall() argument 71 if (oldStats == null || newStats == null) { in checkForDataStall() 76 long txSuccessDelta = (newStats.txmpdu_be + newStats.txmpdu_bk in checkForDataStall() 77 + newStats.txmpdu_vi + newStats.txmpdu_vo) in checkForDataStall() 80 long txRetriesDelta = (newStats.retries_be + newStats.retries_bk in checkForDataStall() 81 + newStats.retries_vi + newStats.retries_vo) in checkForDataStall() 84 long txBadDelta = (newStats.lostmpdu_be + newStats.lostmpdu_bk in checkForDataStall() 85 + newStats.lostmpdu_vi + newStats.lostmpdu_vo) in checkForDataStall() 88 long rxSuccessDelta = (newStats.rxmpdu_be + newStats.rxmpdu_bk in checkForDataStall() 89 + newStats.rxmpdu_vi + newStats.rxmpdu_vo) in checkForDataStall() [all …]
|
D | WifiMetrics.java | 828 public void incrementWifiLinkLayerUsageStats(WifiLinkLayerStats newStats) { in incrementWifiLinkLayerUsageStats() argument 829 if (newStats == null) { in incrementWifiLinkLayerUsageStats() 833 mLastLinkLayerStats = newStats; in incrementWifiLinkLayerUsageStats() 836 if (!newLinkLayerStatsIsValid(mLastLinkLayerStats, newStats)) { in incrementWifiLinkLayerUsageStats() 843 (newStats.timeStampInMs - mLastLinkLayerStats.timeStampInMs); in incrementWifiLinkLayerUsageStats() 844 mWifiLinkLayerUsageStats.radioOnTimeMs += (newStats.on_time - mLastLinkLayerStats.on_time); in incrementWifiLinkLayerUsageStats() 845 mWifiLinkLayerUsageStats.radioTxTimeMs += (newStats.tx_time - mLastLinkLayerStats.tx_time); in incrementWifiLinkLayerUsageStats() 846 mWifiLinkLayerUsageStats.radioRxTimeMs += (newStats.rx_time - mLastLinkLayerStats.rx_time); in incrementWifiLinkLayerUsageStats() 848 (newStats.on_time_scan - mLastLinkLayerStats.on_time_scan); in incrementWifiLinkLayerUsageStats() 850 (newStats.on_time_nan_scan - mLastLinkLayerStats.on_time_nan_scan); in incrementWifiLinkLayerUsageStats() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CompilerStats.java | 142 PackageStats newStats = new PackageStats(packageName); in createPackageStats() local 143 packageStats.put(packageName, newStats); in createPackageStats() 144 return newStats; in createPackageStats()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 2666 WifiLinkLayerStats newStats) { in assertWifiLinkLayerUsageHasDiff() argument 2667 assertEquals(newStats.timeStampInMs - oldStats.timeStampInMs, in assertWifiLinkLayerUsageHasDiff() 2669 assertEquals(newStats.on_time - oldStats.on_time, in assertWifiLinkLayerUsageHasDiff() 2671 assertEquals(newStats.tx_time - oldStats.tx_time, in assertWifiLinkLayerUsageHasDiff() 2673 assertEquals(newStats.rx_time - oldStats.rx_time, in assertWifiLinkLayerUsageHasDiff() 2675 assertEquals(newStats.on_time_scan - oldStats.on_time_scan, in assertWifiLinkLayerUsageHasDiff() 2677 assertEquals(newStats.on_time_nan_scan - oldStats.on_time_nan_scan, in assertWifiLinkLayerUsageHasDiff() 2679 assertEquals(newStats.on_time_background_scan - oldStats.on_time_background_scan, in assertWifiLinkLayerUsageHasDiff() 2681 assertEquals(newStats.on_time_roam_scan - oldStats.on_time_roam_scan, in assertWifiLinkLayerUsageHasDiff() 2683 assertEquals(newStats.on_time_pno_scan - oldStats.on_time_pno_scan, in assertWifiLinkLayerUsageHasDiff() [all …]
|