Searched refs:lookupScore (Results 1 – 8 of 8) sorted by relevance
139 public byte lookupScore(int rssi) { in lookupScore() method in RssiCurve140 return lookupScore(rssi, false /* isActiveNetwork */); in lookupScore()152 public byte lookupScore(int rssi, boolean isActiveNetwork) { in lookupScore() method in RssiCurve
281 int score = (rssiCurve == null) ? 0 : rssiCurve.lookupScore(rssi) << Byte.SIZE; in calculateRankingScore()303 return badgingCurve.lookupScore(rssi); in calculateBadge()
151 score = network.rssiCurve.lookupScore(result.level); in getNetworkScore()176 score = network.rssiCurve.lookupScore(result.level, isActiveNetwork); in getNetworkScore()
384 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.VERY_FAST);400 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.FAST);416 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.MODERATE);432 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.SLOW);448 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.VERY_FAST);463 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.VERY_FAST);983 when(badgeCurve1.lookupScore(anyInt())).thenReturn((byte) speed1); in testSpeedLabelAveragesAllBssidScores()988 when(badgeCurve2.lookupScore(anyInt())).thenReturn((byte) speed2); in testSpeedLabelAveragesAllBssidScores()1006 when(badgeCurve1.lookupScore(anyInt())).thenReturn((byte) speed1); in testSpeedLabelAverageIgnoresNoSpeedScores()1011 when(badgeCurve2.lookupScore(anyInt())).thenReturn((byte) speed2); in testSpeedLabelAverageIgnoresNoSpeedScores()[all …]
189 when(mockCurve1.lookupScore(RSSI_1)).thenReturn(SCORE_1); in setUp()190 when(mockCurve2.lookupScore(RSSI_2)).thenReturn(SCORE_2); in setUp()192 when(mockBadgeCurve1.lookupScore(RSSI_1)).thenReturn((byte) BADGE_1); in setUp()193 when(mockBadgeCurve2.lookupScore(RSSI_2)).thenReturn((byte) BADGE_2); in setUp()
171 when(mockRssiCurve.lookupScore(rssi)).thenReturn(score); in getNetworkScoreShouldReturnScore()
95 when(mockBadgeCurve.lookupScore(anyInt())).thenReturn((byte) AccessPoint.Speed.VERY_FAST); in testVerboseSummaryString_showsScanResultSpeedLabel()
9714 method @Deprecated public byte lookupScore(int);9715 method @Deprecated public byte lookupScore(int, boolean);