Home
last modified time | relevance | path

Searched refs:ScanDetail (Results 1 – 25 of 46) sorted by relevance

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionNominatorTest.java114 ScanDetail[] scanDetails = in testSelectNetworkSuggestionForNoMatch()
122 List<Pair<ScanDetail, WifiConfiguration>> connectableNetworks = new ArrayList<>(); in testSelectNetworkSuggestionForNoMatch()
125 (ScanDetail scanDetail, WifiConfiguration configuration) -> { in testSelectNetworkSuggestionForNoMatch()
155 ScanDetail[] scanDetails = in testSelectNetworkSuggestionForOneMatch()
165 List<Pair<ScanDetail, WifiConfiguration>> connectableNetworks = new ArrayList<>(); in testSelectNetworkSuggestionForOneMatch()
168 (ScanDetail scanDetail, WifiConfiguration configuration) -> { in testSelectNetworkSuggestionForOneMatch()
195 ScanDetail[] scanDetails = in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion()
207 List<Pair<ScanDetail, WifiConfiguration>> connectableNetworks = new ArrayList<>(); in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion()
210 (ScanDetail scanDetail, WifiConfiguration configuration) -> { in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion()
242 ScanDetail[] scanDetails = in testSelectNetworkSuggestionForMultipleMatch()
[all …]
DWifiNetworkSelectorTestUtil.java60 List<ScanDetail> mScanDetails;
63 ScanDetailsAndWifiConfigs(List<ScanDetail> scanDetails, WifiConfiguration[] configs) { in ScanDetailsAndWifiConfigs()
68 List<ScanDetail> getScanDetails() { in getScanDetails()
94 List<ScanDetail> scanDetails = buildScanDetails(ssids, bssids, freqs, caps, levels, clock); in setupScanDetailsAndConfigStore()
112 List<ScanDetail> scanDetails = buildScanDetailsWithNetworkDetails(ssids, bssids, freqs, in setupScanDetailsAndConfigStore()
143 List<ScanDetail> scanDetails = buildScanDetails(ssids, bssids, freqs, caps, levels, clock); in setupScanDetailsAndConfigForEapSimNetwork()
162 WifiConfiguration[] configs, List<ScanDetail> scanDetails) { in addWifiConfigAndLinkScanResult()
169 List<ScanDetail> scanDetails, in checkConsistencyOfScanDetailsAndWifiConfigs()
210 public static List<ScanDetail> buildScanDetails(String[] ssids, String[] bssids, int[] freqs, in buildScanDetails()
212 List<ScanDetail> scanDetailList = new ArrayList<ScanDetail>(); in buildScanDetails()
[all …]
DScanResults.java39 private final ArrayList<ScanDetail> mScanDetails = new ArrayList<>();
44 private ScanResults(ArrayList<ScanDetail> scanDetails, ScanData scanData, in ScanResults()
56 ArrayList<ScanDetail> scanDetails = new ArrayList<>(); in merge()
116 private static ScanDetail[] generateNativeResults(boolean needIE, int seed, int... freqs) { in generateNativeResults()
117 ScanDetail[] results = new ScanDetail[freqs.length]; in generateNativeResults()
135 ScanDetail detail = new ScanDetail(nd, WifiSsid.createFromAsciiEncoded(ssid), in generateNativeResults()
149 public static ScanDetail[] generateNativeResults(int seed, int... freqs) { in generateNativeResults()
162 ScanDetail... nativeResults) { in create()
172 ScanDetail... nativeResults) { in createOverflowing()
176 private ScanResults(int id, int bandScanned, int maxResults, ScanDetail... nativeResults) { in ScanResults()
[all …]
DWifiLastResortWatchdogTest.java114 private List<Pair<ScanDetail, WifiConfiguration>> createFilteredQnsCandidates(String[] ssids, in createFilteredQnsCandidates()
117 List<Pair<ScanDetail, WifiConfiguration>> candidates = new ArrayList<>(); in createFilteredQnsCandidates()
121 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in createFilteredQnsCandidates()
137 private List<Pair<ScanDetail, WifiConfiguration>> createFilteredQnsCandidates(String[] ssids, in createFilteredQnsCandidates()
140 List<Pair<ScanDetail, WifiConfiguration>> candidates = in createFilteredQnsCandidates()
141 new ArrayList<Pair<ScanDetail, WifiConfiguration>>(); in createFilteredQnsCandidates()
145 ScanDetail scanDetail = new ScanDetail(WifiSsid.createFromAsciiEncoded(ssid), in createFilteredQnsCandidates()
182 List<Pair<ScanDetail, WifiConfiguration>> candidates = createFilteredQnsCandidates(mSsids, in testAvailableNetworkBuffering_ageCullingWorks()
222 List<Pair<ScanDetail, WifiConfiguration>> candidates = createFilteredQnsCandidates(mSsids, in testAvailableNetworkBuffering_emptyBufferWithEmptyScanResults()
251 List<Pair<ScanDetail, WifiConfiguration>> candidates; in testAvailableNetworkBuffering_addNewNetworksOverTime()
[all …]
DScanResultMatchInfoTest.java100 ScanDetail scan = createScanDetailForNetwork(conf, "AA:AA:AA:AA:AA:AA"); in testScanResultMatchesWifiConfiguration()
131 ScanDetail scan1 = createScanDetailForNetwork(conf, "AA:AA:AA:AA:AA:AA"); in testDifferentBssidScanResultsMatch()
132 ScanDetail scan2 = createScanDetailForNetwork(conf, "BB:BB:BB:BB:BB:BB"); in testDifferentBssidScanResultsMatch()
150 ScanDetail scanOpen1 = createScanDetailForNetwork(open1, "AA:AA:AA:AA:AA:AA"); in testDifferentNetworkScanResultsDontMatch()
151 ScanDetail scanOpen2 = createScanDetailForNetwork(open2, "BB:BB:BB:BB:BB:BB"); in testDifferentNetworkScanResultsDontMatch()
152 ScanDetail scanPsk = createScanDetailForNetwork(psk, "CC:CC:CC:CC:CC:CC"); in testDifferentNetworkScanResultsDontMatch()
167 ScanDetail scanDetail = createScanDetailForWpa2Wpa3TransitionModeNetwork(wifiConfiguration, in testEqualityRulesForTransitionMode()
200 ScanDetail scanDetail = createScanDetailForNetwork(wifiConfiguration, in testEqualityRulesForPsk()
234 ScanDetail scanDetail = createScanDetailForNetwork(wifiConfiguration, in testEqualityRulesForSae()
269 ScanDetail scanDetail = createScanDetailForWpa2Wpa3TransitionModeNetwork( in testHashForTransitionMode()
[all …]
DSavedNetworkNominatorTest.java131 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in ignoreNetworksIfUseExternalScores()
156 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in ignoreNetworkIfSimIsAbsentForEapSimNetwork()
184 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in ignoreEphemeralNetworks()
212 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in ignoreNetworksIfAutojoinNotAllowed()
244 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in returnNoCandidateIfNoNetworksAllowAutojoin()
259 ScanDetail scanDetail1 = mock(ScanDetail.class); in returnCandidatesIfPasspointNetworksAvailableWithAutojoinEnabled()
260 ScanDetail scanDetail2 = mock(ScanDetail.class); in returnCandidatesIfPasspointNetworksAvailableWithAutojoinEnabled()
261 List<ScanDetail> scanDetails = Arrays.asList(scanDetail1, scanDetail2); in returnCandidatesIfPasspointNetworksAvailableWithAutojoinEnabled()
266 List<Pair<ScanDetail, WifiConfiguration>> passpointCandidates = in returnCandidatesIfPasspointNetworksAvailableWithAutojoinEnabled()
290 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in testIgnoreNetworksIfMeteredAndFromNonDataSim()
[all …]
DWifiNetworkSelectorTest.java164 public void update(List<ScanDetail> scanDetails) {} in update()
167 public void nominateNetworks(List<ScanDetail> scanDetails, in nominateNetworks()
171 List<ScanDetail> myScanDetails = mScanDetailsAndWifiConfigs.getScanDetails(); in nominateNetworks()
220 public void update(List<ScanDetail> scanDetails) {} in update()
237 public void nominateNetworks(List<ScanDetail> scanDetails, in nominateNetworks()
245 ScanDetail scanDetail = scanDetails.get(index); in nominateNetworks()
372 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in emptyScanResults()
405 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in verifyMinimumRssiThreshold()
439 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in verifyMinimumTimeGapWhenConnected()
487 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in verifyNoMinimumTimeGapWhenDisconnected()
[all …]
DScanDetailCacheTest.java59 ScanDetail scanDetail = createScanDetailForNetwork(mWifiConfiguration, TEST_BSSID_1, in testPut()
68 ScanDetail s1 = createScanDetailForNetwork(mWifiConfiguration, TEST_BSSID_1, in testGetMostRecentScanResult()
71 ScanDetail s2 = createScanDetailForNetwork(mWifiConfiguration, TEST_BSSID_2, in testGetMostRecentScanResult()
75 ScanDetail s3 = createScanDetailForNetwork(mWifiConfiguration, TEST_BSSID_3, in testGetMostRecentScanResult()
77 ScanDetail s4 = createScanDetailForNetwork(mWifiConfiguration, TEST_BSSID_4, in testGetMostRecentScanResult()
105 private ScanDetail createScanDetailForNetwork( in createScanDetailForNetwork()
DOpenNetworkNotifierTest.java98 private List<ScanDetail> mOpenNetworks;
117 mOpenNetworks.add(new ScanDetail(mTestNetwork, null /* networkDetail */)); in setUp()
321 mOpenNetworks.add(new ScanDetail(newNetwork, null /* networkDetail */)); in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated()
405 List<ScanDetail> scanResults = mOpenNetworks; in userDismissedNotification_shouldBlacklistNetwork()
431 List<ScanDetail> scanResults = mOpenNetworks; in userConnectedNotification_shouldBlacklistNetwork()
739 private List<ScanDetail> createOpenScanResults(String... ssids) { in createOpenScanResults()
740 List<ScanDetail> scanResults = new ArrayList<>(); in createOpenScanResults()
745 scanResults.add(new ScanDetail(scanResult, null /* networkDetail */)); in createOpenScanResults()
753 List<ScanDetail> scanResults = createOpenScanResults(TEST_SSID_1); in onlyNetworkIsRecommended()
764 List<ScanDetail> scanResults = createOpenScanResults(TEST_SSID_1, TEST_SSID_2); in networkWithHighestRssiIsRecommended()
[all …]
DScoredNetworkNominatorTest.java180 mScoredNetworkNominator.update(new ArrayList<ScanDetail>()); in testUpdate_emptyScanList()
225 List<ScanDetail> scoredScanDetails = scanDetailsAndConfigs.getScanDetails().subList(0, 1); in testUpdate_oneScored_oneUnscored()
316 List<ScanDetail> scanDetails = WifiNetworkSelectorTestUtil.buildScanDetails( in testEvaluateNetworks_newEphemeralNetworkMustBeReportedAsConnectable()
324 when(mWifiConfigManager.getSavedNetworkForScanDetailAndCache(any(ScanDetail.class))) in testEvaluateNetworks_newEphemeralNetworkMustBeReportedAsConnectable()
352 List<ScanDetail> scanDetails = WifiNetworkSelectorTestUtil.buildScanDetails( in testEvaluateNetworks_noEphemeralNetworkWhenUntrustedNetworksNotAllowed()
358 when(mWifiConfigManager.getSavedNetworkForScanDetailAndCache(any(ScanDetail.class))) in testEvaluateNetworks_noEphemeralNetworkWhenUntrustedNetworksNotAllowed()
388 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in testEvaluateNetworks_chooseSavedNetworkWithExternalScore()
420 List<ScanDetail> scanDetails = scanDetailsAndConfigs.getScanDetails(); in testEvaluateNetworks_nullScoredNetworks()
DWifiNetworkSuggestionsManagerTest.java776 ScanDetail scanDetail = createScanDetailForNetwork(eapSimConfig); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
968 ScanDetail scanDetail = createScanDetailForNetwork(networkSuggestion.wifiConfiguration); in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatchForCarrierProvisioningApp()
1015 ScanDetail scanDetail = createScanDetailForNetwork(networkSuggestion.wifiConfiguration); in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatch()
1050 ScanDetail scanDetail = createScanDetailForNetwork(networkSuggestion.wifiConfiguration); in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatchForUpgradableConfig()
1090 ScanDetail scanDetail = createScanDetailForNetwork(networkSuggestion.wifiConfiguration); in testGetNetworkSuggestionsForScanDetailSuccessWithOneMatchForLegacyConfig()
1131 ScanDetail scanDetail = createScanDetailForNetwork(networkSuggestion1.wifiConfiguration); in testGetNetworkSuggestionsForScanDetailSuccessWithMultipleMatch()
1149 ScanDetail scanDetail = createScanDetailForNetwork(wifiConfiguration); in testGetNetworkSuggestionsForScanDetailSuccessWithBssidOneMatch()
1178 ScanDetail scanDetail = createScanDetailForNetwork(wifiConfiguration); in testGetNetworkSuggestionsForScanDetailSuccessWithBssidMultipleMatch()
1222 ScanDetail scanDetail = createScanDetailForNetwork(wifiConfiguration); in testGetNetworkSuggestionsForScanDetailSuccessWithBssidMultipleMatchFromSamePackage()
1259 ScanDetail scanDetail = createScanDetailForNetwork(wifiConfiguration1); in testGetNetworkSuggestionsForScanDetailSuccessWithBssidAndWithoutBssidMultipleMatch()
[all …]
DWifiConfigManagerTest.java1890 ScanDetail openNetworkScanDetail = createScanDetailForNetwork(openNetwork); in testNoMatchScanDetailToNetwork()
1891 ScanDetail wepNetworkScanDetail = createScanDetailForNetwork(wepNetwork); in testNoMatchScanDetailToNetwork()
1892 ScanDetail pskNetworkScanDetail = createScanDetailForNetwork(pskNetwork); in testNoMatchScanDetailToNetwork()
1893 ScanDetail eapNetworkScanDetail = createScanDetailForNetwork(eapNetwork); in testNoMatchScanDetailToNetwork()
1894 ScanDetail saeNetworkScanDetail = createScanDetailForNetwork(saeNetwork); in testNoMatchScanDetailToNetwork()
1895 ScanDetail oweNetworkScanDetail = createScanDetailForNetwork(oweNetwork); in testNoMatchScanDetailToNetwork()
1896 ScanDetail eapSuiteBNetworkScanDetail = createScanDetailForNetwork(eapSuiteBNetwork); in testNoMatchScanDetailToNetwork()
1951 ScanDetail scanDetail = createScanDetailForNetwork(testNetwork); in testUpdateScanDetailForNetwork()
1975 ScanDetail scanDetail = createScanDetailForNetwork(testNetwork); in testUpdateScanDetailCacheFromScanDetail()
2007 ScanDetail scanDetail = in testScanDetailCacheTrimForNetwork()
[all …]
DWifiMetricsTest.java570 private ScanDetail buildMockScanDetail(boolean hidden, NetworkDetail.HSRelease hSRelease, in buildMockScanDetail()
572 ScanDetail mockScanDetail = mock(ScanDetail.class); in buildMockScanDetail()
602 private ScanDetail buildMockScanDetail(String ssid, String bssid, boolean isOpen, in buildMockScanDetail()
604 ScanDetail mockScanDetail = mock(ScanDetail.class); in buildMockScanDetail()
627 private ScanDetail buildMockScanDetailPasspoint(String ssid, String bssid, long hessid, in buildMockScanDetailPasspoint()
629 ScanDetail mockScanDetail = mock(ScanDetail.class); in buildMockScanDetailPasspoint()
645 private List<ScanDetail> buildMockScanDetailList() { in buildMockScanDetailList()
646 List<ScanDetail> mockScanDetails = new ArrayList<ScanDetail>(); in buildMockScanDetailList()
865 List<ScanDetail> mockScanDetails = buildMockScanDetailList(); in setAndIncrementMetrics()
1801 ScanDetail scanDetail = mock(ScanDetail.class); in setupNetworkAndVerify()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DScanDetailCache.java42 private final HashMap<String, ScanDetail> mMap;
62 void put(ScanDetail scanDetail) { in put()
78 ScanDetail scanDetail = getScanDetail(bssid); in getScanResult()
88 public ScanDetail getScanDetail(@NonNull String bssid) { in getScanDetail()
108 Collection<ScanDetail> values() { in values()
121 ArrayList<ScanDetail> list = new ArrayList<ScanDetail>(mMap.values()); in trim()
126 ScanDetail a = (ScanDetail) o1; in trim()
127 ScanDetail b = (ScanDetail) o2; in trim()
140 ScanDetail result = list.get(i); in trim()
149 ArrayList<ScanDetail> list = sort(); in getMostRecentScanResult()
[all …]
DWifiNetworkSelector.java101 private final List<Pair<ScanDetail, WifiConfiguration>> mConnectableNetworks =
103 private List<ScanDetail> mFilteredNetworks = new ArrayList<>();
157 void update(List<ScanDetail> scanDetails); in update()
168 void nominateNetworks(List<ScanDetail> scanDetails, in nominateNetworks()
182 void onConnectable(ScanDetail scanDetail, WifiConfiguration config); in onConnectable()
346 private boolean isNetworkSelectionNeeded(@NonNull List<ScanDetail> scanDetails, in isNetworkSelectionNeeded()
388 private List<ScanDetail> filterScanResults(List<ScanDetail> scanDetails, in filterScanResults()
390 List<ScanDetail> validScanDetails = new ArrayList<>(); in filterScanResults()
401 for (ScanDetail scanDetail : scanDetails) { in filterScanResults()
492 private ScanDetail findScanDetailForBssid(List<ScanDetail> scanDetails, in findScanDetailForBssid()
[all …]
DNetworkSuggestionNominator.java77 public void update(List<ScanDetail> scanDetails) { in update()
85 public void nominateNetworks(List<ScanDetail> scanDetails, in nominateNetworks()
108 private void addOrUpdateSuggestionsToWifiConfigManger(List<ScanDetail> scanDetails) { in addOrUpdateSuggestionsToWifiConfigManger()
109 for (ScanDetail scanDetail : scanDetails) { in addOrUpdateSuggestionsToWifiConfigManger()
185 private void findMatchedPasspointSuggestionNetworks(List<ScanDetail> scanDetails, in findMatchedPasspointSuggestionNetworks()
188 List<Pair<ScanDetail, WifiConfiguration>> candidates = in findMatchedPasspointSuggestionNetworks()
190 for (Pair<ScanDetail, WifiConfiguration> candidate : candidates) { in findMatchedPasspointSuggestionNetworks()
218 private void findMatchedSuggestionNetworks(List<ScanDetail> scanDetails, in findMatchedSuggestionNetworks()
222 for (ScanDetail scanDetail : scanDetails) { in findMatchedSuggestionNetworks()
347 public final ScanDetail matchingScanDetail;
[all …]
DSavedNetworkNominator.java81 public void update(List<ScanDetail> scanDetails) { in update()
92 public void nominateNetworks(List<ScanDetail> scanDetails, in nominateNetworks()
101 private void findMatchedSavedNetworks(List<ScanDetail> scanDetails, in findMatchedSavedNetworks()
103 for (ScanDetail scanDetail : scanDetails) { in findMatchedSavedNetworks()
183 private void findMatchedPasspointNetworks(List<ScanDetail> scanDetails, in findMatchedPasspointNetworks()
185 List<Pair<ScanDetail, WifiConfiguration>> candidates = in findMatchedPasspointNetworks()
187 for (Pair<ScanDetail, WifiConfiguration> candidate : candidates) { in findMatchedPasspointNetworks()
DScoredNetworkNominator.java96 public void update(List<ScanDetail> scanDetails) { in update()
102 private void updateNetworkScoreCache(List<ScanDetail> scanDetails) { in updateNetworkScoreCache()
149 public void nominateNetworks(List<ScanDetail> scanDetails, in nominateNetworks()
160 ScanDetail scanDetail = scanDetails.get(i); in nominateNetworks()
225 private ScanDetail mScanDetailCandidate;
248 void trackUntrustedCandidate(ScanDetail scanDetail) { in trackUntrustedCandidate()
DScanDetail.java37 public class ScanDetail { class
43 public ScanDetail(NetworkDetail networkDetail, WifiSsid wifiSsid, String bssid, in ScanDetail() method in ScanDetail
67 public ScanDetail(WifiSsid wifiSsid, String bssid, String caps, int level, int frequency, in ScanDetail() method in ScanDetail
79 public ScanDetail(ScanResult scanResult, NetworkDetail networkDetail) { in ScanDetail() method in ScanDetail
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelperTest.java49 import com.android.server.wifi.ScanDetail;
137 private static ScanDetail generateScanDetail(String ssid, String bssid) { in generateScanDetail()
144 ScanDetail scanDetail = mock(ScanDetail.class); in generateScanDetail()
175 List<ScanDetail> scanDetails = Arrays.asList(generateScanDetail(TEST_SSID1, TEST_BSSID1), in evaluateScansWithNoMatch()
178 List<Pair<ScanDetail, WifiConfiguration>> candidates = mNominateHelper in evaluateScansWithNoMatch()
193 ScanDetail scanDetail = mock(ScanDetail.class); in evaluateScansWithNoInterworkingAP()
196 List<ScanDetail> scanDetails = Arrays.asList(new ScanDetail[] {scanDetail}); in evaluateScansWithNoInterworkingAP()
197 List<Pair<ScanDetail, WifiConfiguration>> candidates = mNominateHelper in evaluateScansWithNoInterworkingAP()
212 List<ScanDetail> scanDetails = Arrays.asList(generateScanDetail(TEST_SSID1, TEST_BSSID1), in evaluateScansWithNetworkMatchingHomeProvider()
226 List<Pair<ScanDetail, WifiConfiguration>> candidates = mNominateHelper in evaluateScansWithNetworkMatchingHomeProvider()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelper.java26 import com.android.server.wifi.ScanDetail;
54 ScanDetail scanDetail) { in PasspointNetworkCandidate()
61 ScanDetail mScanDetail;
77 public List<Pair<ScanDetail, WifiConfiguration>> getPasspointNetworkCandidates( in getPasspointNetworkCandidates()
78 List<ScanDetail> scanDetails, boolean isFromSuggestion) { in getPasspointNetworkCandidates()
81 List<ScanDetail> filteredScanDetails = new ArrayList<>(); in getPasspointNetworkCandidates()
83 for (ScanDetail scanDetail : scanDetails) { in getPasspointNetworkCandidates()
108 private boolean isApWanLinkStatusDown(ScanDetail scanDetail) { in isApWanLinkStatusDown()
135 private @NonNull List<Pair<ScanDetail, WifiConfiguration>> findBestMatchScanDetailForProviders( in findBestMatchScanDetailForProviders()
136 List<ScanDetail> scanDetails, boolean isFromSuggestion) { in findBestMatchScanDetailForProviders()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DBaseWifiScannerImplTest.java40 import com.android.server.wifi.ScanDetail;
426 ArrayList<ScanDetail> rawResults = new ArrayList<>(Arrays.asList( in singleScanWhereSupplicantReturnsSomeOldResults()
427 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 1"), in singleScanWhereSupplicantReturnsSomeOldResults()
430 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 2"), in singleScanWhereSupplicantReturnsSomeOldResults()
434 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 3"), in singleScanWhereSupplicantReturnsSomeOldResults()
437 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 4"), in singleScanWhereSupplicantReturnsSomeOldResults()
440 new ScanDetail(WifiSsid.createFromAsciiEncoded("TEST AP 5"), in singleScanWhereSupplicantReturnsSomeOldResults()
445 for (ScanDetail detail : rawResults) { in singleScanWhereSupplicantReturnsSomeOldResults()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DScanResultUtil.java27 import com.android.server.wifi.ScanDetail;
48 public static ScanDetail toScanDetail(ScanResult scanResult) { in toScanDetail()
54 return new ScanDetail(scanResult, networkDetail); in toScanDetail()
117 ScanDetail detail = toScanDetail(scanResult); in isScanResultForPasspointR1R2Network()
140 ScanDetail detail = toScanDetail(scanResult); in isScanResultForPasspointR3Network()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DScanResultUtilTest.java28 import com.android.server.wifi.ScanDetail;
56 ScanDetail output = ScanResultUtil.toScanDetail(input); in convertScanResult()
73 ScanDetail output = ScanResultUtil.toScanDetail(input); in convertScanResultWithAnqpLines()
87 ScanDetail output = ScanResultUtil.toScanDetail(input); in convertScanResultWithoutWifiSsid()
491 private static void validateScanDetail(ScanResult input, ScanDetail output) { in validateScanDetail()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java30 import com.android.server.wifi.ScanDetail;
74 private ArrayList<ScanDetail> mNativeScanResults;
75 private ArrayList<ScanDetail> mNativePnoScanResults;
493 for (ScanDetail detail : mNativeScanResults) { in dump()

12