Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiHealthMonitorTest.java279 ScanData[] scanDatas = in mockScanData() local
282 scanDatas[0].getResults()[0].informationElements = new InformationElement[0]; in mockScanData()
283 scanDatas[0].getResults()[1].informationElements = new InformationElement[0]; in mockScanData()
284 scanDatas[0].getResults()[2].informationElements = new InformationElement[0]; in mockScanData()
285 scanDatas[0].getResults()[3].informationElements = new InformationElement[0]; in mockScanData()
287 return scanDatas[0]; in mockScanData()
291 ScanData[] scanDatas = in mockScanDataAbove2GOnly() local
294 scanDatas[0].getResults()[0].informationElements = new InformationElement[0]; in mockScanDataAbove2GOnly()
295 scanDatas[0].getResults()[1].informationElements = new InformationElement[0]; in mockScanDataAbove2GOnly()
296 scanDatas[0].getResults()[2].informationElements = new InformationElement[0]; in mockScanDataAbove2GOnly()
[all …]
DWifiConnectivityManagerTest.java344 ScanData[] scanDatas = new ScanData[1]; in mockWifiScanner() local
345 scanDatas[0] = mScanData; in mockWifiScanner()
351 listener.onResults(scanDatas); in mockWifiScanner()
357 listener.onResults(scanDatas); in mockWifiScanner()
366 allSingleScanListenerCaptor.getValue().onResults(scanDatas); in mockWifiScanner()
3480 ScanData[] scanDatas = in createScanDataWithDifferentRadioChainInfos() local
3483 scanDatas[0].getResults()[0].informationElements = new InformationElement[0]; in createScanDataWithDifferentRadioChainInfos()
3484 scanDatas[0].getResults()[1].informationElements = new InformationElement[0]; in createScanDataWithDifferentRadioChainInfos()
3485 scanDatas[0].getResults()[2].informationElements = new InformationElement[0]; in createScanDataWithDifferentRadioChainInfos()
3486 scanDatas[0].getResults()[3].informationElements = new InformationElement[0]; in createScanDataWithDifferentRadioChainInfos()
[all …]
DWifiNetworkFactoryTest.java3389 public final WifiScanner.ScanData[] scanDatas; field in WifiNetworkFactoryTest.PeriodicScanParams
3391 PeriodicScanParams(long expectedIntervalInSeconds, WifiScanner.ScanData[] scanDatas) { in PeriodicScanParams() argument
3393 this.scanDatas = scanDatas; in PeriodicScanParams()
3428 scanListener.onResults(scanParams[i].scanDatas); in verifyPeriodicScans()
DWifiVendorHalTest.java4030 ArrayList<WifiScanner.ScanData> scanDatas = new ArrayList<>(); in createHidlAndFrameworkBgScanDatas() local
4036 scanDatas.add(scanData); in createHidlAndFrameworkBgScanDatas()
4037 return Pair.create(staScanDatas, scanDatas); in createHidlAndFrameworkBgScanDatas()
/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()
DBackgroundScanScheduler.java414 public @Nullable ScanData[] filterResultsForSettings(@NonNull ScanData[] scanDatas, in filterResultsForSettings() argument
416 return ScanScheduleUtil.filterResultsForSettings(mChannelHelper, scanDatas, settings, in filterResultsForSettings()
DWifiScanningServiceImpl.java2237 ScanData[] scanDatas = parcelableScanData.getResults(); in processMessage() local
2238 ScanData lastScanData = scanDatas[scanDatas.length - 1]; in processMessage()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DScanRequestProxy.java134 public void onResults(WifiScanner.ScanData[] scanDatas) { in onResults() argument
139 if (scanDatas.length != 1) { in onResults()
144 WifiScanner.ScanData scanData = scanDatas[0]; in onResults()
187 public void onResults(WifiScanner.ScanData[] scanDatas) { in onResults() argument
DWifiVendorHal.java3371 int cmdId, ArrayList<StaScanData> scanDatas) {
3372 if (scanDatas == null || scanDatas.isEmpty()) return new WifiScanner.ScanData[0];
3373 WifiScanner.ScanData[] frameworkScanDatas = new WifiScanner.ScanData[scanDatas.size()];
3375 for (StaScanData scanData : scanDatas) {
3413 public void onBackgroundScanResults(int cmdId, ArrayList<StaScanData> scanDatas) {
3422 mScan.latestScanResults = hidlToFrameworkScanDatas(cmdId, scanDatas);
DWifiNetworkFactory.java250 public void onResults(WifiScanner.ScanData[] scanDatas) { in onResults() argument
255 if (scanDatas.length != 1) { in onResults()
259 WifiScanner.ScanData scanData = scanDatas[0]; in onResults()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiScannerTest.java379 ScanData scanDatas[] = new ScanData[]{new ScanData(0, 0 , new ScanResult[] {scanResult})}; in testStartScanListenerOnResults() local
383 responseMessage.obj = new WifiScanner.ParcelableScanData(scanDatas); in testStartScanListenerOnResults()
387 verify(scanListener).onResults(scanDatas); in testStartScanListenerOnResults()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java2511 WifiScanner.ScanData[] scanDatas = new WifiScanner.ScanData[1]; in expectSuccessfulBackgroundScan() local
2512 scanDatas[0] = results.getScanData(); in expectSuccessfulBackgroundScan()
2516 when(mWifiScannerImpl0.getLatestBatchedScanResults(anyBoolean())).thenReturn(scanDatas); in expectSuccessfulBackgroundScan()