Home
last modified time | relevance | path

Searched refs:mNetworkScoreManager (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java43 private final NetworkScoreManager mNetworkScoreManager; field in WifiStatusTracker
84 mNetworkScoreManager = networkScoreManager; in WifiStatusTracker()
91 mNetworkScoreManager.registerNetworkScoreCache(NetworkKey.TYPE_WIFI, in setListening()
97 mNetworkScoreManager.unregisterNetworkScoreCache(NetworkKey.TYPE_WIFI, in setListening()
151 mNetworkScoreManager.requestScores(new NetworkKey[]{ networkKey }); in maybeRequestNetworkScore()
DWifiTracker.java161 private final NetworkScoreManager mNetworkScoreManager; field in WifiTracker
237 mNetworkScoreManager = networkScoreManager; in WifiTracker()
359 mNetworkScoreManager.registerNetworkScoreCache( in registerScoreCache()
371 mNetworkScoreManager.requestScores(keys.toArray(new NetworkKey[keys.size()])); in requestScoresForNetworkKeys()
402 mNetworkScoreManager.unregisterNetworkScoreCache(NetworkKey.TYPE_WIFI, mScoreCache); in unregisterScoreCache()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScoredNetworkEvaluatorTest.java73 @Mock private NetworkScoreManager mNetworkScoreManager; field in ScoredNetworkEvaluatorTest
98 Looper.getMainLooper(), mFrameworkFacade, mNetworkScoreManager, in setUp()
104 reset(mNetworkScoreManager); in setUp()
105 when(mNetworkScoreManager.getActiveScorer()) in setUp()
107 when(mNetworkScoreManager.getActiveScorerPackage()) in setUp()
139 verifyZeroInteractions(mNetworkScoreManager); in testUpdate_recommendationsDisabled()
157 verifyZeroInteractions(mNetworkScoreManager); in testUpdate_emptyScanList()
175 verify(mNetworkScoreManager).requestScores(mNetworkKeyArrayCaptor.capture()); in testUpdate_allNetworksUnscored()
206 verify(mNetworkScoreManager).requestScores(mNetworkKeyArrayCaptor.capture()); in testUpdate_oneScored_oneUnscored()
226 verifyZeroInteractions(mWifiConfigManager, mNetworkScoreManager); in testEvaluateNetworks_recommendationsDisabled()
[all …]
DWifiConnectivityManagerTest.java135 @Mock private NetworkScoreManager mNetworkScoreManager; field in WifiConnectivityManagerTest
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScoredNetworkEvaluator.java52 private final NetworkScoreManager mNetworkScoreManager; field in ScoredNetworkEvaluator
67 mNetworkScoreManager = networkScoreManager; in ScoredNetworkEvaluator()
109 mNetworkScoreManager.requestScores(unscoredNetworkKeys); in updateNetworkScoreCache()
114 NetworkScorerAppData networkScorerAppData = mNetworkScoreManager.getActiveScorer(); in activeScorerAllowedtoSeeScanResults()
115 String packageName = mNetworkScoreManager.getActiveScorerPackage(); in activeScorerAllowedtoSeeScanResults()
DWifiInjector.java131 private final NetworkScoreManager mNetworkScoreManager; field in WifiInjector
175 mNetworkScoreManager = mContext.getSystemService(NetworkScoreManager.class); in WifiInjector()
177 mNetworkScoreManager.registerNetworkScoreCache(NetworkKey.TYPE_WIFI, in WifiInjector()
277 mFrameworkFacade, mNetworkScoreManager, mWifiConfigManager, mConnectivityLocalLog, in WifiInjector()