Searched refs:oldStats (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiDataStall.java | 106 public int checkForDataStall(WifiLinkLayerStats oldStats, WifiLinkLayerStats newStats, in checkForDataStall() argument 108 if (oldStats == null || newStats == null) { in checkForDataStall() 115 - (oldStats.txmpdu_be + oldStats.txmpdu_bk in checkForDataStall() 116 + oldStats.txmpdu_vi + oldStats.txmpdu_vo); in checkForDataStall() 119 - (oldStats.retries_be + oldStats.retries_bk in checkForDataStall() 120 + oldStats.retries_vi + oldStats.retries_vo); in checkForDataStall() 123 - (oldStats.lostmpdu_be + oldStats.lostmpdu_bk in checkForDataStall() 124 + oldStats.lostmpdu_vi + oldStats.lostmpdu_vo); in checkForDataStall() 127 - (oldStats.rxmpdu_be + oldStats.rxmpdu_bk in checkForDataStall() 128 + oldStats.rxmpdu_vi + oldStats.rxmpdu_vo); in checkForDataStall() [all …]
|
D | WifiMetrics.java | 932 private boolean newLinkLayerStatsIsValid(WifiLinkLayerStats oldStats, in newLinkLayerStatsIsValid() argument 934 if (newStats.on_time < oldStats.on_time in newLinkLayerStatsIsValid() 935 || newStats.tx_time < oldStats.tx_time in newLinkLayerStatsIsValid() 936 || newStats.rx_time < oldStats.rx_time in newLinkLayerStatsIsValid() 937 || newStats.on_time_scan < oldStats.on_time_scan) { in newLinkLayerStatsIsValid()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 2733 private void assertWifiLinkLayerUsageHasDiff(WifiLinkLayerStats oldStats, in assertWifiLinkLayerUsageHasDiff() argument 2735 assertEquals(newStats.timeStampInMs - oldStats.timeStampInMs, in assertWifiLinkLayerUsageHasDiff() 2737 assertEquals(newStats.on_time - oldStats.on_time, in assertWifiLinkLayerUsageHasDiff() 2739 assertEquals(newStats.tx_time - oldStats.tx_time, in assertWifiLinkLayerUsageHasDiff() 2741 assertEquals(newStats.rx_time - oldStats.rx_time, in assertWifiLinkLayerUsageHasDiff() 2743 assertEquals(newStats.on_time_scan - oldStats.on_time_scan, in assertWifiLinkLayerUsageHasDiff() 2745 assertEquals(newStats.on_time_nan_scan - oldStats.on_time_nan_scan, in assertWifiLinkLayerUsageHasDiff() 2747 assertEquals(newStats.on_time_background_scan - oldStats.on_time_background_scan, in assertWifiLinkLayerUsageHasDiff() 2749 assertEquals(newStats.on_time_roam_scan - oldStats.on_time_roam_scan, in assertWifiLinkLayerUsageHasDiff() 2751 assertEquals(newStats.on_time_pno_scan - oldStats.on_time_pno_scan, in assertWifiLinkLayerUsageHasDiff() [all …]
|