Home
last modified time | relevance | path

Searched refs:oldStats (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiDataStall.java226 public int checkDataStallAndThroughputSufficiency(WifiLinkLayerStats oldStats, in checkDataStallAndThroughputSufficiency() argument
233 if (oldStats == null || newStats == null) { in checkDataStallAndThroughputSufficiency()
250 - (oldStats.txmpdu_be + oldStats.txmpdu_bk in checkDataStallAndThroughputSufficiency()
251 + oldStats.txmpdu_vi + oldStats.txmpdu_vo); in checkDataStallAndThroughputSufficiency()
254 - (oldStats.retries_be + oldStats.retries_bk in checkDataStallAndThroughputSufficiency()
255 + oldStats.retries_vi + oldStats.retries_vo); in checkDataStallAndThroughputSufficiency()
258 - (oldStats.lostmpdu_be + oldStats.lostmpdu_bk in checkDataStallAndThroughputSufficiency()
259 + oldStats.lostmpdu_vi + oldStats.lostmpdu_vo); in checkDataStallAndThroughputSufficiency()
262 - (oldStats.rxmpdu_be + oldStats.rxmpdu_bk in checkDataStallAndThroughputSufficiency()
263 + oldStats.rxmpdu_vi + oldStats.rxmpdu_vo); in checkDataStallAndThroughputSufficiency()
[all …]
DWifiMetrics.java1346 private boolean newLinkLayerStatsIsValid(WifiLinkLayerStats oldStats, in newLinkLayerStatsIsValid() argument
1348 if (newStats.on_time < oldStats.on_time in newLinkLayerStatsIsValid()
1349 || newStats.tx_time < oldStats.tx_time in newLinkLayerStatsIsValid()
1350 || newStats.rx_time < oldStats.rx_time in newLinkLayerStatsIsValid()
1351 || newStats.on_time_scan < oldStats.on_time_scan) { in newLinkLayerStatsIsValid()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java3245 private void assertWifiLinkLayerUsageHasDiff(WifiLinkLayerStats oldStats, in assertWifiLinkLayerUsageHasDiff() argument
3247 assertEquals(newStats.timeStampInMs - oldStats.timeStampInMs, in assertWifiLinkLayerUsageHasDiff()
3249 assertEquals(newStats.on_time - oldStats.on_time, in assertWifiLinkLayerUsageHasDiff()
3251 assertEquals(newStats.tx_time - oldStats.tx_time, in assertWifiLinkLayerUsageHasDiff()
3253 assertEquals(newStats.rx_time - oldStats.rx_time, in assertWifiLinkLayerUsageHasDiff()
3255 assertEquals(newStats.on_time_scan - oldStats.on_time_scan, in assertWifiLinkLayerUsageHasDiff()
3257 assertEquals(newStats.on_time_nan_scan - oldStats.on_time_nan_scan, in assertWifiLinkLayerUsageHasDiff()
3259 assertEquals(newStats.on_time_background_scan - oldStats.on_time_background_scan, in assertWifiLinkLayerUsageHasDiff()
3261 assertEquals(newStats.on_time_roam_scan - oldStats.on_time_roam_scan, in assertWifiLinkLayerUsageHasDiff()
3263 assertEquals(newStats.on_time_pno_scan - oldStats.on_time_pno_scan, in assertWifiLinkLayerUsageHasDiff()
[all …]