Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanRequestProxyTest.java341 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanSuccess()
361 assertTrue(mScanRequestProxy.getScanResults().isEmpty()); in testScanFailure()
382 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanSuccessOverwritesPreviousResults()
395 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanSuccessOverwritesPreviousResults()
417 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanFailureDoesNotOverwritePreviousResults()
430 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testScanFailureDoesNotOverwritePreviousResults()
453 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanSucceeds()
467 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanSucceeds()
491 assertTrue(mScanRequestProxy.getScanResults().isEmpty()); in testNewScanRequestAfterPreviousScanSucceedsWithInvalidScanDatas()
504 mScanRequestProxy.getScanResults().stream().toArray(ScanResult[]::new)); in testNewScanRequestAfterPreviousScanSucceedsWithInvalidScanDatas()
[all …]
DWifiNativeTest.java853 when(mWificondControl.getScanResults(anyString(), anyInt())).thenReturn(mockScanResults); in testGetScanResults()
855 ArrayList<ScanDetail> returnedScanResults = mWifiNative.getScanResults(WIFI_IFACE_NAME); in testGetScanResults()
883 when(mWificondControl.getScanResults(anyString(), anyInt())).thenReturn(mockScanResults); in testGetScanResultsWithRadioChainInfo()
885 ArrayList<ScanDetail> returnedScanResults = mWifiNative.getScanResults(WIFI_IFACE_NAME); in testGetScanResultsWithRadioChainInfo()
DWifiServiceImplTest.java2653 when(mScanRequestProxy.getScanResults()).thenReturn(scanResultList); in testGetScanResults()
2658 List<ScanResult> retrievedScanResultList = mWifiServiceImpl.getScanResults(packageName, in testGetScanResults()
2661 verify(mScanRequestProxy).getScanResults(); in testGetScanResults()
2679 when(mScanRequestProxy.getScanResults()).thenReturn(scanResultList); in testGetScanResultsFailureInRunWithScissors()
2684 List<ScanResult> retrievedScanResultList = mWifiServiceImpl.getScanResults(packageName, in testGetScanResultsFailureInRunWithScissors()
2687 verify(mScanRequestProxy, never()).getScanResults(); in testGetScanResultsFailureInRunWithScissors()
2703 when(mScanRequestProxy.getScanResults()).thenReturn(scanResultList); in testGetMatchingScanResultsWithoutSpecifiedScanResults()
2772 when(mScanRequestProxy.getScanResults()).thenReturn(scanResultList); in testGetMatchingScanResultsFailureInRunWithScissors()
DDppManagerTest.java831 when(mScanRequestProxy.getScanResults()).thenReturn(scanResults); in addTestNetworkInScanResult()
/packages/apps/Settings/tests/unit/src/com/android/settings/panel/
DInternetConnectivityPanelTest.java280 doReturn(noWifiScanResults).when(mWifiManager).getScanResults(); in updateProgressBar_noWifiScanResults_showProgressForever()
302 doReturn(hasWifiScanResults).when(mWifiManager).getScanResults(); in updateProgressBar_hasWifiScanResults_showProgressDelayedHide()
339 doReturn(wifiItems).when(mWifiManager).getScanResults(); in mockCondition()
/packages/apps/Settings/src/com/android/settings/panel/
DInternetConnectivityPanel.java333 final List<ScanResult> wifiList = mWifiManager.getScanResults(); in updateSubtitleText()
384 List<ScanResult> wifiScanResults = mWifiManager.getScanResults(); in updateProgressBar()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowWifiManager.java86 protected List<ScanResult> getScanResults() { in getScanResults() method in ShadowWifiManager
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DBaseWifiScannerImplTest.java473 when(mWifiNative.getScanResults(eq(IFACE_NAME))).thenReturn(rawResults); in singleScanWhereSupplicantReturnsSomeOldResults()
538 when(mWifiNative.getScanResults( in expectSuccessfulSingleScan()
DWificondPnoScannerTest.java243 when(mWifiNative.getScanResults(IFACE_NAME)) in expectSuccessfulHwDisconnectedPnoScan()
DWificondScannerTest.java253 when(mWifiNative.getScanResults(eq(IFACE_NAME))).thenReturn(rawScanResults); in testDumpWithCorrectFormatWithScanResult()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectWifiState.java162 mNetworkListInfo.getWifiTracker().getManager().getScanResults(); in getNetworks()
/packages/modules/Wifi/framework/java/android/net/wifi/
DIWifiManager.aidl112 List<ScanResult> getScanResults(String callingPackage, String callingFeatureId); in getScanResults() method
DWifiScanner.java1191 public boolean getScanResults() { in getScanResults() method in WifiScanner
DWifiManager.java3235 public List<ScanResult> getScanResults() { in getScanResults() method in WifiManager
3237 return mService.getScanResults(mContext.getOpPackageName(), in getScanResults()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisionerTest.java453 when(mWifiManager.getScanResults()).thenReturn(null); in verifyOsuProviderNotFoundForProvisioning()
493 when(mWifiManager.getScanResults()).thenReturn(scanResults); in verifySelectBestOsuProviderForProvisioning()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiStatusTest.java267 List<ScanResult> list = mWifiManager.getScanResults(); in handleScanResultsAvailable()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java365 mNativeScanResults = mWifiNative.getScanResults(getIfaceName()); in pollLatestScanData()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DScanRequestProxy.java506 public List<ScanResult> getScanResults() { in getScanResults() method in ScanRequestProxy
DBaseWifiService.java215 public List<ScanResult> getScanResults(String callingPackage, String callingFeatureId) { in getScanResults() method in BaseWifiService
DWifiNative.java1614 public ArrayList<ScanDetail> getScanResults(@NonNull String ifaceName) { in getScanResults() method in WifiNative
1631 return convertNativeScanResults(ifaceName, mWifiCondManager.getScanResults( in getScanResults()
1682 return convertNativeScanResults(ifaceName, mWifiCondManager.getScanResults(ifaceName, in getPnoScanResults()
DWifiShellCommand.java561 mWifiService.getScanResults(SHELL_PACKAGE_NAME, null); in onCommand()
1254 mWifiService.getScanResults(SHELL_PACKAGE_NAME, null) in buildNetworkRequest()
DDppManager.java775 for (ScanResult scanResult : mScanRequestProxy.getScanResults()) { in isEnrolleeCompatibleWithNetwork()
DWifiServiceImpl.java3207 public List<ScanResult> getScanResults(String callingPackage, String callingFeatureId) { in getScanResults() method in WifiServiceImpl
3218 mScanRequestProxy::getScanResults, Collections.emptyList()); in getScanResults()
3252 networkSuggestions, mScanRequestProxy.getScanResults()); in getMatchingScanResults()
3875 fd, pw, args, mScanRequestProxy.getScanResults());
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java288 scanResultsFuture.complete(mWifiManager.getScanResults()); in getWifiScanResults()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java260 List<ScanResult> scanResults = mWifiManager.getScanResults(); in startProvisioning()

12