Home
last modified time | relevance | path

Searched refs:mWifiConfigManager (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiQualifiedNetworkSelector.java51 private WifiConfigManager mWifiConfigManager; field in WifiQualifiedNetworkSelector
166 mWifiConfigManager = configureStore; in WifiQualifiedNetworkSelector()
192 mNoIntnetPenalty = (mWifiConfigManager.mThresholdSaturatedRssi24.get() + mRssiScoreOffset) in WifiQualifiedNetworkSelector()
193 * mRssiScoreSlope + mWifiConfigManager.mBandAward5Ghz.get() in WifiQualifiedNetworkSelector()
194 + mWifiConfigManager.mCurrentNetworkBoost.get() + mSameBssidAward + mSecurityAward; in WifiQualifiedNetworkSelector()
235 if (mWifiConfigManager.isOpenNetwork(currentNetwork)) { in isNetworkQualified()
250 && currentRssi < mWifiConfigManager.mThresholdQualifiedRssi24.get()) in isNetworkQualified()
252 && currentRssi < mWifiConfigManager.mThresholdQualifiedRssi5.get())) { in isNetworkQualified()
292 if (!mWifiConfigManager.getEnableAutoJoinWhenAssociated()) { in needQualifiedNetworkSelection()
309 mWifiConfigManager.getWifiConfiguration(mWifiInfo.getNetworkId()); in needQualifiedNetworkSelection()
[all …]
DWifiStateMachine.java188 private WifiConfigManager mWifiConfigManager; field in WifiStateMachine
404 autoRoamSetBSSID(mWifiConfigManager.getWifiConfiguration(netId), bssid); in autoRoamSetBSSID()
419 if (!mWifiConfigManager.ROAM_ON_ANY) { in autoRoamSetBSSID()
434 mWifiConfigManager.saveWifiConfigBSSID(config, bssid); in autoRoamSetBSSID()
474 mWifiConfigManager.saveWifiConfigBSSID(config, bssid); in setTargetBssid()
482 if (!mWifiConfigManager.isNetworkConfigured(config)) { in recordUidIfAuthorized()
485 } else if (!mWifiConfigManager.canModifyNetwork(uid, config, onlyAnnotate)) { in recordUidIfAuthorized()
507 final WifiConfiguration config = mWifiConfigManager.getWifiConfiguration(netId); in deferForUserInput()
1024 mWifiConfigManager = mFacade.makeWifiConfigManager(context, mWifiNative, facade, in WifiStateMachine()
1039 mWifiQualifiedNetworkSelector = new WifiQualifiedNetworkSelector(mWifiConfigManager, in WifiStateMachine()
[all …]
DSupplicantStateTracker.java51 private final WifiConfigManager mWifiConfigManager; field in SupplicantStateTracker
94 mWifiConfigManager = wcs; in SupplicantStateTracker()
121 mWifiConfigManager.enableAllNetworks(); in handleNetworkConnectionFailure()
125 mWifiConfigManager.updateNetworkSelectionStatus(netId, disableReason); in handleNetworkConnectionFailure()
337 mWifiConfigManager.enableAllNetworks(); in enter()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java140 private WifiConfigManager mWifiConfigManager; field in WifiConfigManagerTest
167 mWifiConfigManager = new WifiConfigManager(mContext, mWifiNative, mFrameworkFacade, mClock, in setUp()
173 mConfiguredNetworks = (ConfigurationMap) configuredNetworksField.get(mWifiConfigManager); in setUp()
186 writerField.set(mWifiConfigManager, mWriter); in setUp()
191 (WifiNetworkHistory) networkHistoryField.get(mWifiConfigManager); in setUp()
200 moManagerField.set(mWifiConfigManager, mMOManager); in setUp()
206 mWifiConfigManager.handleUserSwitch(newUserId); in switchUser()
226 final int originalUserId = mWifiConfigManager.getCurrentUserId(); in addNetwork()
239 mWifiConfigManager.saveNetwork(config, configCopy.creatorUid); in addNetwork()
258 assertEquals(entry.getValue().size(), mWifiConfigManager.getConfiguredNetworksSize()); in testGetConfiguredNetworksSize()
[all …]
DWifiQualifiedNetworkSelectorTest.java72 mWifiConfigManager = getWifiConfigManager(); in setUp()
76 mWifiQualifiedNetworkSelector = new WifiQualifiedNetworkSelector(mWifiConfigManager, in setUp()
90 private WifiConfigManager mWifiConfigManager = null; field in WifiQualifiedNetworkSelectorTest
226 when(mWifiConfigManager.getWifiConfiguration(anyInt())) in prepareConfigStore()
255 when(mWifiConfigManager.updateSavedNetworkWithNewScanDetail(eq(scanDetail), in scanResultLinkConfiguration()
263 when(mWifiConfigManager.updateSavedNetworkWithNewScanDetail(eq(scanDetail), in scanResultLinkConfiguration()
269 when(mWifiConfigManager.updateSavedNetworkWithNewScanDetail(eq(scanDetails.get(i)), in scanResultLinkConfiguration()
338 when(mWifiConfigManager.getSavedNetworks()).thenReturn(savedNetwork); in chooseNetworkDisconnected2GHighestRssi()
376 when(mWifiConfigManager.getSavedNetworks()).thenReturn(savedNetwork); in chooseNetworkDisconnected5GHighestRssi()
413 when(mWifiConfigManager.getSavedNetworks()).thenReturn(savedNetwork); in chooseNetworkDisconnect5GOver2GTest()
[all …]
DWifiConnectivityManagerTest.java70 mWifiConfigManager = mockWifiConfigManager(); in setUp()
75 mWifiScanner, mWifiConfigManager, mWifiInfo, mWifiQNS, mWifiInjector, in setUp()
97 private WifiConfigManager mWifiConfigManager; field in WifiConnectivityManagerTest
758 when(mWifiConfigManager.makeChannelList(any(WifiConfiguration.class), anyInt())) in checkSingleScanSettingsWhenConnectedWithLowDataRate()
797 when(mWifiConfigManager.makeChannelList(any(WifiConfiguration.class), anyInt())) in checkSingleScanSettingsWhenConnectedWithHighDataRate()
838 when(mWifiConfigManager.makeChannelList(any(WifiConfiguration.class), anyInt())) in checkSingleScanSettingsWhenConnectedWithHighDataRateNotInCache()
DWifiStateMachineTest.java207 mWifiConfigManager = new WifiConfigManager(context, wifiNative, frameworkFacade, in getFrameworkFacade()
209 return mWifiConfigManager; in getFrameworkFacade()
314 WifiConfigManager mWifiConfigManager; field in WifiStateMachineTest
830 mWifiConfigManager.getHiddenConfiguredNetworkIds()); in scanWithHiddenNetwork()
988 assertEquals(UserHandle.USER_SYSTEM, mWifiConfigManager.getCurrentUserId()); in handleUserSwitch()
993 assertEquals(10, mWifiConfigManager.getCurrentUserId()); in handleUserSwitch()