Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/net/
DScoredNetworkTest.java225 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()
/frameworks/base/core/java/android/net/
DScoredNetwork.java299 public int calculateBadge(int rssi) { in calculateBadge() method in ScoredNetwork
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.kt368 return timedScore.score.calculateBadge(result.level) in <lambda>()
DAccessPoint.java649 int speed = timedScore.getScore().calculateBadge(mRssi); in generateAverageSpeedForSsid()
1634 return getSpeedLabel(context, roundToClosestSpeedEnum(scoredNetwork.calculateBadge(rssi))); in getSpeedLabel()
/frameworks/base/core/api/
Dsystem-current.txt9728 method @Deprecated public int calculateBadge(int);