Home
last modified time | relevance | path

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

12

/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DPasspointNetworkNominateHelperTest.java225 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingHomeProvider()
272 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNoInternetBit()
313 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingRoamingProvider()
359 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork()
360 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID + 1)) in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork()
394 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI()
473 when(mWifiConfigManager.getConfiguredNetwork(anyString())).thenReturn(disableConfig); in evaluateNetworkWithDisabledWifiConfig()
498 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScanResultWithHomeMatchButPreviouslyUserDisconnected()
520 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingHomeProviderWithAnqpLinkDown()
556 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingBothHomeAndRoamingForSameProvider()
[all …]
H A DPasspointManagerTest.java869 when(mWifiConfigManager.getConfiguredNetwork(origWifiConfig.getProfileKey())) in addSavedProviderWithExistingConfig()
902 when(mWifiConfigManager.getConfiguredNetwork(origProvider.getWifiConfig() in addSavedProviderWithExistingConfig()
1288 when(mWifiConfigManager.getConfiguredNetwork(provider1.getConfig().getUniqueId())) in getWifiConfigsForPasspointProfiles()
1297 when(mWifiConfigManager.getConfiguredNetwork(provider3.getConfig().getUniqueId())) in getWifiConfigsForPasspointProfiles()
1304 when(mWifiConfigManager.getConfiguredNetwork(provider4.getConfig().getUniqueId())) in getWifiConfigsForPasspointProfiles()
1332 when(mWifiConfigManager.getConfiguredNetwork(provider.getConfig().getUniqueId())) in getWifiConfigsForPasspointProfilesWithoutEnhancedMacRandomization()
1354 when(mWifiConfigManager.getConfiguredNetwork(provider.getConfig().getUniqueId())) in getWifiConfigsForPasspointProfilesWithEnhancedMacRandomization()
2155 when(mWifiConfigManager.getConfiguredNetwork(origWifiConfig.getProfileKey())) in addSuggestionProviderWithExistingConfig()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DConnectionFailureNotifier.java93 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in showFailedToConnectDueToNoRandomizedMacSupportNotification()
117 mWifiConfigManager.getConfiguredNetwork(mConfig.networkId); in onClick()
143 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in showRandomizationSettingsDialog()
H A DNetworkSuggestionNominator.java124 mWifiConfigManager.getConfiguredNetwork(config.getProfileKey()); in addOrUpdateSuggestionToWifiConfigManger()
135 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in addOrUpdateSuggestionToWifiConfigManger()
235 mWifiConfigManager.getConfiguredNetwork(config.getProfileKey()); in findMatchedSuggestionNetworks()
242 && mWifiConfigManager.getConfiguredNetwork(config.getKey()) != null) { in findMatchedSuggestionNetworks()
H A DWifiNetworkSelector.java231 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in hasInternetOrExpectNoInternet()
255 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in isNetworkSufficient()
628 tempConfig = mWifiConfigManager.getConfiguredNetwork(key); in overrideCandidateWithUserConnectChoice()
840 mWifiConfigManager.getConfiguredNetwork(cmmState.wifiInfo.getNetworkId()); in getCandidatesFromScan()
1012 .getConfiguredNetwork(choice.candidateKey.networkId); in selectNetwork()
1083 mWifiConfigManager.getConfiguredNetwork(selectedNetworkId); in selectNetwork()
1113 mWifiConfigManager.getConfiguredNetwork(choice.candidateKey.networkId); in updateChosenPasspointNetwork()
H A DConnectHelper.java64 if (mWifiConfigManager.getConfiguredNetwork(netId) == null) { in connectToNetwork()
H A DScoredNetworkNominator.java361 mWifiConfigManager.getConfiguredNetwork(candidateNetworkId), in getCandidateConfiguration()
382 WifiConfiguration ans = mWifiConfigManager.getConfiguredNetwork( in getCandidateConfiguration()
H A DSavedNetworkNominator.java179 mWifiConfigManager.getConfiguredNetwork(network.networkId)); in findMatchedSavedNetworks()
H A DWifiConnectivityManager.java1542 WifiConfiguration config = mConfigManager.getConfiguredNetwork(networkId); in fetchChannelSetForNetworkForPartialScan()
2194 WifiConfiguration config = mConfigManager.getConfiguredNetwork(passpointKey); in useSingleSavedNetworkSchedule()
2201 WifiConfiguration config = mConfigManager.getConfiguredNetwork(suggestionKey); in useSingleSavedNetworkSchedule()
2320 mConfigManager.getConfiguredNetwork(candidate.getNetworkConfigId()); in retryConnectionOnLatestCandidates()
2425 WifiConfiguration config = mConfigManager.getConfiguredNetwork(netId); in prepareForForcedConnection()
H A DClientModeImpl.java354 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId); in clearTargetBssid()
1701 config = mWifiConfigManager.getConfiguredNetwork(cnm.result.getNetworkId());
1804 config = mWifiConfigManager.getConfiguredNetwork(msg.arg1);
3129 WifiConfiguration network = mWifiConfigManager.getConfiguredNetwork(networkId);
3309 return mWifiConfigManager.getConfiguredNetwork(mLastNetworkId);
3320 return mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId);
3631 mWifiConfigManager.getConfiguredNetwork(netId));
3690 mWifiConfigManager.getConfiguredNetwork(netId);
4066 mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId);
4595 mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId);
[all …]
H A DWifiNetworkSuggestionsManager.java785 mWifiConfigManager.getConfiguredNetwork(wifiConfiguration.getProfileKey()); in removeNetworkFromScoreCard()
856 mWifiConfigManager.getConfiguredNetwork(newConfig.getProfileKey()); in updateWifiConfigInWcmIfPresent()
1495 .getConfiguredNetwork(ewns.wns.getWifiConfiguration() in getAllScanOptimizationSuggestionNetworks()
2477 .getConfiguredNetwork(ewns.wns.wifiConfiguration.getProfileKey()); in hasSecureSuggestionFromSameCarrierAvailable()
H A DWifiNetworkFactory.java910 mWifiConfigManager.getConfiguredNetwork(network.getProfileKey()); in addNetworkToWifiConfigManager()
938 mWifiConfigManager.getConfiguredNetwork(network.getProfileKey()); in disconnectAndRemoveNetworkFromWifiConfigManager()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DConnectionFailureNotifierTest.java115 when(mWifiConfigManager.getConfiguredNetwork(config.networkId)).thenReturn(config); in testConnectionFailureSendRandomizationSettingsNotification()
153 when(mWifiConfigManager.getConfiguredNetwork(config.networkId)).thenReturn(config); in testWifiConfigurationMismatch()
164 when(mWifiConfigManager.getConfiguredNetwork(anyInt())) in testWifiConfigurationMismatch()
H A DConnectHelperTest.java72 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(mWifiConfig); in connectToNetwork_success()
86 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(null); in connectToNetwork_invalidNetId_failure()
H A DWifiConfigManagerTest.java1485 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testEnableDisableNetwork()
1521 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testEnableNetworkFailedDueToPermissionDenied()
1551 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testDisableNetworkFailedDueToPermissionDenied()
4003 mWifiConfigManager.getConfiguredNetwork(network1.networkId); in testRemoveNetworkRemovesConnectChoice()
4048 mWifiConfigManager.getConfiguredNetwork(network3.networkId); in testDisableAutojoinRemovesConnectChoice()
5301 network = mWifiConfigManager.getConfiguredNetwork(networkId); in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
6175 config = mWifiConfigManager.getConfiguredNetwork(config.networkId); in testConnectToExistingNetworkSuccess()
6185 config = mWifiConfigManager.getConfiguredNetwork(config.networkId); in testConnectToExistingNetworkSuccess()
6212 config = mWifiConfigManager.getConfiguredNetwork(config.networkId); in testConnectToExistingNetworkSuccessNoNetworkSettingsPermission()
6222 config = mWifiConfigManager.getConfiguredNetwork(config.networkId); in testConnectToExistingNetworkSuccessNoNetworkSettingsPermission()
[all …]
H A DNetworkSuggestionNominatorTest.java500 verify(mWifiConfigManager).getConfiguredNetwork(eq(suggestions[0] in testSelectNetworkSuggestionForOneMatchButInToWifiConfigManager()
545 when(mWifiConfigManager.getConfiguredNetwork(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetwork()
561 verify(mWifiConfigManager).getConfiguredNetwork(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetwork()
565 verify(mWifiConfigManager).getConfiguredNetwork(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetwork()
667 when(mWifiConfigManager.getConfiguredNetwork(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled()
679 verify(mWifiConfigManager).getConfiguredNetwork(eq( in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled()
684 verify(mWifiConfigManager).getConfiguredNetwork(eq( in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled()
734 when(mWifiConfigManager.getConfiguredNetwork(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired()
751 verify(mWifiConfigManager).getConfiguredNetwork(eq(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired()
757 verify(mWifiConfigManager).getConfiguredNetwork(eq(suggestions[0] in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired()
[all …]
H A DWifiNetworkSelectorTestUtil.java320 when(wifiConfigManager.getConfiguredNetwork(anyInt())) in prepareConfigStore()
331 when(wifiConfigManager.getConfiguredNetwork(anyString())) in prepareConfigStore()
491 when(wifiConfigManager.getConfiguredNetwork(eq(networkId))) in setupEphemeralNetwork()
H A DWifiConnectivityManagerTest.java465 when(wifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(null); in mockWifiConfigManager()
1706 when(mWifiConfigManager.getConfiguredNetwork(testOtherNetworkNetworkId)) in testRetryConnectionIgnoresDisabledNetworks()
2406 when(mWifiConfigManager.getConfiguredNetwork(networkKey)).thenReturn(config); in checkScanScheduleForSingleSuggestionsNetworkConnected()
2457 when(mWifiConfigManager.getConfiguredNetwork(networkKey)).thenReturn(config); in checkScanScheduleForSavedPasspointSuggestionNetworkConnected()
2697 when(mWifiConfigManager.getConfiguredNetwork(TEST_CONNECTED_NETWORK_ID)) in verifyFullBandScanWhenConnected()
2772 when(mWifiConfigManager.getConfiguredNetwork(TEST_CONNECTED_NETWORK_ID)) in checkPartialScanRequestedWithLowRssiAndActiveStreamWithoutFwRoaming()
2828 when(mWifiConfigManager.getConfiguredNetwork(TEST_CONNECTED_NETWORK_ID)) in checkPartialSCanRequestedWithHighRssiNoActiveStreamWithoutFwRoaming()
2875 when(mWifiConfigManager.getConfiguredNetwork(TEST_CONNECTED_NETWORK_ID)) in checkSingleScanSettingsWhenConnectedWithHighDataRateNotInCache()
4136 when(mWifiConfigManager.getConfiguredNetwork(TEST_CONNECTED_NETWORK_ID)) in testFetchChannelSetForNetwork()
4154 when(mWifiConfigManager.getConfiguredNetwork(TEST_CONNECTED_NETWORK_ID)) in testFetchChannelSetForNetworkIncludeCurrentNetwork()
[all …]
H A DClientModeImplTest.java796 when(mWifiConfigManager.getConfiguredNetwork(0)).thenReturn(config); in initializeMocksForAddedNetwork()
809 when(mWifiConfigManager.getConfiguredNetwork(eq(config.networkId))) in setupAndStartConnectSequence()
1156 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(null); in testResetSimWhenConnectedSimRemovedAfterNetworkRemoval()
1999 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testWrongPasswordWithPreviouslyConnected()
2029 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testDisconnectionEventInL2ConnectingStateEndsConnectionEvent()
2060 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testWrongPasswordWithNeverConnected()
2147 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(null); in testEapSimNoSubscribedError()
4038 when(mWifiConfigManager.getConfiguredNetwork(FRAMEWORK_NETWORK_ID)) in internetValidationFailure_notUserSelected_expectTemporarilyDisabled()
4104 when(mWifiConfigManager.getConfiguredNetwork(FRAMEWORK_NETWORK_ID)) in internetValidationFailure_userSelectedRecently_expectNotDisabled()
4137 when(mWifiConfigManager.getConfiguredNetwork(FRAMEWORK_NETWORK_ID)) in internetValidationFailure_userSelectedTooLongAgo_expectTemporarilyDisabled()
[all …]
H A DWifiServiceImplTest.java4648 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in testConnectNetworkWithPrivilegedPermission()
4740 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in connectToSimBasedNetworkWhenSimPresent()
4763 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in connectToSimBasedNetworkWhenSimAbsent()
6741 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testAllowAutojoinOnSuggestionNetwork()
6746 verify(mWifiConfigManager).getConfiguredNetwork(0); in testAllowAutojoinOnSuggestionNetwork()
6759 when(mWifiConfigManager.getConfiguredNetwork(0)).thenReturn(config); in testAllowAutojoinOnSavedNetwork()
6762 verify(mWifiConfigManager).getConfiguredNetwork(0); in testAllowAutojoinOnSavedNetwork()
6772 when(mWifiConfigManager.getConfiguredNetwork(0)).thenReturn(config); in testAllowAutojoinOnWifiNetworkSpecifier()
6775 verify(mWifiConfigManager).getConfiguredNetwork(0); in testAllowAutojoinOnWifiNetworkSpecifier()
6784 when(mWifiConfigManager.getConfiguredNetwork(0)).thenReturn(config); in testAllowAutojoinOnSavedPasspointNetwork()
[all …]
H A DWifiNetworkSelectorTest.java1376 when(mWifiConfigManager.getConfiguredNetwork(mWifiInfo.getNetworkId())) in testStayOrTryToSwitchImpl()
1382 when(mWifiConfigManager.getConfiguredNetwork(mWifiInfo.getNetworkId())) in testStayOrTryToSwitchImpl()
1388 when(mWifiConfigManager.getConfiguredNetwork(mWifiInfo.getNetworkId())) in testStayOrTryToSwitchImpl()
1776 when(mWifiConfigManager.getConfiguredNetwork(configs[0].networkId)) in testPasspointCandidateUpdateWithLatestScanDetail()
H A DWifiNetworkFactoryTest.java1377 when(mWifiConfigManager.getConfiguredNetwork(mSelectedNetwork.getProfileKey())) in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork()
2070 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getProfileKey())) in testHandleNetworkReleaseWithSpecifierAfterConnectionStart()
2115 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getProfileKey())) in testHandleNetworkReleaseWithSpecifierAfterConnectionSuccess()
2161 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getProfileKey())) in testHandleNetworkReleaseWithSpecifierAfterConnectionSuccessOnSecondaryCmm()
2252 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getProfileKey())) in testMetricsUpdateForConcurrentConnections()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
H A DPasspointNetworkNominateHelper.java197 WifiConfiguration existingNetwork = mWifiConfigManager.getConfiguredNetwork( in createWifiConfigForProvider()
226 return mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in createWifiConfigForProvider()
/aosp12/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
H A DIkeSessionParamsTest.java202 assertNull(sessionParams.getConfiguredNetwork()); in testBuildWithPsk()
481 assertNull(sessionParams.getConfiguredNetwork()); in testBuildWithEap()
511 assertEquals(mMockUserConfigNetwork, sessionParams.getConfiguredNetwork()); in testBuildWithDigitalSignatureAuth()
837 assertNull(result.getConfiguredNetwork()); in testCreateCopyWithNetworkCleared()
867 assertEquals(mMockUserConfigNetwork, sessionParams.getConfiguredNetwork()); in testCreateAndSetNetworkWithoutConnectivityMgr()
/aosp12/packages/modules/IPsec/src/java/android/net/ipsec/ike/
H A DIkeSessionParams.java435 public Network getConfiguredNetwork() { in getConfiguredNetwork() method in IkeSessionParams
1256 mCallerConfiguredNetwork = ikeSessionParams.getConfiguredNetwork(); in Builder()

12