Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkScoreTest.java140 + PasspointNetworkScore.RSSI_SCORE.lookupScore(-60, false))); in TEST_DATA_LIST.add()
150 + PasspointNetworkScore.RSSI_SCORE.lookupScore(-60, true))); in TEST_DATA_LIST.add()
161 + PasspointNetworkScore.RSSI_SCORE.lookupScore(-60, false))); in TEST_DATA_LIST.add()
172 + PasspointNetworkScore.RSSI_SCORE.lookupScore(-60, false))); in TEST_DATA_LIST.add()
184 + PasspointNetworkScore.RSSI_SCORE.lookupScore(-60, false))); in TEST_DATA_LIST.add()
196 + PasspointNetworkScore.RSSI_SCORE.lookupScore(-60, false) in TEST_DATA_LIST.add()
209 + PasspointNetworkScore.RSSI_SCORE.lookupScore(-60, false) in TEST_DATA_LIST.add()
222 + PasspointNetworkScore.RSSI_SCORE.lookupScore(-60, false) in TEST_DATA_LIST.add()
235 + PasspointNetworkScore.RSSI_SCORE.lookupScore(-60, false) in TEST_DATA_LIST.add()
250 + PasspointNetworkScore.RSSI_SCORE.lookupScore(-60, false))); in TEST_DATA_LIST.add()
[all …]
/frameworks/base/core/java/android/net/
DRssiCurve.java135 public byte lookupScore(int rssi) { in lookupScore() method in RssiCurve
136 return lookupScore(rssi, false /* isActiveNetwork */); in lookupScore()
148 public byte lookupScore(int rssi, boolean isActiveNetwork) { in lookupScore() method in RssiCurve
DScoredNetwork.java260 int score = (rssiCurve == null) ? 0 : rssiCurve.lookupScore(rssi) << Byte.SIZE; in calculateRankingScore()
282 return badgingCurve.lookupScore(rssi); in calculateBadge()
/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkScoreCache.java146 score = network.rssiCurve.lookupScore(result.level); in getNetworkScore()
172 score = network.rssiCurve.lookupScore(result.level, isActiveNetwork); in getNetworkScore()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java163 when(mockCurve1.lookupScore(RSSI_1)).thenReturn(SCORE_1); in setUp()
164 when(mockCurve2.lookupScore(RSSI_2)).thenReturn(SCORE_2); in setUp()
166 when(mockBadgeCurve1.lookupScore(RSSI_1)).thenReturn((byte) BADGE_1); in setUp()
167 when(mockBadgeCurve2.lookupScore(RSSI_2)).thenReturn((byte) BADGE_2); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkScore.java182 score += RSSI_SCORE.lookupScore(scanDetail.getScanResult().level, isActiveNetwork); in calculateScore()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkScoreCacheTest.java170 when(mockRssiCurve.lookupScore(rssi)).thenReturn(score); in getNetworkScoreShouldReturnScore()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java107 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) NetworkBadging.BADGING_SD); in testBadgedWifiIcon()
/frameworks/base/api/
Dsystem-current.txt27933 method public byte lookupScore(int);
27934 method public byte lookupScore(int, boolean);