Home
last modified time | relevance | path

Searched refs:getScoredNetwork (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkScoreCache.java131 return getScoredNetwork(result) != null; in isScoredNetwork()
141 ScoredNetwork network = getScoredNetwork(result); in hasScoreCurve()
148 ScoredNetwork network = getScoredNetwork(result); in getNetworkScore()
166 ScoredNetwork network = getScoredNetwork(result); in getMeteredHint()
173 ScoredNetwork network = getScoredNetwork(result); in getNetworkScore()
187 public ScoredNetwork getScoredNetwork(ScanResult result) { in getScoredNetwork() method in WifiNetworkScoreCache
199 public ScoredNetwork getScoredNetwork(NetworkKey networkKey) { in getScoredNetwork() method in WifiNetworkScoreCache
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java337 when(mockWifiNetworkScoreCache.getScoredNetwork(any(ScanResult.class)))
369 when(mockWifiNetworkScoreCache.getScoredNetwork(any(ScanResult.class)))
385 when(mockWifiNetworkScoreCache.getScoredNetwork(any(ScanResult.class)))
401 when(mockWifiNetworkScoreCache.getScoredNetwork(any(ScanResult.class)))
417 when(mockWifiNetworkScoreCache.getScoredNetwork(any(ScanResult.class)))
433 when(mockWifiNetworkScoreCache.getScoredNetwork(any(ScanResult.class)))
448 when(mockWifiNetworkScoreCache.getScoredNetwork(any(ScanResult.class)))
1026 when(mockWifiNetworkScoreCache.getScoredNetwork(mScanResults.get(0))) in testSpeedLabelAveragesAllBssidScores()
1031 when(mockWifiNetworkScoreCache.getScoredNetwork(mScanResults.get(1))) in testSpeedLabelAveragesAllBssidScores()
1049 when(mockWifiNetworkScoreCache.getScoredNetwork(mScanResults.get(0))) in testSpeedLabelAverageIgnoresNoSpeedScores()
[all …]
DWifiTrackerTest.java546 assertThat(mScoreCacheCaptor.getValue().getScoredNetwork(NETWORK_KEY_1)).isNotNull(); in stopTracking_shouldNotClearExistingScores()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java150 if (mWifiNetworkScoreCache.getScoredNetwork(networkKey) == null) { in maybeRequestNetworkScore()
172 mWifiNetworkScoreCache.getScoredNetwork(NetworkKey.createFromWifiInfo(mWifiInfo)); in updateStatusLabel()
DAccessPoint.java550 ScoredNetwork score = scoreCache.getScoredNetwork(result); in updateScores()
632 ScoredNetwork score = scoreCache.getScoredNetwork(key); in updateMetered()
639 ScoredNetwork score = scoreCache.getScoredNetwork(result); in updateMetered()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiUtilsTest.java85 when(mockWifiNetworkScoreCache.getScoredNetwork(any(ScanResult.class))) in testVerboseSummaryString_showsScanResultSpeedLabel()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScoredNetworkEvaluator.java99 if (mScoreCache.getScoredNetwork(networkKey) == null) { in updateNetworkScoreCache()