Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanResults.java42 private final ScanResult[] mScanResults; field in ScanResults
49 mScanResults = scanResults; in ScanResults()
176 mScanResults = new ScanResult[nativeResults.length]; in ScanResults()
179 mScanResults[i] = nativeResults[i].getScanResult(); in ScanResults()
181 ScanResult[] sortedScanResults = Arrays.copyOf(mScanResults, mScanResults.length); in ScanResults()
202 return mScanResults; in getRawScanResults()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java62 private ArrayList<ScanResult> mScanResults; field in TestAccessPointBuilder
92 if (mScanResults != null) { in build()
94 mScanResults.toArray(new Parcelable[mScanResults.size()])); in build()
237 mScanResults = scanResults; in setScanResults()
DAccessPoint.java167 private final ArraySet<ScanResult> mScanResults = new ArraySet<>(); field in AccessPoint
310 mScanResults.clear(); in AccessPoint()
312 mScanResults.add((ScanResult) result); in AccessPoint()
533 builder.append(",scan cache size=").append(mScanResults.size() in toString()
578 for (ScanResult result : mScanResults) { in updateScores()
667 for (ScanResult result : mScanResults) { in updateMetered()
907 allScans.addAll(mScanResults); in getScanResults()
934 for (ScanResult result : mScanResults) { in updateBestRssiInfo()
1392 mScanResults.toArray(new Parcelable[mScanResults.size() in saveWifiState()
1447 mScanResults.clear(); in setScanResults()
[all …]
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java90 private ArrayList<ScanResult> mScanResults; field in AccessPointTest
135 mScanResults = buildScanResultCache(TEST_SSID); in setUp()
561 mScanResults.toArray(new Parcelable[mScanResults.size()]));
963 when(mockWifiNetworkScoreCache.getScoredNetwork(mScanResults.get(0))) in testSpeedLabelAveragesAllBssidScores()
968 when(mockWifiNetworkScoreCache.getScoredNetwork(mScanResults.get(1))) in testSpeedLabelAveragesAllBssidScores()
986 when(mockWifiNetworkScoreCache.getScoredNetwork(mScanResults.get(0))) in testSpeedLabelAverageIgnoresNoSpeedScores()
991 when(mockWifiNetworkScoreCache.getScoredNetwork(mScanResults.get(1))) in testSpeedLabelAverageIgnoresNoSpeedScores()
1111 .setScanResults(mScanResults) in testUpdateScoresRefreshesScoredNetworkCacheTimestamps()
1139 .setScanResults(mScanResults) in testUpdateScoresRefreshesScoredNetworkCacheWithNewSpeed()
1184 .setScanResults(mScanResults) in testUpdate_passpointWifiInfo_doesNotUpdateNonPasspointAccessPoint()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java144 private List<ScanResult> mScanResults; field in NetworkScoreServiceTest
178 mScanResults = new ArrayList<>(); in populateScanResults()
179 mScanResults.add(createScanResult(SSID, SCORED_NETWORK.networkKey.wifiKey.bssid)); in populateScanResults()
180 mScanResults.add(createScanResult(SSID_2, SCORED_NETWORK_2.networkKey.wifiKey.bssid)); in populateScanResults()
181 mScanResults.add(createScanResult(SSID_3, "10:10:00:00:10:10")); in populateScanResults()
815 new NetworkScoreService.ScanResultsScoreCacheFilter(() -> mScanResults); in testScanResultsScoreCacheFilter_scoresFiltered()