Home
last modified time | relevance | path

Searched refs:WifiNetworkScoreCache (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java30 import android.net.wifi.WifiNetworkScoreCache;
41 private final WifiNetworkScoreCache mWifiNetworkScoreCache;
46 private final WifiNetworkScoreCache.CacheListener mCacheListener =
47 new WifiNetworkScoreCache.CacheListener(mHandler) {
83 mWifiNetworkScoreCache = new WifiNetworkScoreCache(context); in WifiStatusTracker()
DWifiTracker.java36 import android.net.wifi.WifiNetworkScoreCache;
37 import android.net.wifi.WifiNetworkScoreCache.CacheListener;
162 private WifiNetworkScoreCache mScoreCache;
257 mScoreCache = new WifiNetworkScoreCache(mContext, new CacheListener(mWorkHandler) { in setWorkThread()
DAccessPoint.java43 import android.net.wifi.WifiNetworkScoreCache;
522 WifiNetworkScoreCache scoreCache, in update()
546 private boolean updateScores(WifiNetworkScoreCache scoreCache, long maxScoreCacheAgeMillis) { in updateScores()
626 private boolean updateMetered(WifiNetworkScoreCache scoreCache) { in updateMetered()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkScoreCacheTest.java29 import android.net.wifi.WifiNetworkScoreCache.CacheListener;
75 private WifiNetworkScoreCache mScoreCache;
105 mScoreCache = new WifiNetworkScoreCache(mockContext); in setUp()
193 mScoreCache = new WifiNetworkScoreCache(mockContext, mCacheListener); in updateScoresShouldInvokeCacheListener_networkCacheUpdated()
208 mScoreCache = new WifiNetworkScoreCache(mockContext, mCacheListener, 2 /* maxCacheSize */); in leastRecentlyUsedScore_shouldBeEvictedFromCache()
/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkScoreCache.java43 public class WifiNetworkScoreCache extends INetworkScoreCache.Stub { class
68 public WifiNetworkScoreCache(Context context) { in WifiNetworkScoreCache() method in WifiNetworkScoreCache
78 public WifiNetworkScoreCache(Context context, @Nullable CacheListener listener) { in WifiNetworkScoreCache() method in WifiNetworkScoreCache
82 public WifiNetworkScoreCache( in WifiNetworkScoreCache() method in WifiNetworkScoreCache
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScoredNetworkEvaluator.java28 import android.net.wifi.WifiNetworkScoreCache;
58 private WifiNetworkScoreCache mScoreCache;
63 WifiNetworkScoreCache wifiNetworkScoreCache, in ScoredNetworkEvaluator()
198 private int mHighScore = WifiNetworkScoreCache.INVALID_NETWORK_SCORE;
DWifiInjector.java33 import android.net.wifi.WifiNetworkScoreCache;
130 private final WifiNetworkScoreCache mWifiNetworkScoreCache;
176 mWifiNetworkScoreCache = new WifiNetworkScoreCache(mContext); in WifiInjector()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiUtilsTest.java32 import android.net.wifi.WifiNetworkScoreCache;
63 private WifiNetworkScoreCache mockWifiNetworkScoreCache;
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java50 import android.net.wifi.WifiNetworkScoreCache;
147 @Captor ArgumentCaptor<WifiNetworkScoreCache> mScoreCacheCaptor;
408 WifiNetworkScoreCache scoreCache = mScoreCacheCaptor.getValue(); in sendUpdatedScores()
471 WifiNetworkScoreCache scoreCache = mScoreCacheCaptor.getValue(); in startAndStopTrackingShouldRegisterAndUnregisterScoreCache()
699 WifiNetworkScoreCache cache = mScoreCacheCaptor.getValue(); in scoreCacheAndListenerShouldBeUnregisteredWhenStopTrackingIsCalled()
DAccessPointTest.java45 import android.net.wifi.WifiNetworkScoreCache;
104 @Mock private WifiNetworkScoreCache mockWifiNetworkScoreCache;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScoredNetworkEvaluatorTest.java34 import android.net.wifi.WifiNetworkScoreCache;
80 private WifiNetworkScoreCache mScoreCache;
96 mScoreCache = new WifiNetworkScoreCache(mContext); in setUp()
DWifiConnectivityManagerTest.java40 import android.net.wifi.WifiNetworkScoreCache;
142 @Mock private WifiNetworkScoreCache mScoreCache;
/frameworks/base/config/
Dpreloaded-classes2635 android.net.wifi.WifiNetworkScoreCache$CacheListener
2636 android.net.wifi.WifiNetworkScoreCache