Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DRssiUtilTest.java71 int actual = RssiUtil.calculateSignalLevel(mContext, rssi); in testCalculateSignalLevelImplementationsConsistent()
79 assertThat(RssiUtil.calculateSignalLevel(mContext, -100)).isEqualTo(0); in testCalculateSignalLevel()
80 assertThat(RssiUtil.calculateSignalLevel(mContext, -89)).isEqualTo(0); in testCalculateSignalLevel()
81 assertThat(RssiUtil.calculateSignalLevel(mContext, -88)).isEqualTo(1); in testCalculateSignalLevel()
82 assertThat(RssiUtil.calculateSignalLevel(mContext, -78)).isEqualTo(1); in testCalculateSignalLevel()
83 assertThat(RssiUtil.calculateSignalLevel(mContext, -77)).isEqualTo(2); in testCalculateSignalLevel()
84 assertThat(RssiUtil.calculateSignalLevel(mContext, -67)).isEqualTo(2); in testCalculateSignalLevel()
85 assertThat(RssiUtil.calculateSignalLevel(mContext, -66)).isEqualTo(3); in testCalculateSignalLevel()
86 assertThat(RssiUtil.calculateSignalLevel(mContext, -56)).isEqualTo(3); in testCalculateSignalLevel()
87 assertThat(RssiUtil.calculateSignalLevel(mContext, -55)).isEqualTo(4); in testCalculateSignalLevel()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DRssiUtil.java25 public class RssiUtil { class
26 private RssiUtil() {} in RssiUtil() method in RssiUtil
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java46 import com.android.server.wifi.util.RssiUtil;
208 int newRssi = RssiUtil.calculateAdjustedRssi(pollResults.getRssi()); in triggerUpdateOfWifiUsabilityStats()
DWifiScoreCard.java72 import com.android.server.wifi.util.RssiUtil;
1313 mSignalLevel = RssiUtil.calculateSignalLevel(mContext, rssi); in updateWifiInfo()
DClientModeImpl.java159 import com.android.server.wifi.util.RssiUtil;
2725 int rssi = RssiUtil.calculateAdjustedRssi(pollResults.getRssi(linkId)); in updateMloLinkFromPollResults()
2771 int newRssi = RssiUtil.calculateAdjustedRssi(pollResults.getRssi()); in updateLinkLayerStatsRssiSpeedFrequencyCapabilities()
2833 int newSignalLevel = RssiUtil.calculateSignalLevel(mContext, newRssi); in updateLinkLayerStatsRssiSpeedFrequencyCapabilities()
2948 RssiUtil.calculateSignalLevel(mContext, newRssi)); in sendRssiChangeBroadcast()
DWifiServiceImpl.java221 import com.android.server.wifi.util.RssiUtil;
7103 return RssiUtil.calculateSignalLevel(mContext, rssi);
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java70 import com.android.server.wifi.util.RssiUtil;
1915 int signalLevel = RssiUtil.calculateSignalLevel(mContext, mWifiInfo.getRssi()); in testLinkBandwidthLowOnTimeHighSignalLevel()
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp1262 "com.android.server.wifi.util.RssiUtil",
1263 "com.android.server.wifi.util.RssiUtil$*",
1264 "com.android.server.wifi.util.RssiUtil.**",
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto3988 // Signal level derived by RssiUtil.calculateSignalLevel based on RSSI