Searched refs:mNetworkScoreManager (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 44 private final NetworkScoreManager mNetworkScoreManager; field in WifiStatusTracker 85 mNetworkScoreManager = networkScoreManager; in WifiStatusTracker() 92 mNetworkScoreManager.registerNetworkScoreCache(NetworkKey.TYPE_WIFI, in setListening() 98 mNetworkScoreManager.unregisterNetworkScoreCache(NetworkKey.TYPE_WIFI, in setListening() 152 mNetworkScoreManager.requestScores(new NetworkKey[]{ networkKey }); in maybeRequestNetworkScore()
|
D | WifiTracker.java | 163 private final NetworkScoreManager mNetworkScoreManager; field in WifiTracker 239 mNetworkScoreManager = networkScoreManager; in WifiTracker() 361 mNetworkScoreManager.registerNetworkScoreCache( in registerScoreCache() 373 mNetworkScoreManager.requestScores(keys.toArray(new NetworkKey[keys.size()])); in requestScoresForNetworkKeys() 404 mNetworkScoreManager.unregisterNetworkScoreCache(NetworkKey.TYPE_WIFI, mScoreCache); in unregisterScoreCache()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScoredNetworkEvaluatorTest.java | 73 @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 …]
|
D | WifiConnectivityManagerTest.java | 139 @Mock private NetworkScoreManager mNetworkScoreManager; field in WifiConnectivityManagerTest
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScoredNetworkEvaluator.java | 52 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()
|
D | WifiInjector.java | 133 private final NetworkScoreManager mNetworkScoreManager; field in WifiInjector 183 mNetworkScoreManager = mContext.getSystemService(NetworkScoreManager.class); in WifiInjector() 185 mNetworkScoreManager.registerNetworkScoreCache(NetworkKey.TYPE_WIFI, in WifiInjector() 285 mFrameworkFacade, mNetworkScoreManager, mWifiConfigManager, mConnectivityLocalLog, in WifiInjector()
|