Home
last modified time | relevance | path

Searched refs:scanData (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DScanScheduleUtil.java156 for (ScanData scanData : scanDatas) { in filterResultsForSettings()
158 if (isBucketMaybeScanned(scheduledBucket, scanData.getBucketsScanned())) { in filterResultsForSettings()
160 for (ScanResult scanResult : scanData.getResults()) { in filterResultsForSettings()
172 if (filteredResults.size() == scanData.getResults().length) { in filterResultsForSettings()
173 filteredScanDatas.add(scanData); in filterResultsForSettings()
175 scanData.getBucketsScanned())) { in filterResultsForSettings()
176 filteredScanDatas.add(new ScanData(scanData.getId(), in filterResultsForSettings()
177 scanData.getFlags(), in filterResultsForSettings()
179 scanData.getBandScanned(), in filterResultsForSettings()
DWifiScanningServiceImpl.java714 public void onScanPaused(ScanData[] scanData) { in onScanPaused() argument
762 ScanData scanData = impl.getLatestSingleScanResults(); in getLatestSingleScanResults() local
764 consolidatedScanData = new ScanData(scanData); in getLatestSingleScanResults()
766 consolidatedScanData.addResults(scanData.getResults()); in getLatestSingleScanResults()
1363 public void onScanPaused(ScanData[] scanData) { in onScanPaused() argument
1365 sendMessage(CMD_SCAN_PAUSED, scanData); in onScanPaused()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiScannerTest.java458 ScanData scanData = new ScanData(0, 0, new ScanResult[]{scanResult1}); in testScanDataAddResults() local
462 scanData.addResults(new ScanResult[]{scanResult2}); in testScanDataAddResults()
464 ScanResult[] consolidatedScanResults = scanData.getResults(); in testScanDataAddResults()
474 ScanData scanData = new ScanData(5, 4, new ScanResult[]{scanResult1}); in testScanDataParcel() local
477 scanData.writeToParcel(parcel, 0); in testScanDataParcel()
481 assertEquals(scanData.getId(), readScanData.getId()); in testScanDataParcel()
482 assertEquals(scanData.getFlags(), readScanData.getFlags()); in testScanDataParcel()
483 assertEquals(scanData.getResults().length, readScanData.getResults().length); in testScanDataParcel()
484 assertEquals(scanData.getResults()[0].SSID, readScanData.getResults()[0].SSID); in testScanDataParcel()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanResults.java44 private ScanResults(ArrayList<ScanDetail> scanDetails, ScanData scanData, in ScanResults() argument
47 mScanData = scanData; in ScanResults()
48 mRawScanData = scanData; in ScanResults()
DWifiConnectivityManagerTest.java266 ScanData scanData = mock(ScanData.class); in mockScanData() local
268 when(scanData.getBandScanned()).thenReturn(WifiScanner.WIFI_BAND_ALL); in mockScanData()
270 return scanData; in mockScanData()
DWifiVendorHalTest.java3333 WifiScanner.ScanData scanData = in createHidlAndFrameworkBgScanDatas() local
3336 scanDatas.add(scanData); in createHidlAndFrameworkBgScanDatas()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanRequestProxy.java136 WifiScanner.ScanData scanData = scanDatas[0]; in onResults() local
137 ScanResult[] scanResults = scanData.getResults(); in onResults()
142 if (WifiScanner.isFullBandScan(scanData.getBandScanned(), false)) { in onResults()
DWifiNetworkFactory.java234 WifiScanner.ScanData scanData = scanDatas[0]; in onResults() local
235 ScanResult[] scanResults = scanData.getResults(); in onResults()
DWifiVendorHal.java2701 for (StaScanData scanData : scanDatas) {
2702 int flags = hidlToFrameworkScanDataFlags(scanData.flags);
2703 ScanResult[] frameworkScanResults = hidlToFrameworkScanResults(scanData.results);
2705 new WifiScanner.ScanData(cmdId, flags, scanData.bucketsScanned,
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBaseWifiScannerImplTest.java443 ScanData scanData = new ScanData(0, 0, 0, in singleScanWhereSupplicantReturnsSomeOldResults() local
474 assertScanDataEquals(scanData, mScanner.getLatestSingleScanResults()); in singleScanWhereSupplicantReturnsSomeOldResults()