/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanRequestProxyTest.java | 270 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanSuccess() 288 assertTrue(mScanRequestProxy.getScanResults().isEmpty()); in testScanFailure() 308 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanSuccessOverwritesPreviousResults() 319 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanSuccessOverwritesPreviousResults() 339 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanFailureDoesNotOverwritePreviousResults() 350 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanFailureDoesNotOverwritePreviousResults() 371 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanSucceeds() 383 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanSucceeds() 405 assertTrue(mScanRequestProxy.getScanResults().isEmpty()); in testNewScanRequestAfterPreviousScanSucceedsWithInvalidScanDatas() 417 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanSucceedsWithInvalidScanDatas() [all …]
|
D | WificondControlTest.java | 593 mWificondControl.getScanResults(TEST_INTERFACE_NAME, in testGetScanResultsErrorWhenNoClientInterfaceConfigured() 606 when(mWifiScannerImpl.getScanResults()).thenReturn(mockScanResults); in testGetScanResults() 608 ArrayList<ScanDetail> returnedScanResults = mWificondControl.getScanResults( in testGetScanResults() 644 when(mWifiScannerImpl.getScanResults()).thenReturn( in testGetScanResultsForCarrierAp() 656 ArrayList<ScanDetail> returnedScanResults = mWificondControl.getScanResults( in testGetScanResultsForCarrierAp() 670 returnedScanResults = mWificondControl.getScanResults( in testGetScanResultsForCarrierAp() 699 when(mWifiScannerImpl.getScanResults()).thenReturn(mockScanResults); in testGetScanResultsWithRadioChainInfo() 701 ArrayList<ScanDetail> returnedScanResults = mWificondControl.getScanResults( in testGetScanResultsWithRadioChainInfo()
|
D | WifiServiceImplTest.java | 1363 when(mScanRequestProxy.getScanResults()).thenReturn(scanResultList); in testGetScanResults() 1366 List<ScanResult> retrievedScanResultList = mWifiServiceImpl.getScanResults(packageName); in testGetScanResults() 1367 verify(mScanRequestProxy).getScanResults(); in testGetScanResults() 1387 when(mScanRequestProxy.getScanResults()).thenReturn(scanResultList); in testGetScanResultsFailureInRunWithScissors() 1390 List<ScanResult> retrievedScanResultList = mWifiServiceImpl.getScanResults(packageName); in testGetScanResultsFailureInRunWithScissors() 1391 verify(mScanRequestProxy, never()).getScanResults(); in testGetScanResultsFailureInRunWithScissors()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 566 List<ScanResult> netList = mWifiManager.getScanResults(); in connectToWifiWithConfiguration() 607 if ((mWifiManager.getScanResults() == null) || in connectToWifiWithConfiguration() 608 (mWifiManager.getScanResults().size() <= 0)) { in connectToWifiWithConfiguration()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | WifiTrackerTest.java | 183 when(mockWifiManager.getScanResults()) in setUp() 684 when(mockWifiManager.getScanResults()) in scoresShouldBeRequestedForNewScanResultOnly() 740 when(mockWifiManager.getScanResults()).thenReturn(results); in trackPasspointApWithPasspointDisabled() 804 when(mockWifiManager.getScanResults()).thenReturn(new ArrayList<>()); in onStartShouldDisplayConnectedAccessPointWhenThereAreNoScanResults() 992 when(mockWifiManager.getScanResults()).thenReturn(Arrays.asList( in onStart_updateScanResults_evictOldScanResult() 1010 when(mockWifiManager.getScanResults()).thenReturn(Arrays.asList( in failedScan_increasesEvictionTimeout()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiUtilsTest.java | 101 doReturn(set).when(mAccessPoint).getScanResults(); in testGetVisibilityStatus_nullResultDoesNotCrash()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 96 List<ScanResult> getScanResults(String callingPackage); in getScanResults() method
|
D | WifiNetworkScoreCache.java | 260 for (ScanResult scanResult : wifiManager.getScanResults()) { in dump()
|
D | WifiManager.java | 2320 public List<ScanResult> getScanResults() { 2322 return mService.getScanResults(mContext.getOpPackageName());
|
D | WifiScanner.java | 852 public boolean getScanResults() { in getScanResults() method in WifiScanner
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | BaseWifiScannerImplTest.java | 461 when(mWifiNative.getScanResults(eq(IFACE_NAME))).thenReturn(rawResults); in singleScanWhereSupplicantReturnsSomeOldResults() 523 when(mWifiNative.getScanResults( in expectSuccessfulSingleScan()
|
D | WificondPnoScannerTest.java | 217 when(mWifiNative.getScanResults(IFACE_NAME)) in expectSuccessfulHwDisconnectedPnoScan()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiUtils.java | 117 for (ScanResult result : accessPoint.getScanResults()) { in getVisibilityStatus()
|
D | AccessPoint.java | 773 public Set<ScanResult> getScanResults() { in getScanResults() method in AccessPoint 1843 wifiManager.getAllMatchingWifiConfigs(wifiManager.getScanResults())) { in onProvisioningComplete()
|
D | WifiTracker.java | 533 List<ScanResult> newScanResults = mWifiManager.getScanResults(); in fetchScansAndConfigsAndUpdateAccessPoints()
|
/frameworks/base/wifi/java/com/android/server/wifi/ |
D | BaseWifiService.java | 172 public List<ScanResult> getScanResults(String callingPackage) { in getScanResults() method in BaseWifiService
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerService.java | 391 List<ScanResult> wifiScanResults = wifiManager.getScanResults(); in onReceive()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 115 mLastScanResult = mWifiManager.getScanResults(); in onReceive()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WificondControl.java | 568 public ArrayList<ScanDetail> getScanResults(@NonNull String ifaceName, int scanType) { in getScanResults() method in WificondControl 578 nativeResults = scannerImpl.getScanResults(); in getScanResults()
|
D | ScanRequestProxy.java | 502 public List<ScanResult> getScanResults() { in getScanResults() method in ScanRequestProxy
|
D | WifiNative.java | 1306 public ArrayList<ScanDetail> getScanResults(@NonNull String ifaceName) { in getScanResults() method in WifiNative 1307 return mWificondControl.getScanResults( in getScanResults() 1318 return mWificondControl.getScanResults(ifaceName, WificondControl.SCAN_TYPE_PNO_SCAN); in getPnoScanResults()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WificondScannerImpl.java | 376 mNativeScanResults = mWifiNative.getScanResults(mIfaceName); in pollLatestScanData()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProvisionerTest.java | 457 when(mWifiManager.getScanResults()).thenReturn(null); in verifyOsuProviderNotFoundForProvisioning() 497 when(mWifiManager.getScanResults()).thenReturn(scanResults); in verifySelectBestOsuProviderForProvisioning()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | DeviceDiscoveryService.java | 488 List<android.net.wifi.ScanResult> scanResults = mWifiManager.getScanResults(); in onReceive()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvisioner.java | 257 List<ScanResult> scanResults = mWifiManager.getScanResults(); in startProvisioning()
|