Home
last modified time | relevance | path

Searched refs:linkSpeed (Results 1 – 4 of 4) 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()
DWifiMetrics.java1633 public void incrementLinkSpeedCount(int linkSpeed, int rssi) { in incrementLinkSpeedCount() argument
1635 && linkSpeed >= MIN_LINK_SPEED_MBPS in incrementLinkSpeedCount()
1641 LinkSpeedCount linkSpeedCount = mLinkSpeedCounts.get(linkSpeed); in incrementLinkSpeedCount()
1644 linkSpeedCount.linkSpeedMbps = linkSpeed; in incrementLinkSpeedCount()
1645 mLinkSpeedCounts.put(linkSpeed, linkSpeedCount); in incrementLinkSpeedCount()
4848 int rssi, int linkSpeed, int elapsedTimeMs) {
4857 mLinkProbeSuccessLinkSpeedCounts.increment(linkSpeed);
4882 int rssi, int linkSpeed, @WifiNative.SendMgmtFrameError int reason) {
4891 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()