Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreCard.java955 builder.setTx(toBandwidthStatsAllLevel(values[LINK_TX], counts[LINK_TX])); in toBandwidthStatsAllLink()
988 mergeBandwidthStatsAllLevel(source.getTx(), values[LINK_TX], counts[LINK_TX]); in mergeBandwidthStatsAllLink()
1039 static final int LINK_TX = 0; field in WifiScoreCard
1161 mFilterKbps[LINK_TX] = 0; in updateEventStats()
1286 mBandwidthSampleValid[LINK_TX] = false; in updateLinkBandwidth()
1305 updateBandwidthWithFilterApplied(LINK_TX, wifiInfo); in updateLinkBandwidth()
1317 mByteDeltaAccThr[LINK_TX] = getByteDeltaAccThr(LINK_TX); in updateWifiInfo()
1347 updateBandwidthSample(txBytesDelta, LINK_TX, onTimeMs, txBandwidthCapMbps); in updateLinkBandwidthTxRxSample()
1357 if (!mBandwidthSampleValid[LINK_RX] && !mBandwidthSampleValid[LINK_TX]) { in updateLinkBandwidthTxRxSample()
1368 .append(" txKBThr ").append(mByteDeltaAccThr[LINK_TX] / 1024) in updateLinkBandwidthTxRxSample()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java40 import static com.android.server.wifi.WifiScoreCard.LINK_TX;
1934 assertEquals(LINK_BANDWIDTH_INIT_KBPS[1][LINK_TX][signalLevel], in testLinkBandwidthLowOnTimeHighSignalLevel()
1946 assertEquals(LINK_BANDWIDTH_INIT_KBPS[0][LINK_TX][0], in testGetLinkBandwidthWithoutUpdateReturnLevel0Band0Value()