Home
last modified time | relevance | path

Searched refs:scanDetails (Results 1 – 22 of 22) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionNominatorTest.java133 ScanDetail[] scanDetails = in testSelectNetworkSuggestionForNoMatch() local
139 linkScanDetailsWithNetworkSuggestions(scanDetails, suggestions); in testSelectNetworkSuggestionForNoMatch()
143 Arrays.asList(scanDetails), mPasspointCandidates, false, false, false, in testSelectNetworkSuggestionForNoMatch()
175 ScanDetail[] scanDetails = in testSelectNetworkSuggestionForOneMatch() local
181 linkScanDetailsWithNetworkSuggestions(scanDetails, suggestions); in testSelectNetworkSuggestionForOneMatch()
187 Arrays.asList(scanDetails), mPasspointCandidates, false, false, false, in testSelectNetworkSuggestionForOneMatch()
216 ScanDetail[] scanDetails = in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion() local
224 linkScanDetailsWithNetworkSuggestions(scanDetails, suggestions); in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion()
230 Arrays.asList(scanDetails), mPasspointCandidates, false, false, false, in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion()
264 ScanDetail[] scanDetails = in testSelectNetworkSuggestionForMultipleMatch() local
[all …]
DSavedNetworkNominatorTest.java140 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in ignoreNetworksIfUseExternalScores() local
147 scanDetails, null, false, true, true, Collections.emptySet(), mOnConnectableListener in ignoreNetworksIfUseExternalScores()
166 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in ignoreNetworkIfSimIsAbsentForEapSimNetwork() local
174 scanDetails, mPasspointCandidates, false, true, true, Collections.emptySet(), in ignoreNetworkIfSimIsAbsentForEapSimNetwork()
196 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in ignoreEphemeralNetworks() local
203 scanDetails, mPasspointCandidates, false, true, true, Collections.emptySet(), in ignoreEphemeralNetworks()
226 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in ignoreNetworksIfAutojoinNotAllowed() local
230 scanDetails, null, false, true, true, Collections.emptySet(), in ignoreNetworksIfAutojoinNotAllowed()
238 scanDetails, mPasspointCandidates, false, true, true, Collections.emptySet(), in ignoreNetworksIfAutojoinNotAllowed()
262 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in returnNoCandidateIfNoNetworksAllowAutojoin() local
[all …]
DWifiNetworkSelectorTestUtil.java68 ScanDetailsAndWifiConfigs(List<ScanDetail> scanDetails, WifiConfiguration[] configs) { in ScanDetailsAndWifiConfigs() argument
69 mScanDetails = scanDetails; in ScanDetailsAndWifiConfigs()
99 List<ScanDetail> scanDetails = buildScanDetails(ssids, bssids, freqs, caps, levels, clock); in setupScanDetailsAndConfigStore() local
103 addWifiConfigAndLinkScanResult(wifiConfigManager, savedConfigs, scanDetails); in setupScanDetailsAndConfigStore()
105 return new ScanDetailsAndWifiConfigs(scanDetails, savedConfigs); in setupScanDetailsAndConfigStore()
117 List<ScanDetail> scanDetails = buildScanDetailsWithNetworkDetails(ssids, bssids, freqs, in setupScanDetailsAndConfigStore() local
122 addWifiConfigAndLinkScanResult(wifiConfigManager, savedConfigs, scanDetails); in setupScanDetailsAndConfigStore()
124 return new ScanDetailsAndWifiConfigs(scanDetails, savedConfigs); in setupScanDetailsAndConfigStore()
148 List<ScanDetail> scanDetails = buildScanDetails(ssids, bssids, freqs, caps, levels, clock); in setupScanDetailsAndConfigForEapSimNetwork() local
161 addWifiConfigAndLinkScanResult(wifiConfigManager, savedConfigs, scanDetails); in setupScanDetailsAndConfigForEapSimNetwork()
[all …]
DWifiNetworkSelectorTest.java200 public void update(List<ScanDetail> scanDetails) {} in update() argument
203 public void nominateNetworks(List<ScanDetail> scanDetails, in nominateNetworks() argument
258 public void update(List<ScanDetail> scanDetails) {} in update() argument
275 public void nominateNetworks(List<ScanDetail> scanDetails, in nominateNetworks() argument
284 for (int index = 0; index < scanDetails.size(); index++) { in nominateNetworks()
285 ScanDetail scanDetail = scanDetails.get(index); in nominateNetworks()
552 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in emptyScanResults() local
555 scanDetails, blocklist, in emptyScanResults()
586 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in verifyMinimumRssiThreshold() local
589 scanDetails, blocklist, in verifyMinimumRssiThreshold()
[all …]
DExternalPnoScanRequestManagerTest.java194 List<ScanDetail> scanDetails = new ArrayList<>(); in testRemoveRequest_afterDelivery() local
201 scanDetails.add(scanDetail1); in testRemoveRequest_afterDelivery()
202 scanDetails.add(scanDetail2); in testRemoveRequest_afterDelivery()
203 scanDetails.add(scanDetail3); in testRemoveRequest_afterDelivery()
208 mExternalPnoScanRequestManager.onScanResultsAvailable(scanDetails); in testRemoveRequest_afterDelivery()
237 List<ScanDetail> scanDetails = new ArrayList<>(); in testRemoveRequest_noDeliveryIfNoMatch() local
240 scanDetails.add(scanDetail1); in testRemoveRequest_noDeliveryIfNoMatch()
243 mExternalPnoScanRequestManager.onScanResultsAvailable(scanDetails); in testRemoveRequest_noDeliveryIfNoMatch()
DScanResults.java44 private ScanResults(ArrayList<ScanDetail> scanDetails, ScanData scanData, in ScanResults() argument
46 mScanDetails.addAll(scanDetails); in ScanResults()
56 ArrayList<ScanDetail> scanDetails = new ArrayList<>(); in merge() local
60 scanDetails.addAll(other.getScanDetailArrayList()); in merge()
66 return new ScanResults(scanDetails, new ScanData(id, 0, 0, bandScanned, scanDataResults in merge()
DWifiCountryCodeTest.java699 List<ScanDetail> scanDetails = new ArrayList<>(); in setupScanDetails() local
700 scanDetails.add(mScanDetail1); in setupScanDetails()
701 scanDetails.add(mScanDetail2); in setupScanDetails()
702 scanDetails.add(mScanDetail3); in setupScanDetails()
718 return scanDetails; in setupScanDetails()
DWifiNetworkSuggestionsManagerTest.java4509 List<ScanDetail> scanDetails = Arrays.asList(scanDetail1, scanDetail2); in testShouldNotBeIgnoredBySecureSuggestionFromSameCarrierWithoutSameOpenSuggestion() local
4516 .shouldBeIgnoredBySecureSuggestionFromSameCarrier(network1, scanDetails)); in testShouldNotBeIgnoredBySecureSuggestionFromSameCarrierWithoutSameOpenSuggestion()
4537 List<ScanDetail> scanDetails = Arrays.asList(scanDetail1, scanDetail2); in testShouldNotBeIgnoredBySecureSuggestionFromSameCarrierWithoutSecureSuggestion() local
4544 .shouldBeIgnoredBySecureSuggestionFromSameCarrier(network1, scanDetails)); in testShouldNotBeIgnoredBySecureSuggestionFromSameCarrierWithoutSecureSuggestion()
4565 List<ScanDetail> scanDetails = Arrays.asList(scanDetail1, scanDetail2); in testShouldNotBeIgnoredWithoutCarrierProvisioningPermission() local
4572 .shouldBeIgnoredBySecureSuggestionFromSameCarrier(network1, scanDetails)); in testShouldNotBeIgnoredWithoutCarrierProvisioningPermission()
4593 List<ScanDetail> scanDetails = Arrays.asList(scanDetail1, scanDetail2); in testShouldNotBeIgnoredBySecureSuggestionFromDifferentCarrierId() local
4600 .shouldBeIgnoredBySecureSuggestionFromSameCarrier(network1, scanDetails)); in testShouldNotBeIgnoredBySecureSuggestionFromDifferentCarrierId()
4621 List<ScanDetail> scanDetails = Arrays.asList(scanDetail1, scanDetail2); in testShouldNotBeIgnoredBySecureSuggestionFromSameCarrierWithAutojoinDisabled() local
4628 .shouldBeIgnoredBySecureSuggestionFromSameCarrier(network1, scanDetails)); in testShouldNotBeIgnoredBySecureSuggestionFromSameCarrierWithAutojoinDisabled()
[all …]
DWifiBlocklistMonitorTest.java1292 List<ScanDetail> scanDetails = new ArrayList<>(); in simulateRssiUpdate() local
1293 scanDetails.add(scanDetail); in simulateRssiUpdate()
1294 return mWifiBlocklistMonitor.tryEnablingBlockedBssids(scanDetails); in simulateRssiUpdate()
DWifiConnectivityManagerTest.java5091 List<ScanDetail> scanDetails, Set<String> bssidBlocklist, in filterScanResultsWithOneRadioChainInfoForNetworkSelectionIfConfigDisabled()
5097 capturedScanDetails.addAll(scanDetails); in filterScanResultsWithOneRadioChainInfoForNetworkSelectionIfConfigDisabled()
5150 List<ScanDetail> scanDetails, Set<String> bssidBlocklist, in dontFilterScanResultsWithOneRadioChainInfoForNetworkSelectionIfConfigEnabled()
5156 capturedScanDetails.addAll(scanDetails); in dontFilterScanResultsWithOneRadioChainInfoForNetworkSelectionIfConfigEnabled()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelperTest.java199 List<ScanDetail> scanDetails = Arrays.asList(generateScanDetail(TEST_SSID1, TEST_BSSID1), in evaluateScansWithNoMatch() local
203 .getPasspointNetworkCandidates(scanDetails); in evaluateScansWithNoMatch()
220 List<ScanDetail> scanDetails = Arrays.asList(new ScanDetail[] {scanDetail}); in evaluateScansWithNoInterworkingAP() local
222 .getPasspointNetworkCandidates(scanDetails); in evaluateScansWithNoInterworkingAP()
236 List<ScanDetail> scanDetails = Arrays.asList(generateScanDetail(TEST_SSID1, TEST_BSSID1), in evaluateScansWithNetworkMatchingHomeProvider() local
253 .getPasspointNetworkCandidates(scanDetails); in evaluateScansWithNetworkMatchingHomeProvider()
290 List<ScanDetail> scanDetails = Arrays.asList(generateScanDetail(TEST_SSID1, TEST_BSSID1), in evaluateScansWithNoInternetBit() local
292 for (ScanDetail scanDetail : scanDetails) { in evaluateScansWithNoInternetBit()
308 .getPasspointNetworkCandidates(scanDetails); in evaluateScansWithNoInternetBit()
335 List<ScanDetail> scanDetails = Arrays.asList(generateScanDetail(TEST_SSID1, TEST_BSSID1), in evaluateScansWithNetworkMatchingRoamingProvider() local
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelper.java100 public void updatePasspointConfig(List<ScanDetail> scanDetails) { in updatePasspointConfig() argument
101 updateBestMatchScanDetailForProviders(filterAndUpdateScanDetails(scanDetails)); in updatePasspointConfig()
111 List<ScanDetail> scanDetails) { in getPasspointNetworkCandidates() argument
113 filterAndUpdateScanDetails(scanDetails)); in getPasspointNetworkCandidates()
119 @NonNull private List<ScanDetail> filterAndUpdateScanDetails(List<ScanDetail> scanDetails) { in filterAndUpdateScanDetails() argument
124 for (ScanDetail scanDetail : scanDetails) { in filterAndUpdateScanDetails()
137 private void addCachedScanDetails(List<ScanDetail> scanDetails) { in addCachedScanDetails() argument
138 for (ScanDetail scanDetail : scanDetails) { in addCachedScanDetails()
185 public void updateBestMatchScanDetailForProviders(List<ScanDetail> scanDetails) { in updateBestMatchScanDetailForProviders() argument
187 || scanDetails.isEmpty()) { in updateBestMatchScanDetailForProviders()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSavedNetworkNominator.java84 public void update(List<ScanDetail> scanDetails) { in update() argument
92 public void nominateNetworks(@NonNull List<ScanDetail> scanDetails, in nominateNetworks() argument
99 if (scanDetails != null) { in nominateNetworks()
100 findMatchedSavedNetworks(scanDetails, onConnectableListener); in nominateNetworks()
107 private void findMatchedSavedNetworks(List<ScanDetail> scanDetails, in findMatchedSavedNetworks() argument
109 for (ScanDetail scanDetail : scanDetails) { in findMatchedSavedNetworks()
196 scanDetails)) { in findMatchedSavedNetworks()
DNetworkSuggestionNominator.java78 public void update(List<ScanDetail> scanDetails) { in update() argument
81 addOrUpdateSuggestionsToWifiConfigManger(scanDetails); in update()
85 public void nominateNetworks(@NonNull List<ScanDetail> scanDetails, in nominateNetworks() argument
91 if (scanDetails.isEmpty()) { in nominateNetworks()
102 findMatchedSuggestionNetworks(scanDetails, matchMetaInfo, untrustedNetworkAllowed, in nominateNetworks()
113 private void addOrUpdateSuggestionsToWifiConfigManger(List<ScanDetail> scanDetails) { in addOrUpdateSuggestionsToWifiConfigManger() argument
114 for (ScanDetail scanDetail : scanDetails) { in addOrUpdateSuggestionsToWifiConfigManger()
235 private void findMatchedSuggestionNetworks(List<ScanDetail> scanDetails, in findMatchedSuggestionNetworks() argument
239 for (ScanDetail scanDetail : scanDetails) { in findMatchedSuggestionNetworks()
DWifiNetworkSelector.java182 void update(List<ScanDetail> scanDetails); in update() argument
196 void nominateNetworks(@NonNull List<ScanDetail> scanDetails, in nominateNetworks() argument
469 private List<ScanDetail> filterScanResults(List<ScanDetail> scanDetails, in filterScanResults() argument
504 for (ScanDetail scanDetail : scanDetails) { in filterScanResults()
669 private ScanDetail findScanDetailForBssid(List<ScanDetail> scanDetails, in findScanDetailForBssid() argument
671 for (ScanDetail scanDetail : scanDetails) { in findScanDetailForBssid()
1075 @NonNull List<ScanDetail> scanDetails, @NonNull Set<String> bssidBlocklist, in getCandidatesFromScan()
1081 if (scanDetails.size() == 0) { in getCandidatesFromScan()
1087 updateScanDetailCache(scanDetails); in getCandidatesFromScan()
1091 registeredNominator.update(scanDetails); in getCandidatesFromScan()
[all …]
DWifiCountryCode.java431 public void updateCountryCodeFromScanResults(@NonNull List<ScanDetail> scanDetails) { in updateCountryCodeFromScanResults() argument
440 String countryCode = findCountryCodeFromScanResults(scanDetails); in updateCountryCodeFromScanResults()
464 private String findCountryCodeFromScanResults(List<ScanDetail> scanDetails) { in findCountryCodeFromScanResults() argument
467 for (ScanDetail scanDetail : scanDetails) { in findCountryCodeFromScanResults()
DWifiConnectivityManager.java594 private void handleScanResults(@NonNull List<ScanDetail> scanDetails, in handleScanResults() argument
603 mWifiCountryCode.updateCountryCodeFromScanResults(scanDetails); in handleScanResults()
632 mWifiBlocklistMonitor.tryEnablingBlockedBssids(scanDetails); in handleScanResults()
642 updateUserDisabledList(scanDetails); in handleScanResults()
649 scanDetails, bssidBlocklist, cmmStates, mUntrustedConnectionAllowed, in handleScanResults()
664 mWifiMetrics.countScanResults(scanDetails); in handleScanResults()
688 handleScanResultsListener, scanDetails); in handleScanResults()
712 listenerName, candidates, handleScanResultsListener, scanDetails); in handleScanResults()
724 @NonNull List<ScanDetail> scanDetails) { in handleCandidatesFromScanResultsUsingSecondaryCmmIfAvailable() argument
738 scanDetails); in handleCandidatesFromScanResultsUsingSecondaryCmmIfAvailable()
[all …]
DExternalPnoScanRequestManager.java167 public void onScanResultsAvailable(List<ScanDetail> scanDetails) { in onScanResultsAvailable() argument
173 for (ScanDetail scanDetail : scanDetails) { in onScanResultsAvailable()
DWifiBlocklistMonitor.java832 public @NonNull List<ScanDetail> tryEnablingBlockedBssids(List<ScanDetail> scanDetails) { in tryEnablingBlockedBssids() argument
833 if (scanDetails == null) { in tryEnablingBlockedBssids()
837 for (ScanDetail scanDetail : scanDetails) { in tryEnablingBlockedBssids()
DWifiHealthMonitor.java282 private void handleScanResults(List<ScanDetail> scanDetails) { in handleScanResults() argument
286 for (ScanDetail scanDetail : scanDetails) { in handleScanResults()
DWifiNetworkSuggestionsManager.java2609 @NonNull WifiConfiguration configuration, List<ScanDetail> scanDetails) { in shouldBeIgnoredBySecureSuggestionFromSameCarrier() argument
2614 if (configuration == null || scanDetails == null || !configuration.isOpenNetwork()) { in shouldBeIgnoredBySecureSuggestionFromSameCarrier()
2629 if (hasSecureSuggestionFromSameCarrierAvailable(ewns, scanDetails)) { in shouldBeIgnoredBySecureSuggestionFromSameCarrier()
2660 List<ScanDetail> scanDetails) { in hasSecureSuggestionFromSameCarrierAvailable() argument
2697 List<ScanResult> scanResults = scanDetails.stream().map(ScanDetail::getScanResult) in hasSecureSuggestionFromSameCarrierAvailable()
DWifiMetrics.java3535 public void countScanResults(List<ScanDetail> scanDetails) { in countScanResults() argument
3536 if (scanDetails == null) { in countScanResults()
3560 for (ScanDetail scanDetail : scanDetails) { in countScanResults()
4154 public void incrementAvailableNetworksHistograms(List<ScanDetail> scanDetails, in incrementAvailableNetworksHistograms() argument
4184 for (ScanDetail scanDetail : scanDetails) { in incrementAvailableNetworksHistograms()