Home
last modified time | relevance | path

Searched refs:getConfiguredNetwork (Results 1 – 25 of 36) sorted by relevance

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelperTest.java251 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingHomeProvider()
306 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNoInternetBit()
349 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingRoamingProvider()
396 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork()
397 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID + 1)) in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork()
431 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI()
462 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(currentNetwork); in evaluateScansMatchingActiveNetworkWithDifferentBSS()
510 when(mWifiConfigManager.getConfiguredNetwork(anyString())).thenReturn(disableConfig); in evaluateNetworkWithDisabledWifiConfig()
535 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScanResultWithHomeMatchButPreviouslyUserDisconnected()
561 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingHomeProviderUseAnqpLinkDown()
[all …]
DPasspointManagerTest.java910 when(mWifiConfigManager.getConfiguredNetwork(origWifiConfig.getProfileKey())) in addSavedProviderWithExistingConfig()
944 when(mWifiConfigManager.getConfiguredNetwork(origProvider.getWifiConfig() in addSavedProviderWithExistingConfig()
1289 when(mWifiConfigManager.getConfiguredNetwork(provider1.getConfig().getUniqueId())) in getWifiConfigsForPasspointProfiles()
1298 when(mWifiConfigManager.getConfiguredNetwork(provider3.getConfig().getUniqueId())) in getWifiConfigsForPasspointProfiles()
1305 when(mWifiConfigManager.getConfiguredNetwork(provider4.getConfig().getUniqueId())) in getWifiConfigsForPasspointProfiles()
1336 when(mWifiConfigManager.getConfiguredNetwork(provider.getConfig().getUniqueId())) in getWifiConfigsForPasspointProfilesWithoutNonPersistentMacRandomization()
1360 when(mWifiConfigManager.getConfiguredNetwork(provider.getConfig().getUniqueId())) in getWifiConfigsForPasspointProfilesWithNonPersistentMacRandomization()
2188 when(mWifiConfigManager.getConfiguredNetwork(origWifiConfig.getProfileKey())) in addSuggestionProviderWithExistingConfig()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java1718 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testEnableDisableNetwork()
1731 retrievedNetwork = mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testEnableDisableNetwork()
1762 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testEnableNetworkFailedDueToPermissionDenied()
1792 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testDisableNetworkFailedDueToPermissionDenied()
1815 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testAllowDisallowAutojoin()
1825 retrievedNetwork = mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testAllowDisallowAutojoin()
1849 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testConnectNetworkUpdatesLastConnectUid()
1995 WifiConfiguration internalConfig = mWifiConfigManager.getConfiguredNetwork( in testWifiEnterpriseConfigProtectedFields()
2004 internalConfig = mWifiConfigManager.getConfiguredNetwork( in testWifiEnterpriseConfigProtectedFields()
2019 internalConfig = mWifiConfigManager.getConfiguredNetwork( in testWifiEnterpriseConfigProtectedFields()
[all …]
DConnectionFailureNotifierTest.java128 when(mWifiConfigManager.getConfiguredNetwork(config.networkId)).thenReturn(config); in testConnectionFailureSendRandomizationSettingsNotification()
173 when(mWifiConfigManager.getConfiguredNetwork(config.networkId)).thenReturn(config); in testWifiConfigurationMismatch()
184 when(mWifiConfigManager.getConfiguredNetwork(anyInt())) in testWifiConfigurationMismatch()
DConnectHelperTest.java74 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(mWifiConfig); in verifyConnectNetworkSuccess()
101 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(null); in connectToNetwork_invalidNetId_failure()
DNetworkSuggestionNominatorTest.java528 verify(mWifiConfigManager).getConfiguredNetwork(eq(suggestions[0] in testSelectNetworkSuggestionForOneMatchButInToWifiConfigManager()
573 when(mWifiConfigManager.getConfiguredNetwork(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetwork()
590 verify(mWifiConfigManager).getConfiguredNetwork(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetwork()
594 verify(mWifiConfigManager).getConfiguredNetwork(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetwork()
697 when(mWifiConfigManager.getConfiguredNetwork(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled()
710 verify(mWifiConfigManager).getConfiguredNetwork(eq( in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled()
715 verify(mWifiConfigManager).getConfiguredNetwork(eq( in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled()
765 when(mWifiConfigManager.getConfiguredNetwork(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired()
783 verify(mWifiConfigManager).getConfiguredNetwork(eq(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired()
789 verify(mWifiConfigManager).getConfiguredNetwork(eq(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired()
[all …]
DWifiNetworkSelectorTestUtil.java325 when(wifiConfigManager.getConfiguredNetwork(anyInt())) in prepareConfigStore()
347 when(wifiConfigManager.getConfiguredNetwork(anyString())) in prepareConfigStore()
466 when(wifiConfigManager.getConfiguredNetwork(eq(networkId))) in setupEphemeralNetwork()
DWifiConnectivityManagerTest.java567 when(mWifiConfigManager.getConfiguredNetwork(CANDIDATE_NETWORK_ID)).thenReturn(candidate); in mockWifiNetworkSelector()
613 when(wifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(null); in mockWifiConfigManager()
1342 when(mWifiConfigManager.getConfiguredNetwork(networkId)).thenReturn(config); in getTestWifiConfig()
1426 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in setupMockPrimaryNetworkSelect()
1458 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in setupMockSecondaryNetworkSelect()
2627 when(mWifiConfigManager.getConfiguredNetwork(testOtherNetworkNetworkId)) in testRetryConnectionIgnoresDisabledNetworks()
3378 when(mWifiConfigManager.getConfiguredNetwork(passpointKey)).thenReturn(config); in checkScanScheduleForSinglePasspointNetworkConnected()
3427 when(mWifiConfigManager.getConfiguredNetwork(networkKey)).thenReturn(config); in checkScanScheduleForSingleSuggestionsNetworkConnected()
3477 when(mWifiConfigManager.getConfiguredNetwork(networkKey)).thenReturn(config); in checkScanScheduleForSavedPasspointSuggestionNetworkConnected()
3488 when(mWifiConfigManager.getConfiguredNetwork(passpointKey)).thenReturn(passpointConfig); in checkScanScheduleForSavedPasspointSuggestionNetworkConnected()
[all …]
DClientModeImplTest.java990 when(mWifiConfigManager.getConfiguredNetwork(0)).thenReturn(config); in initializeMocksForAddedNetwork()
1013 when(mWifiConfigManager.getConfiguredNetwork(eq(config.networkId))) in setupAndStartConnectSequence()
1210 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(FRAMEWORK_NETWORK_ID); in connect()
1357 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(FRAMEWORK_NETWORK_ID); in connectWithIpProvisionTimeout()
1754 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(null); in testResetSimWhenConnectedSimRemovedAfterNetworkRemoval()
2693 when(mWifiConfigManager.getConfiguredNetwork(FRAMEWORK_NETWORK_ID)).thenReturn(null); in networkRemovalWhileObtainingIp()
2711 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in testManualConnectNominator()
2810 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testWrongPasswordWithPreviouslyConnected()
2838 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testWrongPasswordWithLocalOnlyConnection()
2867 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testWrongPasswordWithNonLocalOnlyConnection()
[all …]
DWifiNetworkSelectorTest.java412 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()
501 when(mWifiConfigManager.getConfiguredNetwork(anyInt())) in testNetworkInsufficientWhenIpProvisioningTimedOut()
2048 when(mWifiConfigManager.getConfiguredNetwork(mWifiInfo.getNetworkId())) in testStayOrTryToSwitchImpl()
2054 when(mWifiConfigManager.getConfiguredNetwork(mWifiInfo.getNetworkId())) in testStayOrTryToSwitchImpl()
2060 when(mWifiConfigManager.getConfiguredNetwork(mWifiInfo.getNetworkId())) in testStayOrTryToSwitchImpl()
2458 when(mWifiConfigManager.getConfiguredNetwork(configs[0].networkId)) in testPasspointCandidateUpdateWithLatestScanDetail()
2756 when(mWifiConfigManager.getConfiguredNetwork(mWifiInfo.getNetworkId())).thenReturn( in networkSelectionNotPerformedWhenAllCmmIsSufficient()
DWifiServiceImplTest.java5448 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in testConnectNetworkWithPrivilegedPermission()
5474 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)) in testConnectNetworkWithNfcUid()
5505 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in testConnectNetworkStopConnectedSecondaryInternetCmm()
5545 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in testConnectNetworkStopSecondaryCmmOnSameNetwork()
5597 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(mWifiConfig); in connectToNewNetwork_success()
5650 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(mWifiConfig); in connectToExistingNetwork()
5674 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in connectToSimBasedNetworkWhenSimPresent()
5698 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in connectToSimBasedNetworkWhenSimAbsent()
5721 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in connectToSimBasedNetworkRequiresImsiEncryptionButNotReady()
5746 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in connectToSimBasedNetworkOobPseudonymEnabledButNotAvailable()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DConnectionFailureNotifier.java97 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in showFailedToConnectDueToNoRandomizedMacSupportNotification()
113 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in showRandomizationSettingsDialog()
138 mWifiConfigManager.getConfiguredNetwork(config.networkId); in showRandomizationSettingsDialog()
DNetworkSuggestionNominator.java129 mWifiConfigManager.getConfiguredNetwork(config.getProfileKey()); in addOrUpdateSuggestionToWifiConfigManger()
148 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in addOrUpdateSuggestionToWifiConfigManger()
252 mWifiConfigManager.getConfiguredNetwork(config.getProfileKey()); in findMatchedSuggestionNetworks()
259 && mWifiConfigManager.getConfiguredNetwork(config.getKey()) != null) { in findMatchedSuggestionNetworks()
DWifiNetworkSelector.java262 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in hasInternetOrExpectNoInternet()
286 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in isNetworkSufficient()
808 tempConfig = mWifiConfigManager.getConfiguredNetwork(key); in overrideCandidateWithUserConnectChoice()
1051 mWifiConfigManager.getConfiguredNetwork(cmmState.wifiInfo.getNetworkId()); in getConnectChoiceKey()
1131 mWifiConfigManager.getConfiguredNetwork(cmmState.wifiInfo.getNetworkId()); in getCandidatesFromScan()
1535 .getConfiguredNetwork(choice.candidateKey.networkId); in selectNetwork()
1594 mWifiConfigManager.getConfiguredNetwork(selectedNetworkId); in selectNetwork()
1625 mWifiConfigManager.getConfiguredNetwork(choice.candidateKey.networkId); in updateChosenPasspointNetwork()
DConnectHelper.java66 if (mWifiConfigManager.getConfiguredNetwork(netId) == null) { in connectToNetwork()
DClientModeImpl.java374 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId); in clearTargetBssid()
1332 WifiConfiguration configuration = mWifiConfigManager.getConfiguredNetwork(networkId); in onCarrierOffloadDisabled()
1377 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in updateSaeAutoUpgradeFlagForUserSelectNetwork()
1402 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkIdForConnection); in shouldDropConnectionRequest()
1483 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(netId); in connectToUserSelectNetwork()
2185 config = mWifiConfigManager.getConfiguredNetwork(cnm.result.getNetworkId()); in getLogRecString()
2294 config = mWifiConfigManager.getConfiguredNetwork(msg.arg1); in getLogRecString()
4306 WifiConfiguration network = mWifiConfigManager.getConfiguredNetwork(networkId); in isPermanentWrongPasswordFailure()
4496 return mWifiConfigManager.getConfiguredNetwork(mLastNetworkId); in getConnectedWifiConfigurationInternal()
4507 return mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId); in getConnectingWifiConfigurationInternal()
[all …]
DSavedNetworkNominator.java203 mWifiConfigManager.getConfiguredNetwork(network.networkId)); in findMatchedSavedNetworks()
DWifiNetworkSuggestionsManager.java804 mWifiConfigManager.getConfiguredNetwork(wifiConfiguration.getProfileKey()); in removeNetworkFromScoreCard()
875 mWifiConfigManager.getConfiguredNetwork(newConfig.getProfileKey()); in updateWifiConfigInWcmIfPresent()
1338 WifiConfiguration cached = mWifiConfigManager.getConfiguredNetwork( in removeInternal()
1606 .getConfiguredNetwork(ewns.wns.getWifiConfiguration() in getAllScanOptimizationSuggestionNetworks()
1638 .getConfiguredNetwork(ewns.wns.getWifiConfiguration() in getAllPasspointScanOptimizationSuggestionNetworks()
2686 .getConfiguredNetwork(ewns.wns.wifiConfiguration.getProfileKey()); in hasSecureSuggestionFromSameCarrierAvailable()
DWifiConnectivityManager.java2022 WifiConfiguration config = mConfigManager.getConfiguredNetwork(networkId); in fetchChannelSetForNetworkForPartialScan()
2927 WifiConfiguration config = mConfigManager.getConfiguredNetwork(passpointKey); in useSingleSavedNetworkSchedule()
2934 WifiConfiguration config = mConfigManager.getConfiguredNetwork(suggestionKey); in useSingleSavedNetworkSchedule()
3194 mConfigManager.getConfiguredNetwork(candidate.getNetworkConfigId()); in retryConnectionOnLatestCandidates()
3352 WifiConfiguration config = mConfigManager.getConfiguredNetwork(netId); in prepareForForcedConnection()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionParamsTest.java214 assertNull(sessionParams.getConfiguredNetwork()); in testBuildWithPsk()
537 assertNull(sessionParams.getConfiguredNetwork()); in testBuildWithEap()
567 assertEquals(mMockUserConfigNetwork, sessionParams.getConfiguredNetwork()); in testBuildWithDigitalSignatureAuth()
935 assertNull(result.getConfiguredNetwork()); in testCreateCopyWithNetworkCleared()
965 assertEquals(mMockUserConfigNetwork, sessionParams.getConfiguredNetwork()); in testCreateAndSetNetworkWithoutConnectivityMgr()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelper.java321 WifiConfiguration existingNetwork = mWifiConfigManager.getConfiguredNetwork( in createWifiConfigForProvider()
349 return mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in createWifiConfigForProvider()
DPasspointManager.java440 mWifiConfigManager.getConfiguredNetwork(newConfig.getProfileKey()); in updateWifiConfigInWcmIfPresent()
1212 .getConfiguredNetwork(profileKey); in getWifiConfigsForPasspointProfiles()
1217 config = mWifiConfigManager.getConfiguredNetwork(profileKey); in getWifiConfigsForPasspointProfiles()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionController.java213 mUseCallerConfiguredNetwork = config.ikeParams.getConfiguredNetwork() != null; in IkeConnectionController()
220 mNetwork = config.ikeParams.getConfiguredNetwork(); in IkeConnectionController()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionParams.java719 public Network getConfiguredNetwork() { in getConfiguredNetwork() method in IkeSessionParams
1630 mCallerConfiguredNetwork = ikeSessionParams.getConfiguredNetwork(); in Builder()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionControllerTest.java178 when(mMockIkeParams.getConfiguredNetwork()).thenReturn(callerConfiguredNw); in buildIkeConnectionCtrlWithNetwork()
225 when(mMockIkeParams.getConfiguredNetwork()).thenReturn(null); in resetMockIkeParams()

12