/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | ScanResultUpdaterTest.java | 64 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()
|
D | StandardNetworkDetailsTrackerTest.java | 120 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()
|
D | WifiPickerTrackerTest.java | 167 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 …]
|
D | SavedNetworkTrackerTest.java | 131 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()
|
D | NetworkDetailsTrackerTest.java | 89 when(mMockWifiManager.getScanResults()).thenReturn(new ArrayList<>()); in setUp()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | ScanResultUpdater.java | 80 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
|
D | StandardNetworkDetailsTracker.java | 172 mScanResultUpdater.update(mWifiManager.getScanResults()); in conditionallyUpdateScanResults() 178 mChosenEntry.updateScanResultInfo(mScanResultUpdater.getScanResults(scanAgeWindow).stream() in conditionallyUpdateScanResults()
|
D | SavedNetworkTracker.java | 244 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()
|
D | PasspointNetworkDetailsTracker.java | 267 List<ScanResult> currentScans = mScanResultUpdater.getScanResults(scanAgeWindow); in conditionallyUpdateScanResults() 287 mScanResultUpdater.update(mWifiManager.getScanResults()); in cacheNewScanResults()
|
D | WifiPickerTracker.java | 297 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()
|
D | OsuWifiEntry.java | 289 mWifiManager.getAllMatchingWifiConfigs(mWifiManager.getScanResults())) { in onProvisioningComplete()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 569 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/ |
D | WifiTrackerTest.java | 183 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/ |
D | simulate_wifi.py | 156 for scan in getScanResults(): 801 def getScanResults() -> str: function
|
/frameworks/base/wifi/java/src/android/net/wifi/ |
D | WifiNetworkScoreCache.java | 261 for (ScanResult scanResult : wifiManager.getScanResults()) { in dump()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiUtilsTest.java | 109 doReturn(set).when(mAccessPoint).getScanResults(); in testGetVisibilityStatus_nullResultDoesNotCrash()
|
/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 | 117 mLastScanResult = mWifiManager.getScanResults(); in onReceive()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | CompanionDeviceDiscoveryService.java | 474 final List<android.net.wifi.ScanResult> scanResults = mWifiManager.getScanResults(); in onReceive()
|
/frameworks/base/wifi/java/src/android/net/wifi/nl80211/ |
D | WifiNl80211Manager.java | 1012 @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/ |
D | WifiUtils.kt | 250 for (result in accessPoint.getScanResults()) { in <lambda>()
|
D | AccessPoint.java | 915 public Set<ScanResult> getScanResults() { in getScanResults() method in AccessPoint 1990 wifiManager.getAllMatchingWifiConfigs(wifiManager.getScanResults())) { in onProvisioningComplete()
|
D | WifiTracker.java | 544 List<ScanResult> newScanResults = mWifiManager.getScanResults(); in fetchScansAndConfigsAndUpdateAccessPoints()
|
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/ |
D | WifiNl80211ManagerTest.java | 504 mWificondControl.getScanResults(TEST_INTERFACE_NAME, in testGetScanResultsErrorWhenNoClientInterfaceConfigured()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkControllerImpl.java | 369 for (ScanResult scanResult : mWifiManager.getScanResults()) { in NetworkControllerImpl()
|