Home
last modified time | relevance | path

Searched refs:calculateBadge (Results 1 – 7 of 7) 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.java297 public int calculateBadge(int rssi) { in calculateBadge() method in ScoredNetwork
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java203 return timedScore.getScore().calculateBadge(result.level); in getSpecificApSpeed()
DAccessPoint.java619 int speed = timedScore.getScore().calculateBadge(mRssi); in generateAverageSpeedForSsid()
1583 return getSpeedLabel(context, roundToClosestSpeedEnum(scoredNetwork.calculateBadge(rssi))); in getSpeedLabel()
/frameworks/base/api/
Dsystem-current.txt4728 method public int calculateBadge(int);
/frameworks/base/non-updatable-api/
Dsystem-current.txt4728 method public int calculateBadge(int);
/frameworks/base/config/
Dboot-image-profile.txt42224 HSPLandroid/net/ScoredNetwork;->calculateBadge(I)I