/frameworks/base/wifi/java/android/net/wifi/ |
D | BatchedScanResult.java | 38 public final List<ScanResult> scanResults = new ArrayList<ScanResult>(); field in BatchedScanResult 46 for (ScanResult s : source.scanResults) scanResults.add(new ScanResult(s)); in BatchedScanResult() 56 for (ScanResult s : scanResults) { in toString() 71 dest.writeInt(scanResults.size()); in writeToParcel() 72 for (ScanResult s : scanResults) { in writeToParcel() 85 result.scanResults.add(ScanResult.CREATOR.createFromParcel(in));
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WificondPnoScannerTest.java | 91 ScanResults scanResults = createDummyScanResults(false); in startHwDisconnectedPnoScan() local 96 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in startHwDisconnectedPnoScan() 112 ScanResults scanResults = createDummyScanResults(true); in pauseResumeHwDisconnectedPnoScanForSingleScan() local 121 expectedBandScanFreqs(WifiScanner.WIFI_BAND_24_GHZ), scanResults); in pauseResumeHwDisconnectedPnoScanForSingleScan() 132 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in pauseResumeHwDisconnectedPnoScanForSingleScan() 181 ScanResults scanResults = createDummyScanResults(true); in delayedHwDisconnectedPnoScanFailure() local 190 expectedBandScanFreqs(WifiScanner.WIFI_BAND_24_GHZ), scanResults); in delayedHwDisconnectedPnoScanFailure() 209 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in delayedHwDisconnectedPnoScanFailure() 245 ScanResults scanResults = createDummyScanResults(false); in ignoreHwDisconnectedPnoScanStopFailure() local 246 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in ignoreHwDisconnectedPnoScanStopFailure() [all …]
|
D | WifiScanningServiceTest.java | 1388 ScanResults scanResults = ScanResults.create(0, true, 2400, 5150, 5175); in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() local 1394 scanResults.getRawScanResults()[0].timestamp = (currentTimeInMillis - 1) * 1000; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() 1395 scanResults.getRawScanResults()[1].timestamp = (currentTimeInMillis - 2) * 1000; in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() 1396 scanResults.getRawScanResults()[2].timestamp = in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() 1399 add(scanResults.getRawScanResults()[0]); in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() 1400 add(scanResults.getRawScanResults()[1]); in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() 1404 computeSingleScanNativeSettings(requestSettings), scanResults); in doesNotRetrieveStaleScanResultsFromLastFullSingleScan() 1902 ScanResults scanResults = createScanResultsForPno(); in testSuccessfulHwPnoScanWithNoBackgroundScan() local 1906 createPnoSettings(scanResults); in testSuccessfulHwPnoScanWithNoBackgroundScan() 1910 scanResults); in testSuccessfulHwPnoScanWithNoBackgroundScan() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNotificationController.java | 182 List<ScanResult> scanResults) { in checkAndSetNotification() argument 200 if (scanResults != null) { in checkAndSetNotification() 202 for (int i = scanResults.size() - 1; i >= 0; i--) { in checkAndSetNotification() 203 ScanResult scanResult = scanResults.get(i); in checkAndSetNotification()
|
D | WifiVendorHal.java | 2348 private static ScanResult[] hidlToFrameworkScanResults(ArrayList<StaScanResult> scanResults) { in hidlToFrameworkScanResults() argument 2349 if (scanResults == null || scanResults.isEmpty()) return new ScanResult[0]; in hidlToFrameworkScanResults() 2350 ScanResult[] frameworkScanResults = new ScanResult[scanResults.size()]; in hidlToFrameworkScanResults() 2352 for (StaScanResult scanResult : scanResults) { in hidlToFrameworkScanResults()
|
D | WifiStateMachine.java | 2849 ArrayList<ScanDetail> scanResults = mWifiNative.getScanResults(); in setScanResults() local 2851 if (scanResults.isEmpty()) { in setScanResults() 2869 mScanResults = scanResults; in setScanResults()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNotificationControllerTest.java | 102 List<ScanResult> scanResults = new ArrayList<>(); in setOpenAccessPoint() local 105 scanResults.add(scanResult); in setOpenAccessPoint() 106 when(mWifiScanner.getSingleScanResults()).thenReturn(scanResults); in setOpenAccessPoint()
|
D | ScoredNetworkEvaluatorTest.java | 264 ScanResult[] scanResults = new ScanResult[2]; in testEvaluateNetworks_chooseHigherScoredEphemeralNetwork() local 277 scanResults[i] = scanDetails.get(i).getScanResult(); in testEvaluateNetworks_chooseHigherScoredEphemeralNetwork() 287 scanResults[1], candidate); in testEvaluateNetworks_chooseHigherScoredEphemeralNetwork() 517 ScanResult[] scanResults = new ScanResult[2]; in testEvaluateNetworks_chooseActiveEphemeralNetwork() local 531 scanResults[i] = scanDetails.get(i).getScanResult(); in testEvaluateNetworks_chooseActiveEphemeralNetwork() 542 scanResults[1], candidate); in testEvaluateNetworks_chooseActiveEphemeralNetwork()
|
D | ScanResults.java | 44 ScanResult[] scanResults) { in ScanResults() argument 48 mScanResults = scanResults; in ScanResults()
|
D | WifiConnectivityManagerTest.java | 195 final ScanResult[] scanResults = new ScanResult[1]; in mockWifiScanner() local 196 scanResults[0] = new ScanResult(WifiSsid.createFromAsciiEncoded(CANDIDATE_SSID), in mockWifiScanner() 199 scanResults[0].informationElements = new InformationElement[1]; in mockWifiScanner() 200 scanResults[0].informationElements[0] = new InformationElement(); in mockWifiScanner() 201 scanResults[0].informationElements[0].id = InformationElement.EID_SSID; in mockWifiScanner() 202 scanResults[0].informationElements[0].bytes = in mockWifiScanner() 208 listener.onPnoNetworkFound(scanResults); in mockWifiScanner() 214 listener.onPnoNetworkFound(scanResults); in mockWifiScanner()
|
D | WifiVendorHalTest.java | 1822 ScanResult[] scanResults = new ScanResult[1]; in createHidlAndFrameworkBgScanDatas() local 1823 scanResults[0] = result.second; in createHidlAndFrameworkBgScanDatas() 1826 staScanData.bucketsScanned, false, scanResults); in createHidlAndFrameworkBgScanDatas()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | DeviceDiscoveryService.java | 463 List<android.net.wifi.ScanResult> scanResults = mWifiManager.getScanResults(); in onReceive() local 466 Log.i(LOG_TAG, "Wifi scan results: " + TextUtils.join("\n", scanResults)); in onReceive() 469 for (int i = 0; i < scanResults.size(); i++) { in onReceive() 470 onDeviceFound(DeviceFilterPair.findMatch(scanResults.get(i), mWifiFilters)); in onReceive()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | OSUCache.java | 80 public Map<OSUProvider, ScanResult> pushScanResults(Collection<ScanResult> scanResults) { in pushScanResults() argument 81 for (ScanResult scanResult : scanResults) { in pushScanResults()
|
D | OSUManager.java | 176 public void pushScanResults(Collection<ScanResult> scanResults) { in pushScanResults() argument 177 Map<OSUProvider, ScanResult> results = mOSUCache.pushScanResults(scanResults); in pushScanResults()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 1527 ScanResult[] scanResults = ((ScanResult[]) msg.obj); in processMessage() local 1528 if (isSingleScanNeeded(scanResults)) { in processMessage() 1630 ScanResult[] scanResults = mSwPnoFullScanResults.toArray( in processMessage() local 1632 reportPnoNetworkFound(scanResults); in processMessage() 1814 private boolean isSingleScanNeeded(ScanResult[] scanResults) { in isSingleScanNeeded() argument 1815 for (ScanResult scanResult : scanResults) { in isSingleScanNeeded() 2131 List<ScanResult> scanResults = mSingleScanStateMachine.getCachedScanResultsAsList(); in dump() local 2133 if (scanResults != null && scanResults.size() != 0) { in dump() 2136 for (ScanResult r : scanResults) { in dump()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 326 ArrayList<ScanResult> scanResults = new ArrayList<>(); 333 scanResults.add(scanResult); 336 bundle.putParcelableArrayList("key_scanresultcache", scanResults);
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkScoreService.java | 598 List<ScanResult> scanResults = resultsSupplier.get(); in ScanResultsScoreCacheFilter() local 599 final int size = scanResults.size(); in ScanResultsScoreCacheFilter() 602 ScanResult scanResult = scanResults.get(i); in ScanResultsScoreCacheFilter()
|
/frameworks/base/api/ |
D | system-current.txt | 28575 field public final java.util.List<android.net.wifi.ScanResult> scanResults;
|