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.java41 private final ScanResult[] mScanResults; field in ScanResults
48 mScanResults = scanResults; in ScanResults()
160 mScanResults = new ScanResult[nativeResults.length]; in ScanResults()
163 mScanResults[i] = nativeResults[i].getScanResult(); in ScanResults()
165 ScanResult[] sortedScanResults = Arrays.copyOf(mScanResults, mScanResults.length); in ScanResults()
186 return mScanResults; in getRawScanResults()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java63 private ArrayList<ScanResult> mScanResults; field in TestAccessPointBuilder
93 if (mScanResults != null) { in build()
95 mScanResults.toArray(new Parcelable[mScanResults.size()])); in build()
240 mScanResults = scanResults; in setScanResults()
DAccessPoint.java148 private final ArraySet<ScanResult> mScanResults = new ArraySet<>(); field in AccessPoint
301 mScanResults.clear(); in AccessPoint()
303 mScanResults.add((ScanResult) result); in AccessPoint()
514 builder.append(",scan cache size=").append(mScanResults.size() in toString()
559 for (ScanResult result : mScanResults) { in updateScores()
648 for (ScanResult result : mScanResults) { in updateMetered()
887 allScans.addAll(mScanResults); in getScanResults()
914 for (ScanResult result : mScanResults) { in updateBestRssiInfo()
1357 mScanResults.toArray(new Parcelable[mScanResults.size() in saveWifiState()
1409 mScanResults.clear(); in setScanResults()
[all …]
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java91 private ArrayList<ScanResult> mScanResults; field in AccessPointTest
134 mScanResults = buildScanResultCache(TEST_SSID); in setUp()
625 mScanResults.toArray(new Parcelable[mScanResults.size()]));
1027 when(mockWifiNetworkScoreCache.getScoredNetwork(mScanResults.get(0))) in testSpeedLabelAveragesAllBssidScores()
1032 when(mockWifiNetworkScoreCache.getScoredNetwork(mScanResults.get(1))) in testSpeedLabelAveragesAllBssidScores()
1050 when(mockWifiNetworkScoreCache.getScoredNetwork(mScanResults.get(0))) in testSpeedLabelAverageIgnoresNoSpeedScores()
1055 when(mockWifiNetworkScoreCache.getScoredNetwork(mScanResults.get(1))) in testSpeedLabelAverageIgnoresNoSpeedScores()
1175 .setScanResults(mScanResults) in testUpdateScoresRefreshesScoredNetworkCacheTimestamps()
1203 .setScanResults(mScanResults) in testUpdateScoresRefreshesScoredNetworkCacheWithNewSpeed()
1248 .setScanResults(mScanResults) in testUpdate_passpointWifiInfo_doesNotUpdateNonPasspointAccessPoint()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java143 private List<ScanResult> mScanResults; field in NetworkScoreServiceTest
176 mScanResults = new ArrayList<>(); in populateScanResults()
177 mScanResults.add(createScanResult(SSID, SCORED_NETWORK.networkKey.wifiKey.bssid)); in populateScanResults()
178 mScanResults.add(createScanResult(SSID_2, SCORED_NETWORK_2.networkKey.wifiKey.bssid)); in populateScanResults()
179 mScanResults.add(createScanResult(SSID_3, "10:10:00:00:10:10")); in populateScanResults()
813 new NetworkScoreService.ScanResultsScoreCacheFilter(() -> mScanResults); in testScanResultsScoreCacheFilter_scoresFiltered()