Searched refs:calculateBadge (Results 1 – 5 of 5) sorted by relevance
225 assertEquals(NetworkBadging.BADGING_NONE, network.calculateBadge(TEST_RSSI)); in calculateBadgeShouldReturnNoBadgeWhenNoAttributesBundle()231 assertEquals(NetworkBadging.BADGING_NONE, network.calculateBadge(TEST_RSSI)); in calculateBadgeShouldReturnNoBadgeWhenNoBadgingCurveInBundle()238 assertEquals(NetworkBadging.BADGING_4K, network.calculateBadge(TEST_RSSI)); in calculateBadgeShouldReturn4kBadge()245 assertEquals(NetworkBadging.BADGING_HD, network.calculateBadge(TEST_RSSI)); in calculateBadgeShouldReturnHdBadge()252 assertEquals(NetworkBadging.BADGING_SD, network.calculateBadge(TEST_RSSI)); in calculateBadgeShouldReturnSdBadge()259 assertEquals(NetworkBadging.BADGING_NONE, network.calculateBadge(TEST_RSSI)); in calculateBadgeShouldReturnNoBadge()
299 public int calculateBadge(int rssi) { in calculateBadge() method in ScoredNetwork
368 return timedScore.score.calculateBadge(result.level) in <lambda>()
649 int speed = timedScore.getScore().calculateBadge(mRssi); in generateAverageSpeedForSsid()1634 return getSpeedLabel(context, roundToClosestSpeedEnum(scoredNetwork.calculateBadge(rssi))); in getSpeedLabel()
9728 method @Deprecated public int calculateBadge(int);