/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 | 108 when(mMockWifiManager.getScanResults()).thenReturn(new ArrayList<>()); in setUp() 140 when(mMockWifiManager.getScanResults()).thenReturn(Collections.singletonList(other)); in testHandleOnStart_scanResultUpdaterUpdateCorrectly() 145 final long invalidCount = tracker.mScanResultUpdater.getScanResults().stream().filter( in testHandleOnStart_scanResultUpdaterUpdateCorrectly() 171 when(mMockWifiManager.getScanResults()).thenReturn(Collections.singletonList(scan)); in testScanResultsAvailableAction_updates_getLevel() 180 when(mMockWifiManager.getScanResults()).thenReturn(Collections.emptyList()); in testScanResultsAvailableAction_updates_getLevel() 238 when(mMockWifiManager.getScanResults()).thenReturn(Collections.singletonList(scan)); in testWifiStateChanged_disabled_clearsLevel() 268 when(mMockWifiManager.getScanResults()).thenReturn(Collections.singletonList(scan)); in testSecurityTargeting_pskScansWithSaeConfig_correspondsToNewNetworkTargeting()
|
D | WifiPickerTrackerTest.java | 144 when(mMockWifiManager.getScanResults()).thenReturn(new ArrayList<>()); in setUp() 275 when(mMockWifiManager.getScanResults()).thenReturn(new ArrayList<>()); in testGetWifiEntries_noScans_emptyList() 300 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetWifiEntries_wifiNetworkEntries_createdForEachSsidAndSecurityPair() 329 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetWifiEntries_wifiNetworkEntries_oldEntriesTimedOut() 366 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetWifiEntries_wifiNetworkEntries_useOldEntriesOnFailedScan() 401 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetWifiEntries_differentSsidSameBssid_returnsDifferentEntries() 434 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetWifiEntries_configuredNetworksChanged_unsavedToSaved() 470 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetWifiEntries_configuredNetworksChanged_savedToUnsaved() 520 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetConnectedEntry_connectToNetwork_returnsConnectedEntry() 551 when(mMockWifiManager.getScanResults()).thenReturn(Arrays.asList( in testGetConnectedEntry_disconnectFromNetwork_returnsNull() [all …]
|
D | NetworkDetailsTrackerTest.java | 89 when(mMockWifiManager.getScanResults()).thenReturn(new ArrayList<>()); in setUp()
|
D | SavedNetworkTrackerTest.java | 107 when(mMockWifiManager.getScanResults()).thenReturn(new ArrayList<>()); in setUp() 307 when(mMockWifiManager.getScanResults()).thenReturn(Collections.singletonList( in testGetSavedWifiEntries_scanResultsAvailableAction_changesLevel() 415 when(mMockWifiManager.getScanResults()).thenReturn(scanList); in testGetSavedNetworks_mismatchedScans_returnsCorrectEntries()
|
/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 | 158 mChosenEntry.updateScanResultInfo(mScanResultUpdater.getScanResults(scanAgeWindow)); in conditionallyUpdateScanResults() 176 mScanResultUpdater.update(mWifiManager.getScanResults().stream() in cacheNewScanResults()
|
D | SavedNetworkTracker.java | 260 mScanResultUpdater.update(mWifiManager.getScanResults()); in conditionallyUpdateScanResults() 266 updateStandardWifiEntryScans(mScanResultUpdater.getScanResults(scanAgeWindow)); in conditionallyUpdateScanResults() 267 updatePasspointWifiEntryScans(mScanResultUpdater.getScanResults(scanAgeWindow)); in conditionallyUpdateScanResults()
|
D | PasspointNetworkDetailsTracker.java | 240 List<ScanResult> currentScans = mScanResultUpdater.getScanResults(scanAgeWindow); in conditionallyUpdateScanResults() 260 mScanResultUpdater.update(mWifiManager.getScanResults()); in cacheNewScanResults()
|
D | WifiPickerTracker.java | 208 mScanResultUpdater.update(mWifiManager.getScanResults()); in handleOnStart() 259 final List<ScanResult> scanResults = mScanResultUpdater.getScanResults(); in processConfiguredNetworksChanged() 663 mScanResultUpdater.update(mWifiManager.getScanResults()); in conditionallyUpdateScanResults() 670 List<ScanResult> scanResults = mScanResultUpdater.getScanResults(scanAgeWindow); in conditionallyUpdateScanResults()
|
D | OsuWifiEntry.java | 268 mWifiManager.getAllMatchingWifiConfigs(mWifiManager.getScanResults())) { in onProvisioningComplete()
|
D | BaseWifiTracker.java | 122 mNetworkScoreManager.requestScores(mWifiManager.getScanResults().stream()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 568 List<ScanResult> netList = mWifiManager.getScanResults(); in connectToWifiWithConfiguration() 609 if ((mWifiManager.getScanResults() == null) || in connectToWifiWithConfiguration() 610 (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/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/src/android/net/wifi/ |
D | WifiNetworkScoreCache.java | 261 for (ScanResult scanResult : wifiManager.getScanResults()) { in dump()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiUtils.java | 144 for (ScanResult result : accessPoint.getScanResults()) { in getVisibilityStatus()
|
D | AccessPoint.java | 915 public Set<ScanResult> getScanResults() { in getScanResults() method in AccessPoint 1990 wifiManager.getAllMatchingWifiConfigs(wifiManager.getScanResults())) { in onProvisioningComplete()
|
D | WifiTracker.java | 543 List<ScanResult> newScanResults = mWifiManager.getScanResults(); in fetchScansAndConfigsAndUpdateAccessPoints()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 117 mLastScanResult = mWifiManager.getScanResults(); in onReceive()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerService.java | 391 List<ScanResult> wifiScanResults = wifiManager.getScanResults(); in onReceive()
|
/frameworks/base/wifi/java/src/android/net/wifi/nl80211/ |
D | WifiNl80211Manager.java | 936 @NonNull public List<NativeScanResult> getScanResults(@NonNull String ifaceName, in getScanResults() method in WifiNl80211Manager 946 results = Arrays.asList(scannerImpl.getScanResults()); in getScanResults()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | CompanionDeviceDiscoveryService.java | 453 List<android.net.wifi.ScanResult> scanResults = mWifiManager.getScanResults(); in onReceive()
|
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/ |
D | WifiNl80211ManagerTest.java | 503 mWificondControl.getScanResults(TEST_INTERFACE_NAME, in testGetScanResultsErrorWhenNoClientInterfaceConfigured()
|