Home
last modified time | relevance | path

Searched refs:getScanResults (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanRequestProxyTest.java270 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 …]
DWificondControlTest.java593 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()
DWifiServiceImplTest.java1363 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/
DConnectionUtil.java566 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/
DWifiTrackerTest.java183 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/
DWifiUtilsTest.java101 doReturn(set).when(mAccessPoint).getScanResults(); in testGetVisibilityStatus_nullResultDoesNotCrash()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl96 List<ScanResult> getScanResults(String callingPackage); in getScanResults() method
DWifiNetworkScoreCache.java260 for (ScanResult scanResult : wifiManager.getScanResults()) { in dump()
DWifiManager.java2320 public List<ScanResult> getScanResults() {
2322 return mService.getScanResults(mContext.getOpPackageName());
DWifiScanner.java852 public boolean getScanResults() { in getScanResults() method in WifiScanner
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBaseWifiScannerImplTest.java461 when(mWifiNative.getScanResults(eq(IFACE_NAME))).thenReturn(rawResults); in singleScanWhereSupplicantReturnsSomeOldResults()
523 when(mWifiNative.getScanResults( in expectSuccessfulSingleScan()
DWificondPnoScannerTest.java217 when(mWifiNative.getScanResults(IFACE_NAME)) in expectSuccessfulHwDisconnectedPnoScan()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java117 for (ScanResult result : accessPoint.getScanResults()) { in getVisibilityStatus()
DAccessPoint.java773 public Set<ScanResult> getScanResults() { in getScanResults() method in AccessPoint
1843 wifiManager.getAllMatchingWifiConfigs(wifiManager.getScanResults())) { in onProvisioningComplete()
DWifiTracker.java533 List<ScanResult> newScanResults = mWifiManager.getScanResults(); in fetchScansAndConfigsAndUpdateAccessPoints()
/frameworks/base/wifi/java/com/android/server/wifi/
DBaseWifiService.java172 public List<ScanResult> getScanResults(String callingPackage) { in getScanResults() method in BaseWifiService
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java391 List<ScanResult> wifiScanResults = wifiManager.getScanResults(); in onReceive()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java115 mLastScanResult = mWifiManager.getScanResults(); in onReceive()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWificondControl.java568 public ArrayList<ScanDetail> getScanResults(@NonNull String ifaceName, int scanType) { in getScanResults() method in WificondControl
578 nativeResults = scannerImpl.getScanResults(); in getScanResults()
DScanRequestProxy.java502 public List<ScanResult> getScanResults() { in getScanResults() method in ScanRequestProxy
DWifiNative.java1306 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/
DWificondScannerImpl.java376 mNativeScanResults = mWifiNative.getScanResults(mIfaceName); in pollLatestScanData()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisionerTest.java457 when(mWifiManager.getScanResults()).thenReturn(null); in verifyOsuProviderNotFoundForProvisioning()
497 when(mWifiManager.getScanResults()).thenReturn(scanResults); in verifySelectBestOsuProviderForProvisioning()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceDiscoveryService.java488 List<android.net.wifi.ScanResult> scanResults = mWifiManager.getScanResults(); in onReceive()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java257 List<ScanResult> scanResults = mWifiManager.getScanResults(); in startProvisioning()

12