Home
last modified time | relevance | path

Searched refs:BANDWIDTH_STATS_COUNT_THR (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java26 import static com.android.server.wifi.WifiScoreCard.BANDWIDTH_STATS_COUNT_THR;
1240 for (int i = 0; i < BANDWIDTH_STATS_COUNT_THR; i++) { in makeUpdateLinkBandwidthExample()
1248 for (int i = 0; i < BANDWIDTH_STATS_COUNT_THR + 2; i++) { in makeUpdateLinkBandwidthExample()
1256 assertEquals(2_000_000L * 8 / 1000 * BANDWIDTH_STATS_COUNT_THR, in checkSerializationUpdateLinkBandwidthExample()
1258 assertEquals(4_000_000L * 8 / 1000 * BANDWIDTH_STATS_COUNT_THR, in checkSerializationUpdateLinkBandwidthExample()
1260 assertEquals(BANDWIDTH_STATS_COUNT_THR, in checkSerializationUpdateLinkBandwidthExample()
1262 assertEquals(BANDWIDTH_STATS_COUNT_THR, in checkSerializationUpdateLinkBandwidthExample()
1265 assertEquals(5_000_000L * 8 / 1000 * (BANDWIDTH_STATS_COUNT_THR + 2), in checkSerializationUpdateLinkBandwidthExample()
1268 assertEquals(BANDWIDTH_STATS_COUNT_THR + 2, in checkSerializationUpdateLinkBandwidthExample()
1626 for (int i = 0; i < BANDWIDTH_STATS_COUNT_THR - 1; i++) { in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreCard.java1021 static final int BANDWIDTH_STATS_COUNT_THR = 5; field in WifiScoreCard
1503 if (count >= BANDWIDTH_STATS_COUNT_THR) { in getAvgUsedLinkBandwidthKbps()
1510 if (count >= BANDWIDTH_STATS_COUNT_THR) { in getAvgUsedLinkBandwidthKbps()
1528 if (count >= BANDWIDTH_STATS_COUNT_THR) { in getAvgUsedBandwidthAdjacentThreeLevelKbps()
1568 if (mBandwidthStatsCount[mBandIdx][link][mSignalLevel] < (BANDWIDTH_STATS_COUNT_THR in calculateError()