Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreCard.java956 builder.setRx(toBandwidthStatsAllLevel(values[LINK_RX], counts[LINK_RX])); in toBandwidthStatsAllLink()
991 mergeBandwidthStatsAllLevel(source.getRx(), values[LINK_RX], counts[LINK_RX]); in mergeBandwidthStatsAllLink()
1040 static final int LINK_RX = 1; field in WifiScoreCard
1162 mFilterKbps[LINK_RX] = 0; in updateEventStats()
1287 mBandwidthSampleValid[LINK_RX] = false; in updateLinkBandwidth()
1306 updateBandwidthWithFilterApplied(LINK_RX, wifiInfo); in updateLinkBandwidth()
1318 mByteDeltaAccThr[LINK_RX] = getByteDeltaAccThr(LINK_RX); in updateWifiInfo()
1355 updateBandwidthSample(rxBytesDelta, LINK_RX, onTimeMs, rxBandwidthCapMbps); in updateLinkBandwidthTxRxSample()
1357 if (!mBandwidthSampleValid[LINK_RX] && !mBandwidthSampleValid[LINK_TX]) { in updateLinkBandwidthTxRxSample()
1369 .append(" rxKBThr ").append(mByteDeltaAccThr[LINK_RX] / 1024) in updateLinkBandwidthTxRxSample()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java39 import static com.android.server.wifi.WifiScoreCard.LINK_RX;
1752 assertEquals(LINK_BANDWIDTH_INIT_KBPS[1][LINK_RX][2], perNetwork.getRxLinkBandwidthKbps()); in testLinkBandwidthInvalidTrafficStats()
1936 assertEquals(LINK_BANDWIDTH_INIT_KBPS[1][LINK_RX][signalLevel], in testLinkBandwidthLowOnTimeHighSignalLevel()
1948 assertEquals(LINK_BANDWIDTH_INIT_KBPS[0][LINK_RX][0], in testGetLinkBandwidthWithoutUpdateReturnLevel0Band0Value()