Searched refs:wns (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManager.java | 293 public final WifiNetworkSuggestion wns; field in WifiNetworkSuggestionsManager.ExtendedWifiNetworkSuggestion 301 public ExtendedWifiNetworkSuggestion(@NonNull WifiNetworkSuggestion wns, in ExtendedWifiNetworkSuggestion() argument 304 this.wns = wns; in ExtendedWifiNetworkSuggestion() 307 this.wns.wifiConfiguration.fromWifiNetworkSuggestion = true; in ExtendedWifiNetworkSuggestion() 308 this.wns.wifiConfiguration.ephemeral = true; in ExtendedWifiNetworkSuggestion() 309 this.wns.wifiConfiguration.creatorName = perAppInfo.packageName; in ExtendedWifiNetworkSuggestion() 310 this.wns.wifiConfiguration.creatorUid = perAppInfo.uid; in ExtendedWifiNetworkSuggestion() 315 this.wns.wifiConfiguration.carrierId = perAppInfo.carrierId; in ExtendedWifiNetworkSuggestion() 316 if (this.wns.passpointConfiguration != null) { in ExtendedWifiNetworkSuggestion() 317 this.wns.passpointConfiguration.setCarrierId(perAppInfo.carrierId); in ExtendedWifiNetworkSuggestion() [all …]
|
D | WifiNetworkFactory.java | 675 WifiNetworkSpecifier wns = (WifiNetworkSpecifier) networkRequest.getNetworkSpecifier(); in isRequestWithWifiNetworkSpecifierValid() local 676 if (wns.getBand() != ScanResult.UNSPECIFIED) { in isRequestWithWifiNetworkSpecifierValid() 680 if (!WifiConfigurationUtil.validateNetworkSpecifier(wns)) { in isRequestWithWifiNetworkSpecifierValid() 681 Log.e(TAG, "Invalid wifi network specifier: " + wns + ". Rejecting "); in isRequestWithWifiNetworkSpecifierValid() 796 WifiNetworkSpecifier wns = (WifiNetworkSpecifier) ns; in needNetworkFor() local 798 wns.ssidPatternMatcher, wns.bssidPatternMatcher, ScanResult.UNSPECIFIED, in needNetworkFor() 799 wns.wifiConfiguration); in needNetworkFor() 1372 WifiNetworkSpecifier wns = mActiveSpecificNetworkRequestSpecifier; in startPeriodicScans() local 1373 WifiConfiguration wifiConfiguration = wns.wifiConfiguration; in startPeriodicScans() 1378 addEnclosingQuotes(wns.ssidPatternMatcher.getPath()))); in startPeriodicScans() [all …]
|
D | NetworkSuggestionNominator.java | 201 ewns.wns.wifiConfiguration.getPasspointUniqueId(), in findMatchedPasspointSuggestionNetworks() 383 e -> e.extWifiNetworkSuggestion.wns.wifiConfiguration.priority, in getHighestPriorityNetworks() 413 wifiNetworkSuggestion.wns.priorityGroup); in put()
|
D | NetworkSuggestionStoreData.java | 216 WifiNetworkSuggestion suggestion = extSuggestion.wns; in serializeNetworkSuggestion()
|
D | ClientModeImpl.java | 3901 WifiNetworkAgentSpecifier wns = 3905 return wns;
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkSuggestionNominatorTest.java | 200 WifiConfiguration config = suggestions[0].wns.wifiConfiguration; in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion() 541 suggestions[0].wns.wifiConfiguration.fromWifiNetworkSuggestion = true; in testSelectNetworkSuggestionForOneMatchForExistingNetwork() 542 suggestions[0].wns.wifiConfiguration.ephemeral = true; in testSelectNetworkSuggestionForOneMatchForExistingNetwork() 547 .thenReturn(suggestions[0].wns.wifiConfiguration); in testSelectNetworkSuggestionForOneMatchForExistingNetwork() 573 suggestions[0].wns.wifiConfiguration.getKey()); in testSelectNetworkSuggestionForOneMatchForExistingNetwork() 661 suggestions[0].wns.wifiConfiguration.getNetworkSelectionStatus().setNetworkSelectionStatus( in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled() 669 .thenReturn(suggestions[0].wns.wifiConfiguration); in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled() 680 suggestions[0].wns.wifiConfiguration.getProfileKey())); in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled() 682 suggestions[0].wns.wifiConfiguration.networkId)); in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled() 685 suggestions[0].wns.wifiConfiguration.getKey())); in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled() [all …]
|
D | NetworkSuggestionStoreDataTest.java | 321 configuration, deserializedSuggestion.wns.wifiConfiguration); in serializeDeserializeSingleNetworkSuggestionFromSingleApp() 324 deserializedSuggestion.wns.wifiConfiguration.enterpriseConfig); in serializeDeserializeSingleNetworkSuggestionFromSingleApp() 495 assertEquals(networkSuggestion, deserializedSuggestion.wns); in serializeDeserializeSinglePasspointSuggestionFromSingleApp()
|
D | WifiNetworkSuggestionsManagerTest.java | 1966 n -> n.wns, in testAddNetworkSuggestionsConfigStoreWrite() 3409 assertEquals(networkSuggestion, ewns.iterator().next().wns); in testGetPasspointSuggestionFromFqdnWithUserApproval() 3671 .map(ewns -> ewns.wns) in assertSuggestionsEquals() 4251 assertTrue(ewns.wns.wifiConfiguration.isMostRecentlyConnected); in testIsMostRecentlyConnectedSuggestion() 4260 assertFalse(ewns.wns.wifiConfiguration.isMostRecentlyConnected); in testIsMostRecentlyConnectedSuggestion() 4952 assertEquals(networkSuggestion, ewns.iterator().next().wns); in testGetMergedPasspointSuggestionFromFqdn()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | TelephonyNetworkSpecifierTest.java | 102 final WifiNetworkSpecifier wns = new WifiNetworkSpecifier.Builder() in testCanBeSatisfiedBy() local 114 assertFalse(tns1.canBeSatisfiedBy(wns)); in testCanBeSatisfiedBy()
|