Searched refs:scoreCache (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | NetworkScoreManager.java | 389 public void registerNetworkScoreCache(int networkType, INetworkScoreCache scoreCache) { in registerNetworkScoreCache() argument 390 registerNetworkScoreCache(networkType, scoreCache, CACHE_FILTER_NONE); in registerNetworkScoreCache() 405 public void registerNetworkScoreCache(int networkType, INetworkScoreCache scoreCache, in registerNetworkScoreCache() argument 408 mService.registerNetworkScoreCache(networkType, scoreCache, filterType); in registerNetworkScoreCache() 425 public void unregisterNetworkScoreCache(int networkType, INetworkScoreCache scoreCache) { in unregisterNetworkScoreCache() argument 427 mService.unregisterNetworkScoreCache(networkType, scoreCache); in unregisterNetworkScoreCache()
|
D | INetworkScoreService.aidl | 68 void registerNetworkScoreCache(int networkType, INetworkScoreCache scoreCache, int filterType); in registerNetworkScoreCache() argument 78 void unregisterNetworkScoreCache(int networkType, INetworkScoreCache scoreCache); in unregisterNetworkScoreCache() argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPoint.java | 522 WifiNetworkScoreCache scoreCache, in update() argument 527 scoreChanged = updateScores(scoreCache, maxScoreCacheAgeMillis); in update() 529 return updateMetered(scoreCache) || scoreChanged; in update() 546 private boolean updateScores(WifiNetworkScoreCache scoreCache, long maxScoreCacheAgeMillis) { in updateScores() argument 550 ScoredNetwork score = scoreCache.getScoredNetwork(result); in updateScores() 626 private boolean updateMetered(WifiNetworkScoreCache scoreCache) { in updateMetered() argument 632 ScoredNetwork score = scoreCache.getScoredNetwork(key); in updateMetered() 639 ScoredNetwork score = scoreCache.getScoredNetwork(result); in updateMetered()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSelectorTestUtil.java | 339 public static void configureScoreCache(WifiNetworkScoreCache scoreCache, in configureScoreCache() argument 368 scoreCache.updateScores(networks); in configureScoreCache()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkScoreService.java | 830 INetworkScoreCache scoreCache, in registerNetworkScoreCache() argument 841 if (!callbackList.register(scoreCache, filterType)) { in registerNetworkScoreCache() 856 public void unregisterNetworkScoreCache(int networkType, INetworkScoreCache scoreCache) { in unregisterNetworkScoreCache() argument 862 if (callbackList == null || !callbackList.unregister(scoreCache)) { in unregisterNetworkScoreCache()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | WifiTrackerTest.java | 408 WifiNetworkScoreCache scoreCache = mScoreCacheCaptor.getValue(); in sendUpdatedScores() local 409 scoreCache.updateScores(Arrays.asList(sc1, sc2)); in sendUpdatedScores() 471 WifiNetworkScoreCache scoreCache = mScoreCacheCaptor.getValue(); in startAndStopTrackingShouldRegisterAndUnregisterScoreCache() local 479 .unregisterNetworkScoreCache(NetworkKey.TYPE_WIFI, scoreCache); in startAndStopTrackingShouldRegisterAndUnregisterScoreCache() 486 .unregisterNetworkScoreCache(NetworkKey.TYPE_WIFI, scoreCache); in startAndStopTrackingShouldRegisterAndUnregisterScoreCache()
|