Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java522 for (ExtendedWifiNetworkSuggestion ewns : entry.getValue().extNetworkSuggestions in toSerialize()
524 if (ewns.wns.passpointConfiguration != null) { in toSerialize()
527 ewns.wns.wifiConfiguration.isMostRecentlyConnected = mLruConnectionTracker in toSerialize()
528 .isMostRecentlyConnected(ewns.createInternalWifiConfiguration( in toSerialize()
549 for (ExtendedWifiNetworkSuggestion ewns : extNetworkSuggestions) { in fromDeserialized()
550 if (ewns.wns.passpointConfiguration != null) { in fromDeserialized()
551 addToPasspointInfoMap(ewns); in fromDeserialized()
553 if (ewns.wns.wifiConfiguration.isMostRecentlyConnected) { in fromDeserialized()
555 .addNetwork(ewns.createInternalWifiConfiguration( in fromDeserialized()
558 addToScanResultMatchInfoMap(ewns); in fromDeserialized()
[all …]
DNetworkSuggestionNominator.java120 for (ExtendedWifiNetworkSuggestion ewns : matchingExtNetworkSuggestions) { in addOrUpdateSuggestionsToWifiConfigManger()
121 addOrUpdateSuggestionToWifiConfigManger(ewns); in addOrUpdateSuggestionsToWifiConfigManger()
126 private void addOrUpdateSuggestionToWifiConfigManger(ExtendedWifiNetworkSuggestion ewns) { in addOrUpdateSuggestionToWifiConfigManger() argument
127 WifiConfiguration config = ewns.createInternalWifiConfiguration(mWifiCarrierInfoManager); in addOrUpdateSuggestionToWifiConfigManger()
140 config, ewns.perAppInfo.uid, ewns.perAppInfo.packageName, false); in addOrUpdateSuggestionToWifiConfigManger()
213 .filter(ewns -> Objects.equals( in findMatchedPasspointSuggestionNetworks()
214 ewns.wns.wifiConfiguration.getPasspointUniqueId(), in findMatchedPasspointSuggestionNetworks()
248 for (ExtendedWifiNetworkSuggestion ewns : matchingExtNetworkSuggestions) { in findMatchedSuggestionNetworks()
249 WifiConfiguration config = ewns.createInternalWifiConfiguration( in findMatchedSuggestionNetworks()
279 matchMetaInfo.put(ewns, wCmConfiguredNetwork, scanDetail); in findMatchedSuggestionNetworks()
DNetworkSuggestionStoreData.java331 ExtendedWifiNetworkSuggestion ewns = parseNetworkSuggestion(in, in parseNetworkSuggestionsMap() local
333 perAppInfo.extNetworkSuggestions.put(ewns.hashCode(), ewns); in parseNetworkSuggestionsMap() local
483 ExtendedWifiNetworkSuggestion ewns = ExtendedWifiNetworkSuggestion in parseNetworkSuggestion() local
488 ewns.connectChoice = connectChoice; in parseNetworkSuggestion()
489 ewns.connectChoiceRssi = connectChoiceRssi; in parseNetworkSuggestion()
490 return ewns; in parseNetworkSuggestion()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java306 ExtendedWifiNetworkSuggestion ewns = ExtendedWifiNetworkSuggestion in serializeDeserializeSingleNetworkSuggestionFromSingleApp() local
308 ewns.connectChoice = USER_CONNECT_CHOICE; in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
309 ewns.connectChoiceRssi = TEST_RSSI; in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
310 appInfo.extNetworkSuggestions.put(ewns.hashCode(), ewns); in serializeDeserializeSingleNetworkSuggestionFromSingleApp() local
342 ExtendedWifiNetworkSuggestion ewns = in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() local
344 appInfo1.extNetworkSuggestions.put(ewns.hashCode(), ewns); in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() local
484 ExtendedWifiNetworkSuggestion ewns = in serializeDeserializeSinglePasspointSuggestionFromSingleApp() local
486 appInfo.extNetworkSuggestions.put(ewns.hashCode(), ewns); in serializeDeserializeSinglePasspointSuggestionFromSingleApp() local
DWifiNetworkSuggestionsManagerTest.java2206 ExtendedWifiNetworkSuggestion ewns = in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch() local
2208 appInfo1.extNetworkSuggestions.put(ewns.hashCode(), ewns); in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch() local
3428 Set<ExtendedWifiNetworkSuggestion> ewns = in testGetPasspointSuggestionFromFqdnWithUserApproval() local
3430 assertEquals(1, ewns.size()); in testGetPasspointSuggestionFromFqdnWithUserApproval()
3431 assertEquals(networkSuggestion, ewns.iterator().next().wns); in testGetPasspointSuggestionFromFqdnWithUserApproval()
3453 Set<ExtendedWifiNetworkSuggestion> ewns = in testGetPasspointSuggestionFromFqdnWithoutUserApproval() local
3455 assertTrue(ewns.isEmpty()); in testGetPasspointSuggestionFromFqdnWithoutUserApproval()
3673 .map(ewns -> ewns.wns) in assertSuggestionsEquals()
3938 for (ExtendedWifiNetworkSuggestion ewns : matchedSuggestions) { in testSetAllowAutoJoinOnSuggestionNetwork()
3939 assertFalse(ewns.isAutojoinEnabled); in testSetAllowAutoJoinOnSuggestionNetwork()
[all …]