Home
last modified time | relevance | path

Searched refs:linkSpeed (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DLinkProbeManager.java225 int linkSpeed = wifiInfo.getLinkSpeed(); in updateConnectionStats() local
227 && linkSpeed > LINK_SPEED_THRESHOLD_MBPS) { in updateConnectionStats()
241 rssi, linkSpeed)); in updateConnectionStats()
256 timeSinceLastTxSuccessIncreaseMs, rssi, linkSpeed, in updateConnectionStats()
266 timeSinceLastTxSuccessIncreaseMs, rssi, linkSpeed, reason); in updateConnectionStats()
366 int linkSpeed = wifiInfo.getLinkSpeed(); in updateConnectionStats() local
368 && linkSpeed > mLinkSpeedThreshold) { in updateConnectionStats()
DWifiScoreReport.java252 int linkSpeed = wifiInfo.getLinkSpeed(); in logLinkMetrics() local
263 rssi, filteredRssi, rssiThreshold, freq, linkSpeed, in logLinkMetrics()
DWifiMetrics.java1578 public void incrementLinkSpeedCount(int linkSpeed, int rssi) { in incrementLinkSpeedCount() argument
1580 && linkSpeed >= MIN_LINK_SPEED_MBPS in incrementLinkSpeedCount()
1586 LinkSpeedCount linkSpeedCount = mLinkSpeedCounts.get(linkSpeed); in incrementLinkSpeedCount()
1589 linkSpeedCount.linkSpeedMbps = linkSpeed; in incrementLinkSpeedCount()
1590 mLinkSpeedCounts.put(linkSpeed, linkSpeedCount); in incrementLinkSpeedCount()
4702 int rssi, int linkSpeed, int elapsedTimeMs) {
4711 mLinkProbeSuccessLinkSpeedCounts.increment(linkSpeed);
4736 int rssi, int linkSpeed, @WifiNative.SendMgmtFrameError int reason) {
4745 mLinkProbeFailureLinkSpeedCounts.increment(linkSpeed);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DLinkProbeManagerTest.java125 int linkSpeed = LinkProbeManager.LINK_SPEED_THRESHOLD_MBPS + 10; in testLinkProbeTriggeredAndAcked() local
126 mWifiInfo.setLinkSpeed(linkSpeed); in testLinkProbeTriggeredAndAcked()
145 verify(mWifiMetrics).logLinkProbeSuccess(timeDelta, rssi, linkSpeed, TEST_ELAPSED_TIME_MS); in testLinkProbeTriggeredAndAcked()
168 int linkSpeed = LinkProbeManager.LINK_SPEED_THRESHOLD_MBPS - 2; in testLinkProbeTriggeredAndFailed() local
169 mWifiInfo.setLinkSpeed(linkSpeed); in testLinkProbeTriggeredAndFailed()
181 verify(mWifiMetrics).logLinkProbeFailure(timeDelta, rssi, linkSpeed, in testLinkProbeTriggeredAndFailed()
314 int linkSpeed = LinkProbeManager.LINK_SPEED_THRESHOLD_MBPS + 10; in testLinkProbeFeatureDisabled() local
315 mWifiInfo.setLinkSpeed(linkSpeed); in testLinkProbeFeatureDisabled()
346 int linkSpeed = LinkProbeManager.LINK_SPEED_THRESHOLD_MBPS + 10; in testLinkProbeFeatureUnsupported() local
347 mWifiInfo.setLinkSpeed(linkSpeed); in testLinkProbeFeatureUnsupported()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java388 public void setLinkSpeed(int linkSpeed) { in setLinkSpeed() argument
389 mLinkSpeed = linkSpeed; in setLinkSpeed()