Home
last modified time | relevance | path

Searched refs:isActiveNetwork (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkScoreTest.java48 public final boolean isActiveNetwork; field in PasspointNetworkScoreTest.TestData
59 isActiveNetwork = activeNetwork; in TestData()
345 data.isHomeProvider, scanDetail, data.anqpElements, data.isActiveNetwork)); in calculateScore()
367 data.isHomeProvider, scanDetail, data.anqpElements, data.isActiveNetwork)); in calculatorScoreWithUnSupportedNetworkType()
/frameworks/base/core/java/android/net/
DRssiCurve.java150 public byte lookupScore(int rssi, boolean isActiveNetwork) { in lookupScore() argument
151 if (isActiveNetwork) { in lookupScore()
/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkScoreCache.java172 public int getNetworkScore(ScanResult result, boolean isActiveNetwork) { in getNetworkScore() argument
177 score = network.rssiCurve.lookupScore(result.level, isActiveNetwork); in getNetworkScore()
182 + " isActiveNetwork " + isActiveNetwork); in getNetworkScore()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkScore.java148 Map<ANQPElementType, ANQPElement> anqpElements, boolean isActiveNetwork) { in calculateScore() argument
185 score += RSSI_SCORE.lookupScore(scanDetail.getScanResult().level, isActiveNetwork); in calculateScore()
DPasspointNetworkEvaluator.java274 boolean isActiveNetwork = TextUtils.equals(currentNetworkSsid, in findBestNetwork()
278 isActiveNetwork); in findBestNetwork()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java2253 private boolean isActiveNetwork(@Nullable Network network) {
2265 if (!isActiveNetwork(network)) {
2340 if (!isActiveNetwork(network)) {
2430 if (!isActiveNetwork(network)) {