Home
last modified time | relevance | path

Searched refs:networkKey (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/net/
DScoredNetwork.java71 public final NetworkKey networkKey; field in ScoredNetwork
113 public ScoredNetwork(NetworkKey networkKey, RssiCurve rssiCurve) { in ScoredNetwork() argument
114 this(networkKey, rssiCurve, false /* meteredHint */); in ScoredNetwork()
130 public ScoredNetwork(NetworkKey networkKey, RssiCurve rssiCurve, boolean meteredHint) { in ScoredNetwork() argument
131 this(networkKey, rssiCurve, meteredHint, null /* attributes */); in ScoredNetwork()
148 public ScoredNetwork(NetworkKey networkKey, RssiCurve rssiCurve, boolean meteredHint, in ScoredNetwork() argument
150 this.networkKey = networkKey; in ScoredNetwork()
157 networkKey = NetworkKey.CREATOR.createFromParcel(in); in ScoredNetwork()
174 networkKey.writeToParcel(out, flags); in writeToParcel()
192 return Objects.equals(networkKey, that.networkKey) in equals()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkScoreCache.java103 String networkKey = buildNetworkKey(network); in updateScores() local
104 if (networkKey == null) { in updateScores()
110 mCache.put(networkKey, network); in updateScores()
154 Log.d(TAG, "getNetworkScore found scored network " + network.networkKey in getNetworkScore()
179 Log.d(TAG, "getNetworkScore found scored network " + network.networkKey in getNetworkScore()
201 public ScoredNetwork getScoredNetwork(NetworkKey networkKey) { in getScoredNetwork() argument
202 String key = buildNetworkKey(networkKey); in getScoredNetwork()
205 Log.d(TAG, "Could not build key string for Network Key: " + networkKey); in getScoredNetwork()
218 return buildNetworkKey(network.networkKey); in buildNetworkKey()
221 private String buildNetworkKey(NetworkKey networkKey) { in buildNetworkKey() argument
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScoredNetworkEvaluator.java96 NetworkKey networkKey = NetworkKey.createFromScanResult(scanResult); in updateNetworkScoreCache() local
97 if (networkKey != null) { in updateNetworkScoreCache()
99 if (mScoreCache.getScoredNetwork(networkKey) == null) { in updateNetworkScoreCache()
100 unscoredNetworks.add(networkKey); in updateNetworkScoreCache()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java150 NetworkKey networkKey = NetworkKey.createFromWifiInfo(mWifiInfo); in maybeRequestNetworkScore() local
151 if (mWifiNetworkScoreCache.getScoredNetwork(networkKey) == null) { in maybeRequestNetworkScore()
152 mNetworkScoreManager.requestScores(new NetworkKey[]{ networkKey }); in maybeRequestNetworkScore()
DAccessPoint.java310 mScoredNetworkCache.put(timedScore.getScore().networkKey.wifiKey.bssid, timedScore); in AccessPoint()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java159 when(mWifiInfo.getSSID()).thenReturn(SCORED_NETWORK.networkKey.wifiKey.ssid); in setUp()
160 when(mWifiInfo.getBSSID()).thenReturn(SCORED_NETWORK.networkKey.wifiKey.bssid); in setUp()
177 mScanResults.add(createScanResult(SSID, SCORED_NETWORK.networkKey.wifiKey.bssid)); in populateScanResults()
178 mScanResults.add(createScanResult(SSID_2, SCORED_NETWORK_2.networkKey.wifiKey.bssid)); in populateScanResults()
796 createScanResult("", SCORED_NETWORK.networkKey.wifiKey.bssid), in testScanResultsScoreCacheFilter_invalidScanResults()
797 createScanResult(WifiManager.UNKNOWN_SSID, SCORED_NETWORK.networkKey.wifiKey.bssid), in testScanResultsScoreCacheFilter_invalidScanResults()
/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java454 List<ScoredNetwork> networkList = networksByType.get(network.networkKey.type); in updateScores()
457 networksByType.put(network.networkKey.type, networkList); in updateScores()
645 if (scoredNetwork.networkKey.equals(mCurrentNetwork)) { in apply()
690 if (mScanResultKeys.contains(scoredNetwork.networkKey)) { in apply()
/frameworks/base/api/
Dsystem-current.txt4737 field public final android.net.NetworkKey networkKey;
/frameworks/base/non-updatable-api/
Dsystem-current.txt4737 field public final android.net.NetworkKey networkKey;