Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiHealthMonitorTest.java293 ScanData[] scanDatas = in mockScanData() local
296 scanDatas[0].getResults()[0].informationElements = new InformationElement[0]; in mockScanData()
297 scanDatas[0].getResults()[1].informationElements = new InformationElement[0]; in mockScanData()
298 scanDatas[0].getResults()[2].informationElements = new InformationElement[0]; in mockScanData()
299 scanDatas[0].getResults()[3].informationElements = new InformationElement[0]; in mockScanData()
301 return scanDatas[0]; in mockScanData()
305 ScanData[] scanDatas = in mockScanDataAbove2GOnly() local
308 scanDatas[0].getResults()[0].informationElements = new InformationElement[0]; in mockScanDataAbove2GOnly()
309 scanDatas[0].getResults()[1].informationElements = new InformationElement[0]; in mockScanDataAbove2GOnly()
310 scanDatas[0].getResults()[2].informationElements = new InformationElement[0]; in mockScanDataAbove2GOnly()
[all …]
DWifiConnectivityManagerTest.java485 ScanData[] scanDatas = new ScanData[1]; in mockWifiScanner() local
486 scanDatas[0] = mScanData; in mockWifiScanner()
491 listener.getWifiScannerListener().onResults(scanDatas); in mockWifiScanner()
501 scanDatas); in mockWifiScanner()
1328 ScanData[] scanDatas = in createScanDataWithDifferentBands() local
1331 return scanDatas[0]; in createScanDataWithDifferentBands()
5049 ScanData[] scanDatas = in createScanDataWithDifferentRadioChainInfos() local
5052 scanDatas[0].getResults()[0].informationElements = new InformationElement[0]; in createScanDataWithDifferentRadioChainInfos()
5053 scanDatas[0].getResults()[1].informationElements = new InformationElement[0]; in createScanDataWithDifferentRadioChainInfos()
5054 scanDatas[0].getResults()[2].informationElements = new InformationElement[0]; in createScanDataWithDifferentRadioChainInfos()
[all …]
DWifiVendorHalTest.java1727 WifiScanner.ScanData[] scanDatas = new WifiScanner.ScanData[1]; in createFrameworkBgScanDatas() local
1733 scanDatas[0] = scanData; in createFrameworkBgScanDatas()
1734 return scanDatas; in createFrameworkBgScanDatas()
DWifiNetworkFactoryTest.java3857 public final WifiScanner.ScanData[] scanDatas; field in WifiNetworkFactoryTest.PeriodicScanParams
3859 PeriodicScanParams(long expectedIntervalInSeconds, WifiScanner.ScanData[] scanDatas) { in PeriodicScanParams() argument
3861 this.scanDatas = scanDatas; in PeriodicScanParams()
3897 scanListener.onResults(scanParams[i].scanDatas); in verifyPeriodicScans()
/packages/modules/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()
DWifiScannerInternal.java82 public void onResults(WifiScanner.ScanData[] scanDatas) { in onResults() argument
84 mScanListener.onResults(scanDatas); in onResults()
DBackgroundScanScheduler.java414 public @Nullable ScanData[] filterResultsForSettings(@NonNull ScanData[] scanDatas, in filterResultsForSettings() argument
416 return ScanScheduleUtil.filterResultsForSettings(mChannelHelper, scanDatas, settings, in filterResultsForSettings()
DWifiScanningServiceImpl.java2899 ScanData[] scanDatas = parcelableScanData.getResults(); in processMessage() local
2900 ScanData lastScanData = scanDatas[scanDatas.length - 1]; in processMessage()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DScanRequestProxy.java143 public void onResults(WifiScanner.ScanData[] scanDatas) { in onResults() argument
148 if (scanDatas.length != 1) { in onResults()
153 WifiScanner.ScanData scanData = scanDatas[0]; in onResults()
222 public void onResults(WifiScanner.ScanData[] scanDatas) { in onResults() argument
DWifiNetworkFactory.java274 public void onResults(WifiScanner.ScanData[] scanDatas) { in onResults() argument
279 if (scanDatas.length != 1) { in onResults()
283 WifiScanner.ScanData scanData = scanDatas[0]; in onResults()
DWifiVendorHal.java1711 public void onBackgroundScanResults(int cmdId, WifiScanner.ScanData[] scanDatas) {
1720 mScan.latestScanResults = scanDatas;
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiStaIfaceAidlImpl.java918 public void onBackgroundScanResults(int cmdId, StaScanData[] scanDatas) { in onBackgroundScanResults() argument
920 WifiScanner.ScanData[] frameworkScanDatas = halToFrameworkScanDatas(cmdId, scanDatas); in onBackgroundScanResults()
1092 private WifiScanner.ScanData[] halToFrameworkScanDatas(int cmdId, StaScanData[] scanDatas) { in halToFrameworkScanDatas() argument
1093 if (scanDatas == null || scanDatas.length == 0) return new WifiScanner.ScanData[0]; in halToFrameworkScanDatas()
1094 WifiScanner.ScanData[] frameworkScanDatas = new WifiScanner.ScanData[scanDatas.length]; in halToFrameworkScanDatas()
1096 for (StaScanData scanData : scanDatas) { in halToFrameworkScanDatas()
DWifiStaIfaceHidlImpl.java1528 int cmdId, ArrayList<StaScanData> scanDatas) { in hidlToFrameworkScanDatas() argument
1529 if (scanDatas == null || scanDatas.isEmpty()) return new WifiScanner.ScanData[0]; in hidlToFrameworkScanDatas()
1530 WifiScanner.ScanData[] frameworkScanDatas = new WifiScanner.ScanData[scanDatas.size()]; in hidlToFrameworkScanDatas()
1532 for (StaScanData scanData : scanDatas) { in hidlToFrameworkScanDatas()
1604 public void onBackgroundScanResults(int cmdId, ArrayList<StaScanData> scanDatas) { in onBackgroundScanResults() argument
1606 WifiScanner.ScanData[] frameworkScanDatas = hidlToFrameworkScanDatas(cmdId, scanDatas); in onBackgroundScanResults()
DWifiStaIface.java108 void onBackgroundScanResults(int cmdId, WifiScanner.ScanData[] scanDatas); in onBackgroundScanResults() argument
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiScannerTest.java382 ScanData[] scanDatas = new ScanData[]{ in testStartScanListenerOnResults() local
389 listener.onResults(scanDatas); in testStartScanListenerOnResults()
397 verify(scanListener).onResults(eq(scanDatas)); in testStartScanListenerOnResults()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java2471 WifiScanner.ScanData[] scanDatas = new WifiScanner.ScanData[1]; in expectSuccessfulBackgroundScan() local
2472 scanDatas[0] = results.getScanData(); in expectSuccessfulBackgroundScan()
2476 when(mWifiScannerImpl0.getLatestBatchedScanResults(anyBoolean())).thenReturn(scanDatas); in expectSuccessfulBackgroundScan()