Home
last modified time | relevance | path

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

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeScanTest.java116 Collection<ScanResult> scanResults = scan(); in testBasicBleScan() local
118 Log.d(TAG, "scan result size:" + scanResults.size()); in testBasicBleScan()
119 assertTrue("Scan results shouldn't be empty", !scanResults.isEmpty()); in testBasicBleScan()
120 verifyTimestamp(scanResults, scanStartMillis, scanEndMillis); in testBasicBleScan()
148 Collection<ScanResult> scanResults = filterLeScanCallback.getScanResults(); in testScanFilter() local
149 for (ScanResult result : scanResults) { in testScanFilter()
157 List<ScanResult> scanResults = new ArrayList<ScanResult>(scan()); in createScanFilter() local
158 assertTrue("Scan results shouldn't be empty", !scanResults.isEmpty()); in createScanFilter()
161 Collections.sort(scanResults, new RssiComparator()); in createScanFilter()
162 ScanResult result = scanResults.get(0); in createScanFilter()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
DTestUtils.java163 List<ScanResult> scanResults = mWifiManager.getScanResults(); in startScanAndFindAnyMatchingNetworkInResults() local
164 for (ScanResult scanResult : scanResults) { in startScanAndFindAnyMatchingNetworkInResults()
185 List<ScanResult> scanResults = mWifiManager.getScanResults(); in findNetworkInScanResultsResults() local
186 for (ScanResult scanResult : scanResults) { in findNetworkInScanResultsResults()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DScanResultTest.java257 List<ScanResult> scanResults = mWifiManager.getScanResults(); in testScanResultTimeStamp() local
258 for (ScanResult result : scanResults) { in testScanResultTimeStamp()
267 scanResults = mWifiManager.getScanResults(); in testScanResultTimeStamp()
268 for (ScanResult result : scanResults) { in testScanResultTimeStamp()
320 final List<ScanResult> scanResults = mWifiManager.getScanResults(); in testScanResultMatchesWifiInfo() local
321 currentNetwork = scanResults.stream().filter(r -> r.BSSID.equals(wifiInfo.getBSSID())) in testScanResultMatchesWifiInfo()
DTestHelper.java148 List<ScanResult> scanResults = wifiManager.getScanResults(); in findMatchingSavedNetworksWithBssid() local
149 if (scanResults == null || scanResults.isEmpty()) fail("No scan results available"); in findMatchingSavedNetworksWithBssid()
150 for (ScanResult scanResult : scanResults) { in findMatchingSavedNetworksWithBssid()
576 public void onMatch(List<ScanResult> scanResults) { in onMatch() argument
582 matchedScanResults = scanResults; in onMatch()
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DWifiRttTest.java234 List<ScanResult> scanResults = new ArrayList<>(); in testRequestTooLarge() local
236 scanResults.add(testAp); in testRequestTooLarge()
238 builder.addAccessPoints(scanResults); in testRequestTooLarge()