Home
last modified time | relevance | path

Searched refs:wns (Results 1 – 9 of 9) sorted by relevance

/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 …]
DNetworkSuggestionStoreDataTest.java308 configuration, deserializedSuggestion.wns.wifiConfiguration); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
311 deserializedSuggestion.wns.wifiConfiguration.enterpriseConfig); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
466 assertEquals(networkSuggestion, deserializedSuggestion.wns); in serializeDeserializeSinglePasspointSuggestionFromSingleApp()
DWifiNetworkSuggestionsManagerTest.java1627 n -> n.wns, in testAddNetworkSuggestionsConfigStoreWrite()
3028 assertEquals(networkSuggestion, ewns.iterator().next().wns); in testGetPasspointSuggestionFromFqdnWithUserApproval()
3193 .map(ewns -> ewns.wns) in assertSuggestionsEquals()
3732 assertTrue(ewns.wns.wifiConfiguration.isMostRecentlyConnected); in testIsMostRecentlyConnectedSuggestion()
3741 assertFalse(ewns.wns.wifiConfiguration.isMostRecentlyConnected); in testIsMostRecentlyConnectedSuggestion()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java253 public final WifiNetworkSuggestion wns; field in WifiNetworkSuggestionsManager.ExtendedWifiNetworkSuggestion
258 public ExtendedWifiNetworkSuggestion(@NonNull WifiNetworkSuggestion wns, in ExtendedWifiNetworkSuggestion() argument
261 this.wns = wns; in ExtendedWifiNetworkSuggestion()
264 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()
272 return Objects.hash(wns, perAppInfo.uid, perAppInfo.packageName); in hashCode()
284 return wns.equals(other.wns) in equals()
293 if (wns.passpointConfiguration == null) { in setCarrierId()
[all …]
DWifiNetworkFactory.java497 WifiNetworkSpecifier wns = (WifiNetworkSpecifier) ns; in isRequestWithNetworkSpecifierValid() local
498 if (!WifiConfigurationUtil.validateNetworkSpecifier(wns)) { in isRequestWithNetworkSpecifierValid()
526 WifiNetworkSpecifier wns = (WifiNetworkSpecifier) ns; in acceptRequest() local
598 WifiNetworkSpecifier wns = (WifiNetworkSpecifier) ns; in needNetworkFor() local
600 wns.ssidPatternMatcher, wns.bssidPatternMatcher, wns.wifiConfiguration); in needNetworkFor()
1075 WifiNetworkSpecifier wns = mActiveSpecificNetworkRequestSpecifier; in startPeriodicScans() local
1076 WifiConfiguration wifiConfiguration = wns.wifiConfiguration; in startPeriodicScans()
1081 addEnclosingQuotes(wns.ssidPatternMatcher.getPath()))); in startPeriodicScans()
1126 WifiNetworkSpecifier wns, ScanResult scanResult) { in doesScanResultMatchWifiNetworkSpecifier() argument
1127 if (!wns.ssidPatternMatcher.match(scanResult.SSID)) { in doesScanResultMatchWifiNetworkSpecifier()
[all …]
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()
237 if (!ewns.wns.isUserAllowedToManuallyConnect) { in addAutojoinDisabledSuggestionToWifiConfigManager()
337 e -> e.extWifiNetworkSuggestion.wns.wifiConfiguration.priority, in getHighestPriorityNetworks()
DNetworkSuggestionStoreData.java213 WifiNetworkSuggestion suggestion = extSuggestion.wns; in serializeNetworkSuggestion()
DClientModeImpl.java4449 WifiNetworkAgentSpecifier wns = in createNetworkAgentSpecifier() local
4451 return wns; in createNetworkAgentSpecifier()
/frameworks/base/tests/net/java/android/net/
DTelephonyNetworkSpecifierTest.java98 final WifiNetworkSpecifier wns = new WifiNetworkSpecifier.Builder() in testCanBeSatisfiedBy() local
110 assertFalse(tns1.canBeSatisfiedBy(wns)); in testCanBeSatisfiedBy()