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.java221 public void onResults(WifiScanner.ScanData[] scanDatas) { in onResults() argument
226 if (scanDatas.length != 1) { in onResults()
230 WifiScanner.ScanData scanData = scanDatas[0]; in onResults()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java210 ScanData[] scanDatas = new ScanData[1]; in mockWifiScanner() local
211 scanDatas[0] = mScanData; in mockWifiScanner()
217 listener.onResults(scanDatas); in mockWifiScanner()
223 listener.onResults(scanDatas); in mockWifiScanner()
232 allSingleScanListenerCaptor.getValue().onResults(scanDatas); in mockWifiScanner()
1990 ScanData[] scanDatas =
1993 scanDatas[0].getResults()[0].informationElements = new InformationElement[0];
1994 scanDatas[0].getResults()[1].informationElements = new InformationElement[0];
1995 scanDatas[0].getResults()[2].informationElements = new InformationElement[0];
1996 scanDatas[0].getResults()[3].informationElements = new InformationElement[0];
[all …]
DWifiVendorHalTest.java3343 ArrayList<WifiScanner.ScanData> scanDatas = new ArrayList<>(); in createHidlAndFrameworkBgScanDatas() local
3349 scanDatas.add(scanData); in createHidlAndFrameworkBgScanDatas()
3350 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()