Searched refs:mScanResults (Results 1 – 5 of 5) sorted by relevance
41 private final ScanResult[] mScanResults; field in ScanResults48 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()
63 private ArrayList<ScanResult> mScanResults; field in TestAccessPointBuilder93 if (mScanResults != null) { in build()95 mScanResults.toArray(new Parcelable[mScanResults.size()])); in build()240 mScanResults = scanResults; in setScanResults()
147 private final ArraySet<ScanResult> mScanResults = new ArraySet<>(); field in AccessPoint298 mScanResults.clear(); in AccessPoint()300 mScanResults.add((ScanResult) result); in AccessPoint()504 builder.append(",scan cache size=").append(mScanResults.size() in toString()549 for (ScanResult result : mScanResults) { in updateScores()638 for (ScanResult result : mScanResults) { in updateMetered()776 allScans.addAll(mScanResults); in getScanResults()803 for (ScanResult result : mScanResults) { in updateBestRssiInfo()1250 mScanResults.toArray(new Parcelable[mScanResults.size() in saveWifiState()1332 mScanResults.clear(); in setScanResults()[all …]
90 private ArrayList<ScanResult> mScanResults; field in AccessPointTest133 mScanResults = buildScanResultCache(TEST_SSID); in setUp()624 mScanResults.toArray(new Parcelable[mScanResults.size()]));1026 when(mockWifiNetworkScoreCache.getScoredNetwork(mScanResults.get(0))) in testSpeedLabelAveragesAllBssidScores()1031 when(mockWifiNetworkScoreCache.getScoredNetwork(mScanResults.get(1))) in testSpeedLabelAveragesAllBssidScores()1049 when(mockWifiNetworkScoreCache.getScoredNetwork(mScanResults.get(0))) in testSpeedLabelAverageIgnoresNoSpeedScores()1054 when(mockWifiNetworkScoreCache.getScoredNetwork(mScanResults.get(1))) in testSpeedLabelAverageIgnoresNoSpeedScores()1174 .setScanResults(mScanResults) in testUpdateScoresRefreshesScoredNetworkCacheTimestamps()1202 .setScanResults(mScanResults) in testUpdateScoresRefreshesScoredNetworkCacheWithNewSpeed()1247 .setScanResults(mScanResults) in testUpdate_passpointWifiInfo_doesNotUpdateNonPasspointAccessPoint()[all …]
142 private List<ScanResult> mScanResults; field in NetworkScoreServiceTest175 mScanResults = new ArrayList<>(); in populateScanResults()176 mScanResults.add(createScanResult(SSID, SCORED_NETWORK.networkKey.wifiKey.bssid)); in populateScanResults()177 mScanResults.add(createScanResult(SSID_2, SCORED_NETWORK_2.networkKey.wifiKey.bssid)); in populateScanResults()178 mScanResults.add(createScanResult(SSID_3, "10:10:00:00:10:10")); in populateScanResults()812 new NetworkScoreService.ScanResultsScoreCacheFilter(() -> mScanResults); in testScanResultsScoreCacheFilter_scoresFiltered()