Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java249 mWifiInfo.setRssi((int) curRssi); in processRssiThreshold()
363 private final WifiInfo mWifiInfo; field in WifiStateMachine
1038 mWifiInfo = new WifiInfo(); in WifiStateMachine()
1040 mContext, mWifiInfo, mWifiInjector.getClock()); in WifiStateMachine()
1559 mWifiInfo.updatePacketRates(mTxPkts, mRxPkts); in getWifiLinkLayerStats()
1561 mWifiInfo.updatePacketRates(stats); in getWifiLinkLayerStats()
1810 SupplicantState SupplicantState = mWifiInfo.getSupplicantState(); in isSupplicantTransientState()
1843 return mWifiInfo; in getWifiInfo()
2283 pw.println("mWifiInfo " + mWifiInfo); in dump()
2393 sb.append(" tx=").append(mWifiInfo.txSuccessRate); in getLogRecString()
[all …]
DWifiConnectivityManager.java127 private final WifiInfo mWifiInfo; field in WifiConnectivityManager
482 mWifiInfo = wifiInfo; in WifiConnectivityManager()
573 || targetBssid.equals(mWifiInfo.getBSSID())) in connectToNetwork()
574 && SupplicantState.isConnecting(mWifiInfo.getSupplicantState())) { in connectToNetwork()
591 .getWifiConfiguration(mWifiInfo.getNetworkId()); in connectToNetwork()
593 (mWifiInfo.getSSID() + " : " + mWifiInfo.getBSSID()); in connectToNetwork()
686 && (mWifiInfo.txSuccessRate in startPeriodicSingleScan()
688 || mWifiInfo.rxSuccessRate in startPeriodicSingleScan()
691 + mWifiInfo.txSuccessRate + " rxSuccessRate=" in startPeriodicSingleScan()
692 + mWifiInfo.rxSuccessRate); in startPeriodicSingleScan()
DWifiQualifiedNetworkSelector.java52 private WifiInfo mWifiInfo; field in WifiQualifiedNetworkSelector
167 mWifiInfo = wifiInfo; in WifiQualifiedNetworkSelector()
241 if (mWifiInfo.is24GHz() && (mUserPreferedBand != WifiManager.WIFI_FREQUENCY_BAND_2GHZ)) { in isNetworkQualified()
243 + " Selection Current band = " + (mWifiInfo.is24GHz() ? "2.4GHz band" in isNetworkQualified()
248 int currentRssi = mWifiInfo.getRssi(); in isNetworkQualified()
249 if ((mWifiInfo.is24GHz() in isNetworkQualified()
251 || (mWifiInfo.is5GHz() in isNetworkQualified()
253 localLog("Current band = " + (mWifiInfo.is24GHz() ? "2.4GHz band" : "5GHz band") in isNetworkQualified()
309 mWifiConfigManager.getWifiConfiguration(mWifiInfo.getNetworkId()); in needQualifiedNetworkSelection()
618 mWifiConfigManager.getWifiConfiguration(mWifiInfo.getNetworkId()); in selectQualifiedNetwork()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiQualifiedNetworkSelectorTest.java73 mWifiInfo = getWifiInfo(); in setUp()
77 mContext, mWifiInfo, mClock); in setUp()
95 private WifiInfo mWifiInfo; field in WifiQualifiedNetworkSelectorTest
1145 when(mWifiInfo.getNetworkId()).thenReturn(1); in noNewQNSCurrentNetworkQualified()
1146 when(mWifiInfo.getBSSID()).thenReturn(bssids[1]); in noNewQNSCurrentNetworkQualified()
1147 when(mWifiInfo.is24GHz()).thenReturn(false); in noNewQNSCurrentNetworkQualified()
1189 when(mWifiInfo.getNetworkId()).thenReturn(1); in noNewQNSLinkBouncing()
1190 when(mWifiInfo.getBSSID()).thenReturn(bssids[1]); in noNewQNSLinkBouncing()
1191 when(mWifiInfo.is24GHz()).thenReturn(false); in noNewQNSLinkBouncing()
1225 when(mWifiInfo.getNetworkId()).thenReturn(0); in currentNetworkNotQualifiedDueToBandMismatch()
[all …]
DWifiConnectivityManagerTest.java71 mWifiInfo = getWifiInfo(); in setUp()
75 mWifiScanner, mWifiConfigManager, mWifiInfo, mWifiQNS, mWifiInjector, in setUp()
98 private WifiInfo mWifiInfo; field in WifiConnectivityManagerTest
746 mWifiInfo.txSuccessRate = 0; in checkSingleScanSettingsWhenConnectedWithLowDataRate()
747 mWifiInfo.rxSuccessRate = 0; in checkSingleScanSettingsWhenConnectedWithLowDataRate()
787 mWifiInfo.txSuccessRate = WifiConfigManager.MAX_TX_PACKET_FOR_FULL_SCANS * 2; in checkSingleScanSettingsWhenConnectedWithHighDataRate()
788 mWifiInfo.rxSuccessRate = WifiConfigManager.MAX_RX_PACKET_FOR_FULL_SCANS * 2; in checkSingleScanSettingsWhenConnectedWithHighDataRate()
829 mWifiInfo.txSuccessRate = WifiConfigManager.MAX_TX_PACKET_FOR_FULL_SCANS * 2; in checkSingleScanSettingsWhenConnectedWithHighDataRateNotInCache()
830 mWifiInfo.rxSuccessRate = WifiConfigManager.MAX_RX_PACKET_FOR_FULL_SCANS * 2; in checkSingleScanSettingsWhenConnectedWithHighDataRateNotInCache()