/frameworks/base/core/java/android/net/ |
D | NetworkScoreManager.java | 433 public void registerNetworkScoreCache(int networkType, INetworkScoreCache scoreCache) { in registerNetworkScoreCache() argument 434 registerNetworkScoreCache(networkType, scoreCache, SCORE_FILTER_NONE); in registerNetworkScoreCache() 449 public void registerNetworkScoreCache(int networkType, INetworkScoreCache scoreCache, in registerNetworkScoreCache() argument 452 mService.registerNetworkScoreCache(networkType, scoreCache, filterType); in registerNetworkScoreCache() 469 public void unregisterNetworkScoreCache(int networkType, INetworkScoreCache scoreCache) { in unregisterNetworkScoreCache() argument 471 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/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | NetworkRequestEntry.java | 46 @NonNull WifiNetworkScoreCache scoreCache, in NetworkRequestEntry() argument 48 super(context, callbackHandler, key, wifiManager, scoreCache, forSavedNetworksPage); in NetworkRequestEntry()
|
D | StandardWifiEntry.java | 133 @NonNull WifiNetworkScoreCache scoreCache, in StandardWifiEntry() argument 135 this(context, callbackHandler, key, wifiManager, scoreCache, in StandardWifiEntry() 149 @NonNull WifiNetworkScoreCache scoreCache, in StandardWifiEntry() argument 151 this(context, callbackHandler, key, wifiManager, scoreCache, in StandardWifiEntry() 162 @NonNull WifiNetworkScoreCache scoreCache, in StandardWifiEntry() argument 164 super(callbackHandler, wifiManager, scoreCache, forSavedNetworksPage); in StandardWifiEntry()
|
D | PasspointWifiEntry.java | 101 @NonNull WifiNetworkScoreCache scoreCache, in PasspointWifiEntry() argument 103 super(callbackHandler, wifiManager, scoreCache, forSavedNetworksPage); in PasspointWifiEntry() 125 @NonNull WifiNetworkScoreCache scoreCache, in PasspointWifiEntry() argument 127 super(callbackHandler, wifiManager, scoreCache, forSavedNetworksPage); in PasspointWifiEntry()
|
D | OsuWifiEntry.java | 72 @NonNull WifiNetworkScoreCache scoreCache, in OsuWifiEntry() argument 74 super(callbackHandler, wifiManager, scoreCache, forSavedNetworksPage); in OsuWifiEntry()
|
D | Utils.java | 323 static int getAverageSpeedFromScanResults(@NonNull WifiNetworkScoreCache scoreCache, in getAverageSpeedFromScanResults() argument 328 ScoredNetwork scoredNetwork = scoreCache.getScoredNetwork(scanResult); in getAverageSpeedFromScanResults() 346 static int getSpeedFromWifiInfo(@NonNull WifiNetworkScoreCache scoreCache, in getSpeedFromWifiInfo() argument 348 ScoredNetwork scoredNetwork = scoreCache.getScoredNetwork( in getSpeedFromWifiInfo()
|
D | WifiEntry.java | 227 @NonNull WifiNetworkScoreCache scoreCache, in WifiEntry() argument 234 mScoreCache = scoreCache; in WifiEntry()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPoint.java | 551 WifiNetworkScoreCache scoreCache, in update() argument 556 scoreChanged = updateScores(scoreCache, maxScoreCacheAgeMillis); in update() 558 return updateMetered(scoreCache) || scoreChanged; in update() 575 private boolean updateScores(WifiNetworkScoreCache scoreCache, long maxScoreCacheAgeMillis) { in updateScores() argument 579 ScoredNetwork score = scoreCache.getScoredNetwork(result); in updateScores() 655 private boolean updateMetered(WifiNetworkScoreCache scoreCache) { in updateMetered() argument 661 ScoredNetwork score = scoreCache.getScoredNetwork(key); in updateMetered() 668 ScoredNetwork score = scoreCache.getScoredNetwork(result); in updateMetered()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkScoreService.java | 816 INetworkScoreCache scoreCache, in registerNetworkScoreCache() argument 827 if (!callbackList.register(scoreCache, filterType)) { in registerNetworkScoreCache() 842 public void unregisterNetworkScoreCache(int networkType, INetworkScoreCache scoreCache) { in unregisterNetworkScoreCache() argument 848 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()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSelectorTestUtil.java | 439 public static void configureScoreCache(WifiNetworkScoreCache scoreCache, in configureScoreCache() argument 468 scoreCache.onScoresUpdated(networks); in configureScoreCache()
|