Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DRssiCurve.java148 public byte lookupScore(int rssi, boolean isActiveNetwork) { in lookupScore() argument
149 if (isActiveNetwork) { in lookupScore()
/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkScoreCache.java170 public int getNetworkScore(ScanResult result, boolean isActiveNetwork) { in getNetworkScore() argument
175 score = network.rssiCurve.lookupScore(result.level, isActiveNetwork); in getNetworkScore()
180 + " 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
182 score += RSSI_SCORE.lookupScore(scanDetail.getScanResult().level, isActiveNetwork); in calculateScore()
DPasspointNetworkEvaluator.java181 boolean isActiveNetwork = TextUtils.equals(currentNetworkSsid, in findBestNetwork()
185 isActiveNetwork); in findBestNetwork()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkScoreTest.java47 public final boolean isActiveNetwork; field in PasspointNetworkScoreTest.TestData
58 isActiveNetwork = activeNetwork; in TestData()
344 data.isHomeProvider, scanDetail, data.anqpElements, data.isActiveNetwork)); in calculateScore()