Home
last modified time | relevance | path

Searched refs:wifiConfiguration (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkSuggestion.java547 final WifiConfiguration wifiConfiguration = new WifiConfiguration(); in buildWifiConfiguration() local
549 wifiConfiguration.SSID = "\"" + mSsid + "\""; in buildWifiConfiguration()
551 wifiConfiguration.BSSID = mBssid.toString(); in buildWifiConfiguration()
554 setSecurityParamsInWifiConfiguration(wifiConfiguration); in buildWifiConfiguration()
556 wifiConfiguration.hiddenSSID = mIsHiddenSSID; in buildWifiConfiguration()
557 wifiConfiguration.priority = mPriority; in buildWifiConfiguration()
558 wifiConfiguration.meteredOverride = mMeteredOverride; in buildWifiConfiguration()
559 wifiConfiguration.carrierId = mCarrierId; in buildWifiConfiguration()
560 wifiConfiguration.trusted = !mIsNetworkUntrusted; in buildWifiConfiguration()
561 return wifiConfiguration; in buildWifiConfiguration()
[all …]
DWifiNetworkSpecifier.java302 final WifiConfiguration wifiConfiguration = new WifiConfiguration(); in buildWifiConfiguration() local
305 wifiConfiguration.SSID = "\"" + mSsidPatternMatcher.getPath() + "\""; in buildWifiConfiguration()
308 wifiConfiguration.BSSID = mBssidPatternMatcher.first.toString(); in buildWifiConfiguration()
310 setSecurityParamsInWifiConfiguration(wifiConfiguration); in buildWifiConfiguration()
311 wifiConfiguration.hiddenSSID = mIsHiddenSSID; in buildWifiConfiguration()
312 return wifiConfiguration; in buildWifiConfiguration()
462 public final WifiConfiguration wifiConfiguration; field in WifiNetworkSpecifier
472 @NonNull WifiConfiguration wifiConfiguration) { in WifiNetworkSpecifier() argument
475 checkNotNull(wifiConfiguration); in WifiNetworkSpecifier()
479 this.wifiConfiguration = wifiConfiguration; in WifiNetworkSpecifier()
[all …]
DWifiNetworkAgentSpecifier.java43 public WifiNetworkAgentSpecifier(@NonNull WifiConfiguration wifiConfiguration) { in WifiNetworkAgentSpecifier() argument
44 checkNotNull(wifiConfiguration); in WifiNetworkAgentSpecifier()
46 mWifiConfiguration = wifiConfiguration; in WifiNetworkAgentSpecifier()
56 WifiConfiguration wifiConfiguration = in.readParcelable(null);
57 return new WifiNetworkAgentSpecifier(wifiConfiguration);
102 checkNotNull(ns.wifiConfiguration.allowedKeyManagement); in satisfiesNetworkSpecifier()
119 if (!ns.wifiConfiguration.allowedKeyManagement.equals( in satisfiesNetworkSpecifier()
DWifiManager.java1656 default void select(@NonNull WifiConfiguration wifiConfiguration) {} in select() argument
1714 default void onUserSelectionConnectSuccess(@NonNull WifiConfiguration wifiConfiguration) {} in onUserSelectionConnectSuccess() argument
1723 default void onUserSelectionConnectFailure(@NonNull WifiConfiguration wifiConfiguration) {} in onUserSelectionConnectFailure() argument
1740 public void select(@NonNull WifiConfiguration wifiConfiguration) { in select() argument
1743 + "wificonfiguration: " + wifiConfiguration); in select()
1746 mCallback.select(wifiConfiguration); in select()
1818 public void onUserSelectionConnectSuccess(WifiConfiguration wifiConfiguration) { in onUserSelectionConnectSuccess() argument
1821 + " wificonfiguration: " + wifiConfiguration); in onUserSelectionConnectSuccess()
1825 mCallback.onUserSelectionConnectSuccess(wifiConfiguration); in onUserSelectionConnectSuccess()
1830 public void onUserSelectionConnectFailure(WifiConfiguration wifiConfiguration) { in onUserSelectionConnectFailure() argument
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkSuggestionTest.java55 assertEquals("\"" + TEST_SSID + "\"", suggestion.wifiConfiguration.SSID); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction()
56 assertTrue(suggestion.wifiConfiguration.allowedKeyManagement in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction()
61 suggestion.wifiConfiguration.meteredOverride); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction()
62 assertEquals(-1, suggestion.wifiConfiguration.priority); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction()
83 assertEquals("\"" + TEST_SSID + "\"", suggestion.wifiConfiguration.SSID); in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction()
84 assertTrue(suggestion.wifiConfiguration.allowedKeyManagement in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction()
87 suggestion.wifiConfiguration.preSharedKey); in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction()
91 suggestion.wifiConfiguration.meteredOverride); in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction()
92 assertEquals(0, suggestion.wifiConfiguration.priority); in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction()
113 assertEquals("\"" + TEST_SSID + "\"", suggestion.wifiConfiguration.SSID); in testWifiNetworkSuggestionBuilderForWpa2PskNetworkWithMeteredAndReqUserInteraction()
[all …]
DWifiNetworkSpecifierTest.java68 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedKeyManagement in testWifiNetworkSpecifierBuilderForOpenNetworkWithSsidPattern()
94 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedKeyManagement in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern()
97 wifiNetworkSpecifier.wifiConfiguration.preSharedKey); in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern()
127 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedKeyManagement in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
129 assertTrue(wifiNetworkSpecifier.wifiConfiguration.allowedKeyManagement in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
131 assertTrue(wifiNetworkSpecifier.wifiConfiguration.hiddenSSID); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
133 wifiNetworkSpecifier.wifiConfiguration.enterpriseConfig.getEapMethod()); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
135 wifiNetworkSpecifier.wifiConfiguration.enterpriseConfig.getPhase2Method()); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
359 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in testWifiNetworkSpecifierParcel() local
360 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierParcel()
[all …]
DWifiNetworkAgentSpecifierTest.java383 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in createDefaultWifiConfiguration() local
384 wifiConfiguration.SSID = "\"" + TEST_SSID + "\""; in createDefaultWifiConfiguration()
385 wifiConfiguration.BSSID = TEST_BSSID; in createDefaultWifiConfiguration()
386 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in createDefaultWifiConfiguration()
387 wifiConfiguration.preSharedKey = TEST_PRESHARED_KEY; in createDefaultWifiConfiguration()
388 return wifiConfiguration; in createDefaultWifiConfiguration()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionNominatorTest.java157 setupAddToWifiConfigManager(suggestions[0].wns.wifiConfiguration); in testSelectNetworkSuggestionForOneMatch()
167 verifyAddToWifiConfigManager(suggestions[0].wns.wifiConfiguration); in testSelectNetworkSuggestionForOneMatch()
192 WifiConfiguration config = suggestions[0].wns.wifiConfiguration; in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion()
197 setupAddToWifiConfigManager(suggestions[0].wns.wifiConfiguration); in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion()
239 setupAddToWifiConfigManager(suggestions[0].wns.wifiConfiguration, in testSelectNetworkSuggestionForMultipleMatch()
240 suggestions[1].wns.wifiConfiguration); in testSelectNetworkSuggestionForMultipleMatch()
251 verifyAddToWifiConfigManager(suggestions[1].wns.wifiConfiguration, in testSelectNetworkSuggestionForMultipleMatch()
252 suggestions[1].wns.wifiConfiguration); in testSelectNetworkSuggestionForMultipleMatch()
285 setupAddToWifiConfigManager(suggestions[0].wns.wifiConfiguration, in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins()
286 suggestions[1].wns.wifiConfiguration); in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins()
[all …]
DScanResultMatchInfoTest.java106 WifiConfiguration wifiConfiguration = in testEqualityRulesForTransitionMode() local
108 ScanDetail scanDetail = createScanDetailForWpa2Wpa3TransitionModeNetwork(wifiConfiguration, in testEqualityRulesForTransitionMode()
111 ScanResultMatchInfo key1 = ScanResultMatchInfo.fromWifiConfiguration(wifiConfiguration); in testEqualityRulesForTransitionMode()
113 ScanResultMatchInfo key3 = ScanResultMatchInfo.fromWifiConfiguration(wifiConfiguration); in testEqualityRulesForTransitionMode()
139 WifiConfiguration wifiConfiguration = in testEqualityRulesForPsk() local
141 ScanDetail scanDetail = createScanDetailForNetwork(wifiConfiguration, in testEqualityRulesForPsk()
144 ScanResultMatchInfo key1 = ScanResultMatchInfo.fromWifiConfiguration(wifiConfiguration); in testEqualityRulesForPsk()
146 ScanResultMatchInfo key3 = ScanResultMatchInfo.fromWifiConfiguration(wifiConfiguration); in testEqualityRulesForPsk()
173 WifiConfiguration wifiConfiguration = in testEqualityRulesForSae() local
175 ScanDetail scanDetail = createScanDetailForNetwork(wifiConfiguration, in testEqualityRulesForSae()
[all …]
DWifiNetworkSuggestionsManagerTest.java408 when(mWifiKeyStore.updateNetworkKeys(eq(networkSuggestion1.wifiConfiguration), any())) in testAddRemoveEnterpriseNetworkSuggestion()
410 when(mWifiKeyStore.updateNetworkKeys(eq(networkSuggestion2.wifiConfiguration), any())) in testAddRemoveEnterpriseNetworkSuggestion()
421 removingSuggestion.wifiConfiguration.SSID = networkSuggestion1.wifiConfiguration.SSID; in testAddRemoveEnterpriseNetworkSuggestion()
428 verify(mWifiKeyStore).removeKeys(networkSuggestion1.wifiConfiguration.enterpriseConfig); in testAddRemoveEnterpriseNetworkSuggestion()
436 networkSuggestion.wifiConfiguration.enterpriseConfig.setCaPath(null); in testAddInsecureEnterpriseNetworkSuggestion()
444 networkSuggestion.wifiConfiguration.enterpriseConfig.setDomainSuffixMatch(""); in testAddInsecureEnterpriseNetworkSuggestion()
547 networkSuggestion.wifiConfiguration.meteredOverride); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
550 when(mWifiConfigManager.getConfiguredNetwork(networkSuggestion.wifiConfiguration.getKey())) in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
554 networkSuggestion.wifiConfiguration.meteredOverride = in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
563 .get(TEST_PACKAGE_1).get(0).wifiConfiguration.meteredOverride); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
[all …]
DWifiNetworkFactoryTest.java730 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch() local
731 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch()
732 wifiConfiguration.preSharedKey = TEST_WPA_PRESHARED_KEY; in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch()
734 ssidPatternMatch, bssidPatternMatch, wifiConfiguration, TEST_UID_1, in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch()
772 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult() local
773 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult()
774 wifiConfiguration.preSharedKey = TEST_WPA_PRESHARED_KEY; in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult()
776 ssidPatternMatch, bssidPatternMatch, wifiConfiguration, TEST_UID_1, in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchForSaeTransitionScanResult()
814 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch() local
815 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch()
[all …]
DSavedNetworkNominatorTest.java110 for (WifiConfiguration wifiConfiguration : savedConfigs) { in ignoreNetworksIfUseExternalScores()
111 wifiConfiguration.useExternalScores = true; in ignoreNetworksIfUseExternalScores()
163 for (WifiConfiguration wifiConfiguration : savedConfigs) { in ignoreEphemeralNetworks()
164 wifiConfiguration.ephemeral = true; in ignoreEphemeralNetworks()
223 for (WifiConfiguration wifiConfiguration : savedConfigs) { in returnNoCandidateIfNoNetworksAllowAutojoin()
224 wifiConfiguration.allowAutojoin = false; in returnNoCandidateIfNoNetworksAllowAutojoin()
DNetworkSuggestionStoreDataTest.java308 configuration, deserializedSuggestion.wns.wifiConfiguration); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
311 deserializedSuggestion.wns.wifiConfiguration.enterpriseConfig); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
DWifiConnectivityManagerTest.java1405 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in checkScanScheduleForSingleSavedNetworkConnected() local
1406 wifiConfiguration.networkId = TEST_CONNECTED_NETWORK_ID; in checkScanScheduleForSingleSavedNetworkConnected()
1408 wifiConfigurationList.add(wifiConfiguration); in checkScanScheduleForSingleSavedNetworkConnected()
1451 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in checkScanScheduleForSingleSavedNetwork() local
1452 wifiConfiguration.status = WifiConfiguration.Status.ENABLED; in checkScanScheduleForSingleSavedNetwork()
1453 wifiConfiguration.networkId = testSavedNetworkId; in checkScanScheduleForSingleSavedNetwork()
1455 wifiConfigurationList.add(wifiConfiguration); in checkScanScheduleForSingleSavedNetwork()
1652 WifiConfiguration wifiConfiguration = new WifiConfiguration(); in checkScanScheduleForCurrentConnectedNetworkIsNull() local
1653 wifiConfiguration.networkId = TEST_CONNECTED_NETWORK_ID; in checkScanScheduleForCurrentConnectedNetworkIsNull()
1655 wifiConfigurationList.add(wifiConfiguration); in checkScanScheduleForCurrentConnectedNetworkIsNull()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java264 this.wns.wifiConfiguration.fromWifiNetworkSuggestion = true; in ExtendedWifiNetworkSuggestion()
265 this.wns.wifiConfiguration.ephemeral = true; in ExtendedWifiNetworkSuggestion()
266 this.wns.wifiConfiguration.creatorName = perAppInfo.packageName; in ExtendedWifiNetworkSuggestion()
267 this.wns.wifiConfiguration.creatorUid = perAppInfo.uid; in ExtendedWifiNetworkSuggestion()
294 wns.wifiConfiguration.carrierId = carrierId; in setCarrierId()
444 ewns.wns.wifiConfiguration.isMostRecentlyConnected = mLruConnectionTracker in toSerialize()
472 if (ewns.wns.wifiConfiguration.isMostRecentlyConnected) { in fromDeserialized()
639 extNetworkSuggestion.wns.wifiConfiguration); in addToScanResultMatchInfoMap()
641 if (!TextUtils.isEmpty(extNetworkSuggestion.wns.wifiConfiguration.BSSID)) { in addToScanResultMatchInfoMap()
645 extNetworkSuggestion.wns.wifiConfiguration.BSSID)); in addToScanResultMatchInfoMap()
[all …]
DNetworkSuggestionStoreData.java220 out, suggestion.wifiConfiguration, encryptionUtil); in serializeNetworkSuggestion()
223 if (suggestion.wifiConfiguration.enterpriseConfig != null in serializeNetworkSuggestion()
224 && suggestion.wifiConfiguration.enterpriseConfig.getEapMethod() in serializeNetworkSuggestion()
229 out, suggestion.wifiConfiguration.enterpriseConfig, encryptionUtil); in serializeNetworkSuggestion()
462 WifiConfiguration wifiConfiguration = parsedConfig.second; in parseNetworkSuggestion() local
464 wifiConfiguration.setPasspointUniqueId(passpointConfiguration.getUniqueId()); in parseNetworkSuggestion()
467 wifiConfiguration.enterpriseConfig = enterpriseConfig; in parseNetworkSuggestion()
469 return Pair.create(new WifiNetworkSuggestion(wifiConfiguration, passpointConfiguration, in parseNetworkSuggestion()
DNetworkSuggestionNominator.java149 if (ewns.wns.wifiConfiguration.isEnterprise() in findMatchedSuggestionNetworks()
150 && ewns.wns.wifiConfiguration.enterpriseConfig.isInsecure()) { in findMatchedSuggestionNetworks()
154 WifiConfiguration config = ewns.wns.wifiConfiguration; in findMatchedSuggestionNetworks()
184 .wns.wifiConfiguration.getKey(); in findMatchedSuggestionNetworks()
271 WifiConfiguration wifiConfiguration = ewns.createInternalWifiConfiguration(); in addCandidateToWifiConfigManager() local
273 mWifiConfigManager.addOrUpdateNetwork(wifiConfiguration, ewns.perAppInfo.uid, in addCandidateToWifiConfigManager()
337 e -> e.extWifiNetworkSuggestion.wns.wifiConfiguration.priority, in getHighestPriorityNetworks()
DWifiNetworkFactory.java283 public void select(WifiConfiguration wifiConfiguration) { in select() argument
289 handleConnectToNetworkUserSelection(wifiConfiguration); in select()
600 wns.ssidPatternMatcher, wns.bssidPatternMatcher, wns.wifiConfiguration); in needNetworkFor()
790 new WifiConfiguration(mActiveSpecificNetworkRequestSpecifier.wifiConfiguration); in handleConnectToNetworkUserSelectionInternal()
1076 WifiConfiguration wifiConfiguration = wns.wifiConfiguration; in startPeriodicScans() local
1077 if (wifiConfiguration.hiddenSSID) { in startPeriodicScans()
1138 ScanResultMatchInfo.fromWifiConfiguration(wns.wifiConfiguration); in doesScanResultMatchWifiNetworkSpecifier()
1402 mActiveSpecificNetworkRequestSpecifier.wifiConfiguration).networkType; in triggerConnectIfUserApprovedMatchFound()
1413 WifiConfiguration config = mActiveSpecificNetworkRequestSpecifier.wifiConfiguration; in triggerConnectIfUserApprovedMatchFound()
DWifiBackupRestore.java795 WifiConfiguration wifiConfiguration = net.createWifiConfiguration(); in retrieveWifiConfigurations() local
796 if (wifiConfiguration != null) { in retrieveWifiConfigurations()
797 Log.v(TAG, "Parsed Configuration: " + wifiConfiguration.getKey()); in retrieveWifiConfigurations()
798 wifiConfigurations.add(wifiConfiguration); in retrieveWifiConfigurations()
DWakeupController.java354 ScanResultMatchInfo.fromWifiConfiguration(suggestion.wifiConfiguration)); in getGoodSavedNetworksAndSuggestions()
DWifiConfigurationUtil.java711 WifiConfiguration config = specifier.wifiConfiguration; in validateNetworkSpecifier()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java310 WifiConfiguration wifiConfiguration = wifiConfigurationCaptor.getValue(); in verifyWifiConfigurationForOsuNetwork() local
311 assertTrue(wifiConfiguration.isNoInternetAccessExpected()); in verifyWifiConfigurationForOsuNetwork()
312 assertTrue(wifiConfiguration.isEphemeral()); in verifyWifiConfigurationForOsuNetwork()
313 assertTrue(wifiConfiguration.osu); in verifyWifiConfigurationForOsuNetwork()
338 WifiConfiguration wifiConfiguration = wifiConfigurationCaptor.getValue(); in verifyWifiConfigurationForOsenOsuNetwork() local
339 assertTrue(wifiConfiguration.isNoInternetAccessExpected()); in verifyWifiConfigurationForOsenOsuNetwork()
340 assertTrue(wifiConfiguration.isEphemeral()); in verifyWifiConfigurationForOsenOsuNetwork()
341 assertTrue(wifiConfiguration.osu); in verifyWifiConfigurationForOsenOsuNetwork()
342 assertTrue(wifiConfiguration.allowedProtocols.get(WifiConfiguration.Protocol.OSEN)); in verifyWifiConfigurationForOsenOsuNetwork()
343 assertTrue(wifiConfiguration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.OSEN)); in verifyWifiConfigurationForOsenOsuNetwork()
[all …]
DPasspointManagerTest.java1156 WifiConfiguration wifiConfiguration = WifiConfigurationTestUtil.generateWifiConfig(-1, in getAllMatchingFqdnsForScanResults() local
1160 TEST_PACKAGE, wifiConfiguration, false, null); in getAllMatchingFqdnsForScanResults()
2177 WifiConfiguration wifiConfiguration = WifiConfigurationTestUtil.generateWifiConfig(-1, in matchHomeProviderWhenHomeProviderNotExpired() local
2181 TEST_PACKAGE, wifiConfiguration, false, null); in matchHomeProviderWhenHomeProviderNotExpired()
2227 WifiConfiguration wifiConfiguration = WifiConfigurationTestUtil.generateWifiConfig(-1, in matchRoamingProviderUnsetWhenHomeProviderExpired() local
2231 TEST_PACKAGE, wifiConfiguration, false, null); in matchRoamingProviderUnsetWhenHomeProviderExpired()
2279 WifiConfiguration wifiConfiguration = WifiConfigurationTestUtil.generateWifiConfig(-1, in matchRoamingProviderNonExpiredWhenHomeProviderExpired() local
2283 TEST_PACKAGE, wifiConfiguration, false, null); in matchRoamingProviderNonExpiredWhenHomeProviderExpired()
DPasspointNetworkNominateHelperTest.java103 WifiConfiguration wifiConfiguration = WifiConfigurationTestUtil.generateWifiConfig(-1, in generateWifiConfig() local
107 return wifiConfiguration; in generateWifiConfig()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DUtils.java397 WifiConfiguration wifiConfiguration = wifiEntry.getWifiConfiguration(); in getDisconnectedStateDescription() local
398 if (wifiConfiguration == null) { in getDisconnectedStateDescription()
402 if (wifiConfiguration.hasNoInternetAccess()) { in getDisconnectedStateDescription()
404 wifiConfiguration.getNetworkSelectionStatus().getNetworkSelectionStatus() in getDisconnectedStateDescription()
408 } else if (wifiConfiguration.getNetworkSelectionStatus().getNetworkSelectionStatus() in getDisconnectedStateDescription()
411 wifiConfiguration.getNetworkSelectionStatus(); in getDisconnectedStateDescription()
427 if (wifiConfiguration.getRecentFailureReason() in getDisconnectedStateDescription()

12