Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DScanScheduleUtil.java153 ScanData[] scanDatas, ScanSettings settings, int scheduledBucket) { in filterResultsForSettings() argument
154 List<ScanData> filteredScanDatas = new ArrayList<>(scanDatas.length); in filterResultsForSettings()
156 for (ScanData scanData : scanDatas) { in filterResultsForSettings()
DBackgroundScanScheduler.java414 public @Nullable ScanData[] filterResultsForSettings(@NonNull ScanData[] scanDatas, in filterResultsForSettings() argument
416 return ScanScheduleUtil.filterResultsForSettings(mChannelHelper, scanDatas, settings, in filterResultsForSettings()
DWifiScanningServiceImpl.java1715 ScanData[] scanDatas = parcelableScanData.getResults(); in processMessage() local
1716 ScanData lastScanData = scanDatas[scanDatas.length - 1]; in processMessage()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanRequestProxy.java119 public void onResults(WifiScanner.ScanData[] scanDatas) { in onResults() argument
124 if (scanDatas.length != 1) { in onResults()
129 WifiScanner.ScanData scanData = scanDatas[0]; in onResults()
171 public void onResults(WifiScanner.ScanData[] scanDatas) { in onResults() argument
DWifiVendorHal.java2649 int cmdId, ArrayList<StaScanData> scanDatas) { in hidlToFrameworkScanDatas() argument
2650 if (scanDatas == null || scanDatas.isEmpty()) return new WifiScanner.ScanData[0]; in hidlToFrameworkScanDatas()
2651 WifiScanner.ScanData[] frameworkScanDatas = new WifiScanner.ScanData[scanDatas.size()]; in hidlToFrameworkScanDatas()
2653 for (StaScanData scanData : scanDatas) { in hidlToFrameworkScanDatas()
2691 public void onBackgroundScanResults(int cmdId, ArrayList<StaScanData> scanDatas) { in onBackgroundScanResults() argument
2700 mScan.latestScanResults = hidlToFrameworkScanDatas(cmdId, scanDatas); in onBackgroundScanResults()
DWifiNetworkFactory.java215 public void onResults(WifiScanner.ScanData[] scanDatas) { in onResults() argument
220 if (scanDatas.length != 1) { in onResults()
224 WifiScanner.ScanData scanData = scanDatas[0]; in onResults()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java205 ScanData[] scanDatas = new ScanData[1]; in mockWifiScanner() local
206 scanDatas[0] = mScanData; in mockWifiScanner()
212 listener.onResults(scanDatas); in mockWifiScanner()
218 listener.onResults(scanDatas); in mockWifiScanner()
227 allSingleScanListenerCaptor.getValue().onResults(scanDatas); in mockWifiScanner()
1985 ScanData[] scanDatas =
1988 scanDatas[0].getResults()[0].informationElements = new InformationElement[0];
1989 scanDatas[0].getResults()[1].informationElements = new InformationElement[0];
1990 scanDatas[0].getResults()[2].informationElements = new InformationElement[0];
1991 scanDatas[0].getResults()[3].informationElements = new InformationElement[0];
[all …]
DWifiVendorHalTest.java3338 ArrayList<WifiScanner.ScanData> scanDatas = new ArrayList<>(); in createHidlAndFrameworkBgScanDatas() local
3344 scanDatas.add(scanData); in createHidlAndFrameworkBgScanDatas()
3345 return Pair.create(staScanDatas, scanDatas); in createHidlAndFrameworkBgScanDatas()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiScannerTest.java354 ScanData scanDatas[] = new ScanData[]{new ScanData(0, 0 , new ScanResult[] {scanResult})}; in testStartScanListenerOnResults() local
358 responseMessage.obj = new WifiScanner.ParcelableScanData(scanDatas); in testStartScanListenerOnResults()
362 verify(scanListener).onResults(scanDatas); in testStartScanListenerOnResults()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java2220 WifiScanner.ScanData[] scanDatas = new WifiScanner.ScanData[1]; in expectSuccessfulBackgroundScan() local
2221 scanDatas[0] = results.getScanData(); in expectSuccessfulBackgroundScan()
2225 when(mWifiScannerImpl.getLatestBatchedScanResults(anyBoolean())).thenReturn(scanDatas); in expectSuccessfulBackgroundScan()