/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkNominateHelperTest.java | 251 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingHomeProvider() 304 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNoInternetBit() 345 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingRoamingProvider() 390 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork() 391 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID + 1)) in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork() 425 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI() 456 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(currentNetwork); in evaluateScansMatchingActiveNetworkWithDifferentBSS() 497 when(mWifiConfigManager.getConfiguredNetwork(anyString())).thenReturn(disableConfig); in evaluateNetworkWithDisabledWifiConfig() 522 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScanResultWithHomeMatchButPreviouslyUserDisconnected() 548 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingHomeProviderUseAnqpLinkDown() [all …]
|
D | PasspointManagerTest.java | 908 when(mWifiConfigManager.getConfiguredNetwork(origWifiConfig.getProfileKey())) in addSavedProviderWithExistingConfig() 942 when(mWifiConfigManager.getConfiguredNetwork(origProvider.getWifiConfig() in addSavedProviderWithExistingConfig() 1287 when(mWifiConfigManager.getConfiguredNetwork(provider1.getConfig().getUniqueId())) in getWifiConfigsForPasspointProfiles() 1296 when(mWifiConfigManager.getConfiguredNetwork(provider3.getConfig().getUniqueId())) in getWifiConfigsForPasspointProfiles() 1303 when(mWifiConfigManager.getConfiguredNetwork(provider4.getConfig().getUniqueId())) in getWifiConfigsForPasspointProfiles() 1334 when(mWifiConfigManager.getConfiguredNetwork(provider.getConfig().getUniqueId())) in getWifiConfigsForPasspointProfilesWithoutNonPersistentMacRandomization() 1358 when(mWifiConfigManager.getConfiguredNetwork(provider.getConfig().getUniqueId())) in getWifiConfigsForPasspointProfilesWithNonPersistentMacRandomization() 2186 when(mWifiConfigManager.getConfiguredNetwork(origWifiConfig.getProfileKey())) in addSuggestionProviderWithExistingConfig()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 1724 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testEnableDisableNetwork() 1737 retrievedNetwork = mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testEnableDisableNetwork() 1768 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testEnableNetworkFailedDueToPermissionDenied() 1798 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testDisableNetworkFailedDueToPermissionDenied() 1821 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testAllowDisallowAutojoin() 1831 retrievedNetwork = mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testAllowDisallowAutojoin() 1855 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testConnectNetworkUpdatesLastConnectUid() 2001 WifiConfiguration internalConfig = mWifiConfigManager.getConfiguredNetwork( in testWifiEnterpriseConfigProtectedFields() 2010 internalConfig = mWifiConfigManager.getConfiguredNetwork( in testWifiEnterpriseConfigProtectedFields() 2025 internalConfig = mWifiConfigManager.getConfiguredNetwork( in testWifiEnterpriseConfigProtectedFields() [all …]
|
D | ConnectionFailureNotifierTest.java | 128 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()
|
D | ConnectHelperTest.java | 74 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(mWifiConfig); in verifyConnectNetworkSuccess() 101 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(null); in connectToNetwork_invalidNetId_failure()
|
D | NetworkSuggestionNominatorTest.java | 528 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 …]
|
D | WifiNetworkSelectorTestUtil.java | 329 when(wifiConfigManager.getConfiguredNetwork(anyInt())) in prepareConfigStore() 351 when(wifiConfigManager.getConfiguredNetwork(anyString())) in prepareConfigStore() 470 when(wifiConfigManager.getConfiguredNetwork(eq(networkId))) in setupEphemeralNetwork()
|
D | WifiConnectivityManagerTest.java | 572 when(mWifiConfigManager.getConfiguredNetwork(CANDIDATE_NETWORK_ID)).thenReturn(candidate); in mockWifiNetworkSelector() 618 when(wifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(null); in mockWifiConfigManager() 1348 when(mWifiConfigManager.getConfiguredNetwork(networkId)).thenReturn(config); in getTestWifiConfig() 1432 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in setupMockPrimaryNetworkSelect() 1464 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in setupMockSecondaryNetworkSelect() 2285 when(mWifiConfigManager.getConfiguredNetwork(anyInt())) in setAllScanCandidatesToDelayedCarrierCandidates() 2793 when(mWifiConfigManager.getConfiguredNetwork(testOtherNetworkNetworkId)) in testRetryConnectionIgnoresDisabledNetworks() 3564 when(mWifiConfigManager.getConfiguredNetwork(passpointKey)).thenReturn(config); in checkScanScheduleForSinglePasspointNetworkConnected() 3613 when(mWifiConfigManager.getConfiguredNetwork(networkKey)).thenReturn(config); in checkScanScheduleForSingleSuggestionsNetworkConnected() 3663 when(mWifiConfigManager.getConfiguredNetwork(networkKey)).thenReturn(config); in checkScanScheduleForSavedPasspointSuggestionNetworkConnected() [all …]
|
D | ClientModeImplTest.java | 995 when(mWifiConfigManager.getConfiguredNetwork(0)).thenReturn(config); in initializeMocksForAddedNetwork() 1018 when(mWifiConfigManager.getConfiguredNetwork(eq(config.networkId))) in setupAndStartConnectSequence() 1215 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(FRAMEWORK_NETWORK_ID); in connect() 1362 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(FRAMEWORK_NETWORK_ID); in connectWithIpProvisionTimeout() 1783 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(null); in testResetSimWhenConnectedSimRemovedAfterNetworkRemoval() 2760 when(mWifiConfigManager.getConfiguredNetwork(FRAMEWORK_NETWORK_ID)).thenReturn(null); in networkRemovalWhileObtainingIp() 2778 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in testManualConnectNominator() 2877 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testWrongPasswordWithPreviouslyConnected() 2905 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testWrongPasswordWithLocalOnlyConnection() 2934 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testWrongPasswordWithNonLocalOnlyConnection() [all …]
|
D | WifiNetworkSelectorTest.java | 415 when(mWifiConfigManager.getConfiguredNetwork(anyInt())) in testNetworkInsufficientWhenSufficiencyCheckDisabled() 438 when(mWifiConfigManager.getConfiguredNetwork(anyInt())) in testNetworkInsufficientWhenMetered() 454 when(mWifiConfigManager.getConfiguredNetwork(anyInt())) in testNetworkInsufficientWhenMarkedUnusable() 470 when(mWifiConfigManager.getConfiguredNetwork(anyInt())) in testNetworkInsufficientWhenLowAospScore() 504 when(mWifiConfigManager.getConfiguredNetwork(anyInt())) in testNetworkInsufficientWhenIpProvisioningTimedOut() 2086 when(mWifiConfigManager.getConfiguredNetwork(mWifiInfo.getNetworkId())) in testStayOrTryToSwitchImpl() 2092 when(mWifiConfigManager.getConfiguredNetwork(mWifiInfo.getNetworkId())) in testStayOrTryToSwitchImpl() 2098 when(mWifiConfigManager.getConfiguredNetwork(mWifiInfo.getNetworkId())) in testStayOrTryToSwitchImpl() 2500 when(mWifiConfigManager.getConfiguredNetwork(configs[0].networkId)) in testPasspointCandidateUpdateWithLatestScanDetail() 2798 when(mWifiConfigManager.getConfiguredNetwork(mWifiInfo.getNetworkId())).thenReturn( in networkSelectionNotPerformedWhenAllCmmIsSufficient()
|
D | WifiServiceImplTest.java | 5522 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in testConnectNetworkWithPrivilegedPermission() 5548 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)) in testConnectNetworkWithNfcUid() 5579 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in testConnectNetworkStopConnectedSecondaryInternetCmm() 5619 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in testConnectNetworkStopSecondaryCmmOnSameNetwork() 5671 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(mWifiConfig); in connectToNewNetwork_success() 5724 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(mWifiConfig); in connectToExistingNetwork() 5748 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in connectToSimBasedNetworkWhenSimPresent() 5772 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in connectToSimBasedNetworkWhenSimAbsent() 5795 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in connectToSimBasedNetworkRequiresImsiEncryptionButNotReady() 5820 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in connectToSimBasedNetworkOobPseudonymEnabledButNotAvailable() [all …]
|
D | WifiNetworkSuggestionsManagerTest.java | 745 when(mWifiConfigManager.getConfiguredNetwork(networkSuggestion1.wifiConfiguration in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm() 747 when(mWifiConfigManager.getConfiguredNetwork(networkSuggestion2.wifiConfiguration in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm() 3472 when(mWifiConfigManager.getConfiguredNetwork(config.getProfileKey())) in setupGetConfiguredNetworksFromWcm() 3992 when(mWifiConfigManager.getConfiguredNetwork(anyString())).thenReturn(eapSimConfig); in testSendImsiProtectionNotificationOnUserAllowed() 4445 when(mWifiConfigManager.getConfiguredNetwork(wcmConfig.getProfileKey())) in testShouldNotBeIgnoredBySecureSuggestionFromSameCarrierWithNetworkDisabled() 4824 when(mWifiConfigManager.getConfiguredNetwork(anyString())).thenReturn(configuration); in testSetAnonymousIdentityNullOnSuggestionNetwork() 5147 when(mWifiConfigManager.getConfiguredNetwork(any())) in testRemoveNetworkSuggestionsWithActionCurrentlyConnected() 5190 when(mWifiConfigManager.getConfiguredNetwork(any())) in testRemoveNetworkSuggestionsWithActionNotConnected()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ConnectionFailureNotifier.java | 97 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in showFailedToConnectDueToNoRandomizedMacSupportNotification() 113 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in showRandomizationSettingsDialog() 138 mWifiConfigManager.getConfiguredNetwork(config.networkId); in showRandomizationSettingsDialog()
|
D | NetworkSuggestionNominator.java | 129 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()
|
D | WifiNetworkSelector.java | 262 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in hasInternetOrExpectNoInternet() 286 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in isNetworkSufficient() 832 tempConfig = mWifiConfigManager.getConfiguredNetwork(key); in overrideCandidateWithUserConnectChoice() 1075 mWifiConfigManager.getConfiguredNetwork(cmmState.wifiInfo.getNetworkId()); in getConnectChoiceKey() 1157 mWifiConfigManager.getConfiguredNetwork(cmmState.wifiInfo.getNetworkId()); in getCandidatesFromScan() 1561 .getConfiguredNetwork(choice.candidateKey.networkId); in selectNetwork() 1620 mWifiConfigManager.getConfiguredNetwork(selectedNetworkId); in selectNetwork() 1651 mWifiConfigManager.getConfiguredNetwork(choice.candidateKey.networkId); in updateChosenPasspointNetwork()
|
D | ConnectHelper.java | 66 if (mWifiConfigManager.getConfiguredNetwork(netId) == null) { in connectToNetwork()
|
D | ClientModeImpl.java | 395 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId); in clearTargetBssid() 1338 WifiConfiguration configuration = mWifiConfigManager.getConfiguredNetwork(networkId); in onCarrierOffloadDisabled() 1384 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in updateSaeAutoUpgradeFlagForUserSelectNetwork() 1409 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkIdForConnection); in shouldDropConnectionRequest() 1490 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(netId); in connectToUserSelectNetwork() 2213 config = mWifiConfigManager.getConfiguredNetwork(cnm.result.getNetworkId()); in getLogRecString() 2320 config = mWifiConfigManager.getConfiguredNetwork(msg.arg1); in getLogRecString() 4348 WifiConfiguration network = mWifiConfigManager.getConfiguredNetwork(networkId); in isPermanentWrongPasswordFailure() 4538 return mWifiConfigManager.getConfiguredNetwork(mLastNetworkId); in getConnectedWifiConfigurationInternal() 4549 return mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId); in getConnectingWifiConfigurationInternal() [all …]
|
D | WifiNetworkSuggestionsManager.java | 805 mWifiConfigManager.getConfiguredNetwork(wifiConfiguration.getProfileKey()); in removeNetworkFromScoreCard() 876 mWifiConfigManager.getConfiguredNetwork(newConfig.getProfileKey()); in updateWifiConfigInWcmIfPresent() 1339 WifiConfiguration cached = mWifiConfigManager.getConfiguredNetwork( in removeInternal() 1607 .getConfiguredNetwork(ewns.wns.getWifiConfiguration() in getAllScanOptimizationSuggestionNetworks() 1639 .getConfiguredNetwork(ewns.wns.getWifiConfiguration() in getAllPasspointScanOptimizationSuggestionNetworks() 1994 .getConfiguredNetwork(config.getProfileKey()); in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser() 2681 .getConfiguredNetwork(ewns.wns.wifiConfiguration.getProfileKey()); in hasSecureSuggestionFromSameCarrierAvailable()
|
D | SavedNetworkNominator.java | 203 mWifiConfigManager.getConfiguredNetwork(network.networkId)); in findMatchedSavedNetworks()
|
D | WifiConnectivityManager.java | 954 mConfigManager.getConfiguredNetwork(candidate.getNetworkConfigId()); in filterDelayedCarrierSelectionCandidates() 2171 WifiConfiguration config = mConfigManager.getConfiguredNetwork(networkId); in fetchChannelSetForNetworkForPartialScan() 3083 WifiConfiguration config = mConfigManager.getConfiguredNetwork(passpointKey); in useSingleSavedNetworkSchedule() 3090 WifiConfiguration config = mConfigManager.getConfiguredNetwork(suggestionKey); in useSingleSavedNetworkSchedule() 3351 mConfigManager.getConfiguredNetwork(candidate.getNetworkConfigId()); in retryConnectionOnLatestCandidates() 3509 WifiConfiguration config = mConfigManager.getConfiguredNetwork(netId); in prepareForForcedConnection()
|
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ |
D | IkeSessionParamsTest.java | 214 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/ |
D | PasspointNetworkNominateHelper.java | 321 WifiConfiguration existingNetwork = mWifiConfigManager.getConfiguredNetwork( in createWifiConfigForProvider() 347 return mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in createWifiConfigForProvider()
|
D | PasspointManager.java | 440 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/ |
D | IkeConnectionController.java | 214 mUseCallerConfiguredNetwork = config.ikeParams.getConfiguredNetwork() != null; in IkeConnectionController() 222 mNetwork = config.ikeParams.getConfiguredNetwork(); in IkeConnectionController()
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | IkeSessionParams.java | 719 public Network getConfiguredNetwork() { in getConfiguredNetwork() method in IkeSessionParams 1630 mCallerConfiguredNetwork = ikeSessionParams.getConfiguredNetwork(); in Builder()
|