Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DScanResultUpdaterTest.java64 assertThat(sru.getScanResults()).containsExactly(oldResult); in testGetScanResults_mergeSameBssid()
68 assertThat(sru.getScanResults()).containsExactly(newResult); in testGetScanResults_mergeSameBssid()
72 assertThat(sru.getScanResults()).containsExactly(newResult); in testGetScanResults_mergeSameBssid()
90 assertThat(sru.getScanResults(maxScanAge)).containsExactly(newResult); in testGetScanResults_filtersOldScans()
101 sru.getScanResults(20_000); in testGetScanResults_invalidMaxScanAgeMillis_throwsException()
121 List<ScanResult> scanResults = sru.getScanResults(); in testConstructor_maxScanAge_filtersOldScans()
141 List<ScanResult> scanResults = sru.getScanResults(11_000); in testGetScanResults_overridesConstructorMaxScanAge()
145 scanResults = sru.getScanResults(); in testGetScanResults_overridesConstructorMaxScanAge()
DStandardNetworkDetailsTrackerTest.java120 when(mMockWifiManager.getScanResults()).thenReturn(new ArrayList<>()); in setUp()
196 when(mMockWifiManager.getScanResults()).thenReturn(Collections.singletonList(scan)); in testScanResultsAvailableAction_updates_getLevel()
205 when(mMockWifiManager.getScanResults()).thenReturn(Collections.emptyList()); in testScanResultsAvailableAction_updates_getLevel()
263 when(mMockWifiManager.getScanResults()).thenReturn(Collections.singletonList(scan)); in testWifiStateChanged_disabled_clearsLevel()
293 when(mMockWifiManager.getScanResults()).thenReturn(Collections.singletonList(scan)); in testSecurityTargeting_pskScansWithSaeConfig_correspondsToNewNetworkTargeting()
DWifiPickerTrackerTest.java167 when(mMockWifiManager.getScanResults()).thenReturn(new ArrayList<>()); in setUp()
324 when(mMockWifiManager.getScanResults()).thenReturn(new ArrayList<>()); in testGetWifiEntries_noScans_emptyList()
350 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetWifiEntries_wifiNetworkEntries_createdForEachSsidAndSecurityPair()
380 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetWifiEntries_wifiNetworkEntries_oldEntriesTimedOut()
418 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetWifiEntries_wifiNetworkEntries_useOldEntriesOnFailedScan()
454 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetWifiEntries_differentSsidSameBssid_returnsDifferentEntries()
488 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetWifiEntries_configuredNetworksChanged_unsavedToSaved()
523 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetWifiEntries_configuredNetworksChanged_savedToUnsaved()
551 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetWifiEntries_configuredNetworksChangedWifiDisabled_doesntUpdateEntries()
603 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetConnectedEntry_connectToNetwork_returnsConnectedEntry()
[all …]
DSavedNetworkTrackerTest.java131 when(mMockWifiManager.getScanResults()).thenReturn(new ArrayList<>()); in setUp()
331 when(mMockWifiManager.getScanResults()).thenReturn(Collections.singletonList( in testGetSavedWifiEntries_scanResultsAvailableAction_changesLevel()
438 when(mMockWifiManager.getScanResults()).thenReturn(scanList); in testGetSavedNetworks_mismatchedScans_returnsCorrectEntries()
503 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testDisconnectedEntry_connectToNetwork_becomesConnected()
533 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testConnectedEntry_disconnectFromNetwork_becomesDisconnected()
562 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetConnectedEntry_disconnectFromNetworkWhileStopped_becomesDisconnected()
676 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testCertificateRequired()
703 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges()
DNetworkDetailsTrackerTest.java89 when(mMockWifiManager.getScanResults()).thenReturn(new ArrayList<>()); in setUp()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DScanResultUpdater.java80 public List<ScanResult> getScanResults() { in getScanResults() method in ScanResultUpdater
81 return getScanResults(mMaxScanAgeMillis); in getScanResults()
89 public List<ScanResult> getScanResults(long maxScanAgeMillis) throws IllegalArgumentException { in getScanResults() method in ScanResultUpdater
DStandardNetworkDetailsTracker.java172 mScanResultUpdater.update(mWifiManager.getScanResults()); in conditionallyUpdateScanResults()
178 mChosenEntry.updateScanResultInfo(mScanResultUpdater.getScanResults(scanAgeWindow).stream() in conditionallyUpdateScanResults()
DSavedNetworkTracker.java244 mScanResultUpdater.update(mWifiManager.getScanResults()); in handleOnStart()
441 mScanResultUpdater.update(mWifiManager.getScanResults()); in conditionallyUpdateScanResults()
447 updateStandardWifiEntryScans(mScanResultUpdater.getScanResults(scanAgeWindow)); in conditionallyUpdateScanResults()
448 updatePasspointWifiEntryScans(mScanResultUpdater.getScanResults(scanAgeWindow)); in conditionallyUpdateScanResults()
DPasspointNetworkDetailsTracker.java267 List<ScanResult> currentScans = mScanResultUpdater.getScanResults(scanAgeWindow); in conditionallyUpdateScanResults()
287 mScanResultUpdater.update(mWifiManager.getScanResults()); in cacheNewScanResults()
DWifiPickerTracker.java297 mScanResultUpdater.update(mWifiManager.getScanResults()); in handleOnStart()
457 updateKnownNetworkEntryScans(mScanResultUpdater.getScanResults()); in handleKnownNetworksUpdated()
520 updateKnownNetworkEntryScans(mScanResultUpdater.getScanResults()); in handleServiceConnected()
1093 mScanResultUpdater.update(mWifiManager.getScanResults()); in conditionallyUpdateScanResults()
1100 List<ScanResult> scanResults = mScanResultUpdater.getScanResults(scanAgeWindow); in conditionallyUpdateScanResults()
1170 updateSuggestedWifiEntryScans(mScanResultUpdater.getScanResults()); in updateWifiConfigurations()
1255 updateNetworkRequestEntryScans(mScanResultUpdater.getScanResults()); in conditionallyCreateConnectedNetworkRequestEntry()
DOsuWifiEntry.java289 mWifiManager.getAllMatchingWifiConfigs(mWifiManager.getScanResults())) { in onProvisioningComplete()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java569 List<ScanResult> netList = mWifiManager.getScanResults(); in connectToWifiWithConfiguration()
610 if ((mWifiManager.getScanResults() == null) || in connectToWifiWithConfiguration()
611 (mWifiManager.getScanResults().size() <= 0)) { in connectToWifiWithConfiguration()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java183 when(mockWifiManager.getScanResults()) in setUp()
683 when(mockWifiManager.getScanResults()) in scoresShouldBeRequestedForNewScanResultOnly()
739 when(mockWifiManager.getScanResults()).thenReturn(results); in trackPasspointApWithPasspointDisabled()
803 when(mockWifiManager.getScanResults()).thenReturn(new ArrayList<>()); in onStartShouldDisplayConnectedAccessPointWhenThereAreNoScanResults()
991 when(mockWifiManager.getScanResults()).thenReturn(Arrays.asList( in onStart_updateScanResults_evictOldScanResult()
1009 when(mockWifiManager.getScanResults()).thenReturn(Arrays.asList( in failedScan_increasesEvictionTimeout()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/
Dsimulate_wifi.py156 for scan in getScanResults():
801 def getScanResults() -> str: function
/frameworks/base/wifi/java/src/android/net/wifi/
DWifiNetworkScoreCache.java261 for (ScanResult scanResult : wifiManager.getScanResults()) { in dump()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiUtilsTest.java109 doReturn(set).when(mAccessPoint).getScanResults(); in testGetVisibilityStatus_nullResultDoesNotCrash()
/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.java117 mLastScanResult = mWifiManager.getScanResults(); in onReceive()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionDeviceDiscoveryService.java474 final List<android.net.wifi.ScanResult> scanResults = mWifiManager.getScanResults(); in onReceive()
/frameworks/base/wifi/java/src/android/net/wifi/nl80211/
DWifiNl80211Manager.java1012 @NonNull public List<NativeScanResult> getScanResults(@NonNull String ifaceName, in getScanResults() method in WifiNl80211Manager
1022 results = Arrays.asList(scannerImpl.getScanResults()); in getScanResults()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.kt250 for (result in accessPoint.getScanResults()) { in <lambda>()
DAccessPoint.java915 public Set<ScanResult> getScanResults() { in getScanResults() method in AccessPoint
1990 wifiManager.getAllMatchingWifiConfigs(wifiManager.getScanResults())) { in onProvisioningComplete()
DWifiTracker.java544 List<ScanResult> newScanResults = mWifiManager.getScanResults(); in fetchScansAndConfigsAndUpdateAccessPoints()
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DWifiNl80211ManagerTest.java504 mWificondControl.getScanResults(TEST_INTERFACE_NAME, in testGetScanResultsErrorWhenNoClientInterfaceConfigured()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerImpl.java369 for (ScanResult scanResult : mWifiManager.getScanResults()) { in NetworkControllerImpl()

12