/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 216 private WifiConfigManager mWifiConfigManager; field in WifiConfigManagerTest 382 mWifiConfigManager.addOnNetworkUpdateListener(mWcmListener); in setUp() 428 assertTrue(mWifiConfigManager.getConfiguredNetworks().isEmpty()); in testGetConfiguredNetworksBeforeLoadFromStore() 429 assertTrue(mWifiConfigManager.getConfiguredNetworksWithPasswords().isEmpty()); in testGetConfiguredNetworksBeforeLoadFromStore() 441 mWifiConfigManager.addOrUpdateNetwork(openNetwork, TEST_CREATOR_UID).isSuccess()); in testAddNetworkIsRejectedBeforeLoadFromStore() 450 assertFalse(mWifiConfigManager.saveToStore()); in testSaveToStoreIsRejectedBeforeLoadFromStore() 454 assertTrue(mWifiConfigManager.loadFromStore()); in testSaveToStoreIsRejectedBeforeLoadFromStore() 457 assertTrue(mWifiConfigManager.saveToStore()); in testSaveToStoreIsRejectedBeforeLoadFromStore() 478 mWifiConfigManager.getConfiguredNetworksWithPasswords(); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails() 499 mWifiConfigManager.getConfiguredNetworksWithPasswords(); in testAddSingleOpenNetwork() [all …]
|
D | ConnectHelperTest.java | 53 private WifiConfigManager mWifiConfigManager; field in ConnectHelperTest 67 mConnectHelper = new ConnectHelper(activeModeWarden, mWifiConfigManager); in setUp() 74 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(mWifiConfig); in verifyConnectNetworkSuccess() 80 verify(mWifiConfigManager).updateBeforeConnect(TEST_NETWORK_ID, TEST_CALLING_UID, in verifyConnectNetworkSuccess() 101 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(null); in connectToNetwork_invalidNetId_failure() 106 verify(mWifiConfigManager, never()).updateBeforeConnect(anyInt(), anyInt(), in connectToNetwork_invalidNetId_failure()
|
D | SavedNetworkNominatorTest.java | 76 mSavedNetworkNominator = new SavedNetworkNominator(mWifiConfigManager, in setUp() 108 @Mock private WifiConfigManager mWifiConfigManager; field in SavedNetworkNominatorTest 139 freqs, caps, levels, securities, mWifiConfigManager, mClock); in ignoreNetworksIfUseExternalScores() 165 freqs, levels, mWifiConfigManager, mClock); in ignoreNetworkIfSimIsAbsentForEapSimNetwork() 195 freqs, caps, levels, securities, mWifiConfigManager, mClock); in ignoreEphemeralNetworks() 225 freqs, caps, levels, securities, mWifiConfigManager, mClock); in ignoreNetworksIfAutojoinNotAllowed() 261 freqs, caps, levels, securities, mWifiConfigManager, mClock); in returnNoCandidateIfNoNetworksAllowAutojoin() 309 freqs, levels, mWifiConfigManager, mClock); in testIgnoreNetworksIfMeteredAndFromNonDataSim() 340 freqs, levels, mWifiConfigManager, mClock); in testIgnoreNetworksFromAppIfNoImsiProtection() 385 freqs, levels, mWifiConfigManager, mClock); in testAllowNetworksIfOobPseudonymEnabledForImsiProtection() [all …]
|
D | WifiNetworkSelectorTest.java | 137 mWifiConfigManager, mClock, in setUp() 287 mWifiConfigManager.getSavedNetworkForScanDetailAndCache(scanDetail); in nominateNetworks() 288 mWifiConfigManager.setNetworkCandidateScanResult( in nominateNetworks() 292 mWifiConfigManager.getSavedNetworkForScanDetailAndCache(scanDetail); in nominateNetworks() 302 @Mock private WifiConfigManager mWifiConfigManager; field in WifiNetworkSelectorTest 403 when(mWifiConfigManager.getLastSelectedNetwork()) in setupWifiConfigManager() 412 when(mWifiConfigManager.getConfiguredNetwork(anyInt())) in testNetworkInsufficientWhenSufficiencyCheckDisabled() 435 when(mWifiConfigManager.getConfiguredNetwork(anyInt())) in testNetworkInsufficientWhenMetered() 451 when(mWifiConfigManager.getConfiguredNetwork(anyInt())) in testNetworkInsufficientWhenMarkedUnusable() 467 when(mWifiConfigManager.getConfiguredNetwork(anyInt())) in testNetworkInsufficientWhenLowAospScore() [all …]
|
D | InsecureEapNetworkHandlerTest.java | 320 @Mock WifiConfigManager mWifiConfigManager; field in InsecureEapNetworkHandlerTest 501 verify(mWifiConfigManager, atLeastOnce()).updateNetworkSelectionStatus(eq(config.networkId), in verifyTrustOnFirstUseWhenTrustOnFirstUseNoPendingCert() 736 mWifiConfigManager, in setupTest() 786 verify(mWifiConfigManager).addOnNetworkUpdateListener( in setupTest() 854 verify(mWifiConfigManager, atLeastOnce()).updateNetworkSelectionStatus(eq(config.networkId), in verifyOnErrorWithoutCert() 931 verify(mWifiConfigManager, atLeastOnce()).updateNetworkSelectionStatus(eq(config.networkId), in verifyOnErrorWithIncompleteChain() 957 verify(mWifiConfigManager, atLeastOnce()).updateNetworkSelectionStatus(eq(config.networkId), in verifyOnErrorWithFakeRootCaCertInTheChain() 982 verify(mWifiConfigManager, atLeastOnce()).updateNetworkSelectionStatus(eq(config.networkId), in verifyOnErrorWithServerCertificateWithoutCommonName() 996 mWifiConfigManager, in verifySetPendingCertificateNoCrashWithNoConfig() 1144 verify(mWifiConfigManager).updateNetworkSelectionStatus(eq(config.networkId), in verifyTrustOnFirstUseFlow() [all …]
|
D | ClientModeImplTest.java | 535 @Mock WifiConfigManager mWifiConfigManager; field in ClientModeImplTest 679 }).when(mWifiConfigManager).getRandomizedMacAndUpdateIfNeeded(any(), anyBoolean()); in setUp() 822 mWifiPermissionsUtil, mWifiConfigManager, mPasspointManager, in initializeCmi() 846 verify(mWifiConfigManager, atLeastOnce()).addOnNetworkUpdateListener( in initializeCmi() 989 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(Arrays.asList(config)); in initializeMocksForAddedNetwork() 990 when(mWifiConfigManager.getConfiguredNetwork(0)).thenReturn(config); in initializeMocksForAddedNetwork() 991 when(mWifiConfigManager.getConfiguredNetworkWithoutMasking(0)).thenReturn(config); in initializeMocksForAddedNetwork() 1013 when(mWifiConfigManager.getConfiguredNetwork(eq(config.networkId))) in setupAndStartConnectSequence() 1015 when(mWifiConfigManager.getConfiguredNetworkWithoutMasking( in setupAndStartConnectSequence() 1031 verify(mWifiConfigManager).getConfiguredNetworkWithoutMasking(eq(config.networkId)); in validateSuccessfulConnectSequence() [all …]
|
D | WakeupLockTest.java | 49 @Mock private WifiConfigManager mWifiConfigManager; field in WakeupLockTest 78 mWakeupLock = new WakeupLock(mWifiConfigManager, mWifiWakeMetrics, mClock); in setUp() 152 verify(mWifiConfigManager, times(2)).saveToStore(); in addToLockSavesToStore() 255 verify(mWifiConfigManager).saveToStore(); in initializeShouldSaveSsidsToStore() 267 verify(mWifiConfigManager, times(2)).saveToStore(); in updateShouldOnlySaveIfLockChanges() 277 verify(mWifiConfigManager, times(1)).saveToStore(); in updateShouldNotSaveIfLockDoesNotChange()
|
D | ConnectionFailureNotifierTest.java | 63 @Mock private WifiConfigManager mWifiConfigManager; field in ConnectionFailureNotifierTest 88 mContext, mFrameworkFacade, mWifiConfigManager, mWifiConnectivityManager, in setUp() 128 when(mWifiConfigManager.getConfiguredNetwork(config.networkId)).thenReturn(config); in testConnectionFailureSendRandomizationSettingsNotification() 160 verify(mWifiConfigManager).addOrUpdateNetwork( in testConnectionFailureSendRandomizationSettingsNotification() 173 when(mWifiConfigManager.getConfiguredNetwork(config.networkId)).thenReturn(config); in testWifiConfigurationMismatch() 184 when(mWifiConfigManager.getConfiguredNetwork(anyInt())) in testWifiConfigurationMismatch()
|
D | WakeupControllerTest.java | 92 @Mock private WifiConfigManager mWifiConfigManager; field in WakeupControllerTest 149 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(Arrays.asList(openNetwork)); in setUp() 192 mWifiConfigManager, in initializeWakeupController() 347 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(Collections.emptyList()); in startDoesNotSetWakeupLockWhenNoSavedNetworksOrSuggestions() 437 when(mWifiConfigManager.getSavedNetworks(anyInt())) in startInitializesWakeupLockWithSavedScanResults() 444 when(mWifiConfigManager.getMostRecentScanResultsForConfiguredNetworks(anyInt())) in startInitializesWakeupLockWithSavedScanResults() 484 when(mWifiConfigManager.getMostRecentScanResultsForConfiguredNetworks(anyInt())) in startInitializesWakeupLockWithNetworkSuggestions() 513 when(mWifiConfigManager.getSavedNetworks(anyInt())) in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions() 528 when(mWifiConfigManager.getMostRecentScanResultsForConfiguredNetworks(anyInt())) in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions() 556 when(mWifiConfigManager.getSavedNetworks(anyInt())) in getGoodSavedNetworksAndSuggestionsIgnoreInvalidatedCaptivePortal() [all …]
|
D | NetworkSuggestionNominatorTest.java | 88 private @Mock WifiConfigManager mWifiConfigManager; field in NetworkSuggestionNominatorTest 103 mWifiNetworkSuggestionsManager, mWifiConfigManager, in setUp() 108 when(mWifiConfigManager.isNetworkTemporarilyDisabledByUser(anyString())).thenReturn(false); in setUp() 528 verify(mWifiConfigManager).getConfiguredNetwork(eq(suggestions[0] in testSelectNetworkSuggestionForOneMatchButInToWifiConfigManager() 532 verifyNoMoreInteractions(mWifiConfigManager); in testSelectNetworkSuggestionForOneMatchButInToWifiConfigManager() 573 when(mWifiConfigManager.getConfiguredNetwork(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetwork() 588 verify(mWifiConfigManager, times(suggestionSsids.length)) in testSelectNetworkSuggestionForOneMatchForExistingNetwork() 590 verify(mWifiConfigManager).getConfiguredNetwork(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetwork() 592 verify(mWifiConfigManager).isNonCarrierMergedNetworkTemporarilyDisabled(any()); in testSelectNetworkSuggestionForOneMatchForExistingNetwork() 594 verify(mWifiConfigManager).getConfiguredNetwork(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetwork() [all …]
|
D | WifiServiceImplTest.java | 441 @Mock WifiConfigManager mWifiConfigManager; field in WifiServiceImplTest 610 when(mWifiInjector.getWifiConfigManager()).thenReturn(mWifiConfigManager); in setUp() 821 when(mWifiConfigManager.removeNetwork(anyInt(), anyInt(), anyString())).thenReturn(false); in testRemoveNetworkFailureAppBelowQSdk() 2009 verify(mWifiConfigManager).loadFromStore(); in testWifiControllerStartsWhenDeviceBootsWithWifiDisabled() 2020 verify(mWifiConfigManager).loadFromStore(); in testWifiVerboseLoggingInitialization() 2041 verify(mWifiConfigManager).loadFromStore(); in testWifiFullyStartsWhenDeviceBootsWithWifiEnabled() 3199 when(mWifiConfigManager.getSavedNetworks(anyInt())) in testConfiguredNetworkListAreEmptyFromAppWithoutPermission() 3218 when(mWifiConfigManager.getSavedNetworks(anyInt())) in testConfiguredNetworkListAreEmptyOnSecurityException() 3237 when(mWifiConfigManager.getSavedNetworks(anyInt())) in testConfiguredNetworkListAreVisibleFromPermittedApp() 3248 verify(mWifiConfigManager).getSavedNetworks(eq(WIFI_UID)); in testConfiguredNetworkListAreVisibleFromPermittedApp() [all …]
|
D | WifiPseudonymManagerTest.java | 83 private WifiConfigManager mWifiConfigManager; field in WifiPseudonymManagerTest 107 when(mWifiInjector.getWifiConfigManager()).thenReturn(mWifiConfigManager); in setUp() 222 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt())) in updateWifiConfiguration_freshPseudonymAndPasspoint_update() 230 verify(mWifiConfigManager).addOrUpdateNetwork(any(), anyInt()); in updateWifiConfiguration_freshPseudonymAndPasspoint_update() 248 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt())) in updateWifiConfiguration_freshPseudonymAndNonPasspointNetworkSuggestion_update() 255 verify(mWifiConfigManager).addOrUpdateNetwork(any(), anyInt()); in updateWifiConfiguration_freshPseudonymAndNonPasspointNetworkSuggestion_update() 274 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt())) in updateWifiConfiguration_freshPseudonym_update() 282 verify(mWifiConfigManager).addOrUpdateNetwork(any(), anyInt()); in updateWifiConfiguration_freshPseudonym_update() 299 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt())) in updateWifiConfiguration_freshPseudonymWithDecoratedIdentity_noUpdate()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkNominateHelperTest.java | 100 @Mock WifiConfigManager mWifiConfigManager; field in PasspointNetworkNominateHelperTest 186 mNominateHelper = new PasspointNetworkNominateHelper(mPasspointManager, mWifiConfigManager, in setUp() 249 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt(), in evaluateScansWithNetworkMatchingHomeProvider() 251 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingHomeProvider() 259 verify(mWifiConfigManager).addOrUpdateNetwork(addedConfig.capture(), anyInt(), any(), in evaluateScansWithNetworkMatchingHomeProvider() 267 verify(mWifiConfigManager).enableNetwork( in evaluateScansWithNetworkMatchingHomeProvider() 269 verify(mWifiConfigManager).setNetworkCandidateScanResult( in evaluateScansWithNetworkMatchingHomeProvider() 271 verify(mWifiConfigManager).updateScanDetailForNetwork( in evaluateScansWithNetworkMatchingHomeProvider() 304 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt(), in evaluateScansWithNoInternetBit() 306 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNoInternetBit() [all …]
|
D | PasspointManagerTest.java | 206 @Mock WifiConfigManager mWifiConfigManager; field in PasspointManagerTest 290 mWifiKeyStore, mClock, mObjectFactory, mWifiConfigManager, in setUp() 322 verify(mWifiConfigManager).addOnNetworkUpdateListener(mNetworkListenerCaptor.capture()); in setUp() 653 reset(mWifiConfigManager); in addRemoveSavedProviderWithValidUserCredential() 677 verify(mWifiConfigManager, times(3)).removePasspointConfiguredNetwork( in addRemoveSavedProviderWithValidUserCredential() 683 verify(mWifiConfigManager, times(7)).saveToStore(); in addRemoveSavedProviderWithValidUserCredential() 688 verify(mWifiConfigManager).removeConnectChoiceFromAllNetworks(config.getUniqueId()); in addRemoveSavedProviderWithValidUserCredential() 763 verify(mWifiConfigManager, times(2)).removePasspointConfiguredNetwork( in verifyEnableMacRandomization() 805 verify(mWifiConfigManager).saveToStore(); in addRemoveSavedProviderWithValidSimCredential() 809 reset(mWifiConfigManager); in addRemoveSavedProviderWithValidSimCredential() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiInjector.java | 195 private final WifiConfigManager mWifiConfigManager; field in WifiInjector 431 mWifiConfigManager = in WifiInjector() 443 mSettingsMigrationDataHolder, mWifiConfigManager, mWifiConfigStore); in WifiInjector() 448 mWifiMetrics.setWifiConfigManager(mWifiConfigManager); in WifiInjector() 456 this, mWifiConfigManager, mWifiPermissionsUtil, mWifiMetrics, mClock, in WifiInjector() 462 mWifiConfigManager, mClock, mConnectivityLocalLog, mWifiMetrics, this, in WifiInjector() 475 this, mWifiPermissionsUtil, mWifiConfigManager, mWifiConfigStore, mWifiMetrics, in WifiInjector() 480 mWifiConfigManager, mWifiConfigStore, mSettingsStore, mWifiMetrics, in WifiInjector() 483 new PasspointNetworkNominateHelper(mPasspointManager, mWifiConfigManager, in WifiInjector() 488 mWifiConfigManager, mConnectivityLocalLog, mWifiCarrierInfoManager, in WifiInjector() [all …]
|
D | ConnectionFailureNotifier.java | 43 private final WifiConfigManager mWifiConfigManager; field in ConnectionFailureNotifier 61 mWifiConfigManager = wifiConfigManager; in ConnectionFailureNotifier() 97 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in showFailedToConnectDueToNoRandomizedMacSupportNotification() 113 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in showRandomizationSettingsDialog() 136 mWifiConfigManager.addOrUpdateNetwork(config, Process.SYSTEM_UID); in showRandomizationSettingsDialog() 138 mWifiConfigManager.getConfiguredNetwork(config.networkId); in showRandomizationSettingsDialog() 144 mWifiConfigManager.enableNetwork(updatedConfig.networkId, true, in showRandomizationSettingsDialog()
|
D | NetworkSuggestionNominator.java | 59 private final WifiConfigManager mWifiConfigManager; field in NetworkSuggestionNominator 70 mWifiConfigManager = wifiConfigManager; in NetworkSuggestionNominator() 129 mWifiConfigManager.getConfiguredNetwork(config.getProfileKey()); in addOrUpdateSuggestionToWifiConfigManger() 133 && !mWifiConfigManager.tryEnableNetwork(wCmConfiguredNetwork.networkId)) { in addOrUpdateSuggestionToWifiConfigManger() 139 NetworkUpdateResult result = mWifiConfigManager.addOrUpdateNetwork( in addOrUpdateSuggestionToWifiConfigManger() 148 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in addOrUpdateSuggestionToWifiConfigManger() 150 if (!mWifiConfigManager.updateNetworkSelectionStatus(result.getNetworkId(), in addOrUpdateSuggestionToWifiConfigManger() 252 mWifiConfigManager.getConfiguredNetwork(config.getProfileKey()); in findMatchedSuggestionNetworks() 259 && mWifiConfigManager.getConfiguredNetwork(config.getKey()) != null) { in findMatchedSuggestionNetworks() 265 && !mWifiConfigManager.tryEnableNetwork(wCmConfiguredNetwork.networkId)) { in findMatchedSuggestionNetworks() [all …]
|
D | ConnectHelper.java | 34 private final WifiConfigManager mWifiConfigManager; field in ConnectHelper 40 mWifiConfigManager = wifiConfigManager; in ConnectHelper() 66 if (mWifiConfigManager.getConfiguredNetwork(netId) == null) { in connectToNetwork() 71 mWifiConfigManager.updateBeforeConnect(netId, callingUid, packageName, in connectToNetwork()
|
D | WifiNetworkSelector.java | 109 private final WifiConfigManager mWifiConfigManager; field in WifiNetworkSelector 262 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in hasInternetOrExpectNoInternet() 286 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in isNetworkSufficient() 296 if (mWifiConfigManager.getLastSelectedNetwork() == network.networkId in isNetworkSufficient() 298 - mWifiConfigManager.getLastSelectedTimeStamp()) in isNetworkSufficient() 717 if (mWifiConfigManager.getSavedNetworkForScanDetailAndCache(scanDetail) != null) { in getFilteredScanDetailsForOpenUnsavedNetworks() 746 List<WifiConfiguration> configuredNetworks = mWifiConfigManager.getConfiguredNetworks(); in updateConfiguredNetworks() 756 mWifiConfigManager.tryEnableNetwork(network.networkId); in updateConfiguredNetworks() 758 mWifiConfigManager.clearNetworkCandidateScanResult(network.networkId); in updateConfiguredNetworks() 808 tempConfig = mWifiConfigManager.getConfiguredNetwork(key); in overrideCandidateWithUserConnectChoice() [all …]
|
D | SavedNetworkNominator.java | 39 private final WifiConfigManager mWifiConfigManager; field in SavedNetworkNominator 52 mWifiConfigManager = configManager; in SavedNetworkNominator() 115 mWifiConfigManager.getSavedNetworkForScanDetailAndCache(scanDetail); in findMatchedSavedNetworks() 139 if (mWifiConfigManager.isNonCarrierMergedNetworkTemporarilyDisabled(network)) { in findMatchedSavedNetworks() 143 if (mWifiConfigManager.isNetworkTemporarilyDisabledByUser(network.SSID)) { in findMatchedSavedNetworks() 203 mWifiConfigManager.getConfiguredNetwork(network.networkId)); in findMatchedSavedNetworks()
|
D | WakeupLock.java | 46 private final WifiConfigManager mWifiConfigManager; field in WakeupLock 58 mWifiConfigManager = wifiConfigManager; in WakeupLock() 82 mWifiConfigManager.saveToStore(); in setLock() 163 mWifiConfigManager.saveToStore(); in addToLock() 209 mWifiConfigManager.saveToStore(); in removeFromLock()
|
D | InsecureEapNetworkHandler.java | 83 private final WifiConfigManager mWifiConfigManager; field in InsecureEapNetworkHandler 157 mWifiConfigManager = wifiConfigManager; in InsecureEapNetworkHandler() 169 mWifiConfigManager.addOnNetworkUpdateListener(mOnNetworkUpdateListener); in InsecureEapNetworkHandler() 256 mWifiConfigManager.removeOnNetworkUpdateListener(mOnNetworkUpdateListener); in cleanup() 481 mWifiConfigManager.updateNetworkSelectionStatus(mCurrentTofuConfig.networkId, in putNetworkOnHold() 621 mWifiConfigManager.setUserApproveNoCaCert(mCurrentTofuConfig.networkId, true); in handleAccept() 627 if (!mWifiConfigManager.updateCaCertificate( in handleAccept() 638 mWifiConfigManager.setTofuPostConnectionState( in handleAccept() 642 mWifiConfigManager.setTofuDialogApproved(networkId, true); in handleAccept() 643 mWifiConfigManager.updateNetworkSelectionStatus(networkId, in handleAccept() [all …]
|
D | WakeupOnboarding.java | 59 private final WifiConfigManager mWifiConfigManager; field in WakeupOnboarding 101 mWifiConfigManager = wifiConfigManager; in WakeupOnboarding() 149 mWifiConfigManager.saveToStore(); in incrementTotalNotificationsShown() 188 mWifiConfigManager.saveToStore(); in setOnboarded()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkNominateHelper.java | 61 @NonNull private final WifiConfigManager mWifiConfigManager; field in PasspointNetworkNominateHelper 89 mWifiConfigManager = wifiConfigManager; in PasspointNetworkNominateHelper() 245 if (mWifiConfigManager.isNonCarrierMergedNetworkTemporarilyDisabled(config)) { in findBestMatchScanDetailForProviders() 249 if (mWifiConfigManager.isNetworkTemporarilyDisabledByUser(config.FQDN)) { in findBestMatchScanDetailForProviders() 321 WifiConfiguration existingNetwork = mWifiConfigManager.getConfiguredNetwork( in createWifiConfigForProvider() 327 || mWifiConfigManager.tryEnableNetwork(existingNetwork.networkId))) { in createWifiConfigForProvider() 337 NetworkUpdateResult result = mWifiConfigManager.addOrUpdateNetwork( in createWifiConfigForProvider() 344 mWifiConfigManager.enableNetwork(result.getNetworkId(), false, config.creatorUid, null); in createWifiConfigForProvider() 345 mWifiConfigManager.setNetworkCandidateScanResult(result.getNetworkId(), in createWifiConfigForProvider() 347 mWifiConfigManager.updateScanDetailForNetwork( in createWifiConfigForProvider() [all …]
|
D | PasspointManager.java | 130 private final WifiConfigManager mWifiConfigManager; field in PasspointManager 309 mWifiConfigManager.saveToStore(); in onUserConnectChoiceRemove() 325 mWifiConfigManager.saveToStore(); in onUserConnectChoiceSet() 385 mWifiConfigManager = wifiConfigManager; in PasspointManager() 402 mWifiConfigManager.addOnNetworkUpdateListener( in PasspointManager() 440 mWifiConfigManager.getConfiguredNetwork(newConfig.getProfileKey()); in updateWifiConfigInWcmIfPresent() 450 NetworkUpdateResult result = mWifiConfigManager.addOrUpdateNetwork( in updateWifiConfigInWcmIfPresent() 455 mWifiConfigManager.allowAutojoin(result.getNetworkId(), newConfig.allowAutojoin); in updateWifiConfigInWcmIfPresent() 572 mWifiConfigManager.removePasspointConfiguredNetwork( in addOrUpdateProvider() 584 mWifiConfigManager.saveToStore(); in addOrUpdateProvider() [all …]
|