Home
last modified time | relevance | path

Searched refs:LINK_SPEED_UNKNOWN (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiInfo.java240 public static final int LINK_SPEED_UNKNOWN = -1; field in WifiInfo
510 mLinkSpeed = LINK_SPEED_UNKNOWN; in WifiInfo()
528 setLinkSpeed(LINK_SPEED_UNKNOWN); in reset()
529 setTxLinkSpeedMbps(LINK_SPEED_UNKNOWN); in reset()
530 setRxLinkSpeedMbps(LINK_SPEED_UNKNOWN); in reset()
531 setMaxSupportedTxLinkSpeedMbps(LINK_SPEED_UNKNOWN); in reset()
532 setMaxSupportedRxLinkSpeedMbps(LINK_SPEED_UNKNOWN); in reset()
DMloLink.java127 mRxLinkSpeed = WifiInfo.LINK_SPEED_UNKNOWN; in MloLink()
128 mTxLinkSpeed = WifiInfo.LINK_SPEED_UNKNOWN; in MloLink()
DWifiUsabilityStatsEntry.java707 mTxLinkSpeedMbps = WifiInfo.LINK_SPEED_UNKNOWN; in LinkStats()
708 mRxLinkSpeedMbps = WifiInfo.LINK_SPEED_UNKNOWN; in LinkStats()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiInfoTest.java574 assertEquals(WifiInfo.LINK_SPEED_UNKNOWN, wifiInfo.getMaxSupportedTxLinkSpeedMbps()); in testWifiInfoResetValue()
575 assertEquals(WifiInfo.LINK_SPEED_UNKNOWN, wifiInfo.getMaxSupportedRxLinkSpeedMbps()); in testWifiInfoResetValue()
576 assertEquals(WifiInfo.LINK_SPEED_UNKNOWN, wifiInfo.getTxLinkSpeedMbps()); in testWifiInfoResetValue()
577 assertEquals(WifiInfo.LINK_SPEED_UNKNOWN, wifiInfo.getRxLinkSpeedMbps()); in testWifiInfoResetValue()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreCard.java21 import static android.net.wifi.WifiInfo.LINK_SPEED_UNKNOWN;
324 updatePerNetwork(Event.DISCONNECTION, ssidDisconnected, INVALID_RSSI, LINK_SPEED_UNKNOWN, in noteDisconnectionForIface()
416 return (txRate >= HEALTH_MONITOR_MIN_TX_PACKET_PER_SEC) ? txSpeed : LINK_SPEED_UNKNOWN; in geTxLinkSpeedWithSufficientTxRate()
484 updatePerNetwork(Event.CONNECTION_ATTEMPT, ssid, scanRssi, LINK_SPEED_UNKNOWN, in noteConnectionAttempt()
535 updatePerNetwork(Event.CONNECTION_FAILURE, ssid, scanRssi, LINK_SPEED_UNKNOWN, in noteConnectionFailure()
1054 private int mLastTxSpeedPoll = LINK_SPEED_UNKNOWN;
1344 int txBandwidthCapMbps = (txLinkSpeedMbps == LINK_SPEED_UNKNOWN) in updateLinkBandwidthTxRxSample()
1353 int rxBandwidthCapMbps = (rxLinkSpeedMbps == LINK_SPEED_UNKNOWN) in updateLinkBandwidthTxRxSample()
DThroughputPredictor.java383 return WifiInfo.LINK_SPEED_UNKNOWN; in predictThroughputInternal()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java429 if (info != null && info.getTxLinkSpeedMbps() != WifiInfo.LINK_SPEED_UNKNOWN) { in initWifiConfigController()
434 if (info != null && info.getRxLinkSpeedMbps() != WifiInfo.LINK_SPEED_UNKNOWN) { in initWifiConfigController()
/packages/modules/Wifi/framework/api/
Dcurrent.txt408 field public static final int LINK_SPEED_UNKNOWN = -1; // 0xffffffff