Home
last modified time | relevance | path

Searched refs:ewns (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java440 for (ExtendedWifiNetworkSuggestion ewns : extNetworkSuggestions) { in toSerialize()
441 if (ewns.wns.passpointConfiguration != null) { in toSerialize()
444 ewns.wns.wifiConfiguration.isMostRecentlyConnected = mLruConnectionTracker in toSerialize()
445 .isMostRecentlyConnected(ewns.createInternalWifiConfiguration()); in toSerialize()
468 for (ExtendedWifiNetworkSuggestion ewns : extNetworkSuggestions) { in fromDeserialized()
469 if (ewns.wns.passpointConfiguration != null) { in fromDeserialized()
470 addToPasspointInfoMap(ewns); in fromDeserialized()
472 if (ewns.wns.wifiConfiguration.isMostRecentlyConnected) { in fromDeserialized()
474 .addNetwork(ewns.createInternalWifiConfiguration()); in fromDeserialized()
476 addToScanResultMatchInfoMap(ewns); in fromDeserialized()
[all …]
DNetworkSuggestionNominator.java125 .filter(ewns -> ewns.isAutojoinEnabled) in findMatchedPasspointSuggestionNetworks()
147 for (ExtendedWifiNetworkSuggestion ewns : matchingExtNetworkSuggestions) { in findMatchedSuggestionNetworks()
149 if (ewns.wns.wifiConfiguration.isEnterprise() in findMatchedSuggestionNetworks()
150 && ewns.wns.wifiConfiguration.enterpriseConfig.isInsecure()) { in findMatchedSuggestionNetworks()
154 WifiConfiguration config = ewns.wns.wifiConfiguration; in findMatchedSuggestionNetworks()
162 if (!ewns.isAutojoinEnabled in findMatchedSuggestionNetworks()
164 autoJoinDisabledSuggestions.add(ewns); in findMatchedSuggestionNetworks()
170 autoJoinDisabledSuggestions.add(ewns); in findMatchedSuggestionNetworks()
173 autojoinEnableSuggestions.add(ewns); in findMatchedSuggestionNetworks()
198 .filter(ewns -> ewns.perAppInfo.uid == creatorUid) in findMatchedSuggestionNetworks()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSuggestionsManagerTest.java3025 Set<ExtendedWifiNetworkSuggestion> ewns = in testGetPasspointSuggestionFromFqdnWithUserApproval() local
3027 assertEquals(1, ewns.size()); in testGetPasspointSuggestionFromFqdnWithUserApproval()
3028 assertEquals(networkSuggestion, ewns.iterator().next().wns); in testGetPasspointSuggestionFromFqdnWithUserApproval()
3049 Set<ExtendedWifiNetworkSuggestion> ewns = in testGetPasspointSuggestionFromFqdnWithoutUserApproval() local
3051 assertNull(ewns); in testGetPasspointSuggestionFromFqdnWithoutUserApproval()
3070 Set<ExtendedWifiNetworkSuggestion> ewns = in getNetworkSuggestionsForFqdn_activeScorer_doesNotRequestForUserApproval() local
3073 assertEquals(1, ewns.size()); in getNetworkSuggestionsForFqdn_activeScorer_doesNotRequestForUserApproval()
3193 .map(ewns -> ewns.wns) in assertSuggestionsEquals()
3384 for (ExtendedWifiNetworkSuggestion ewns : matchedSuggestions) { in testSetAllowAutoJoinOnSuggestionNetwork()
3385 assertFalse(ewns.isAutojoinEnabled); in testSetAllowAutoJoinOnSuggestionNetwork()
[all …]