Searched refs:RssiUtil (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | RssiUtilTest.java | 71 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/ |
D | RssiUtil.java | 25 public class RssiUtil { class 26 private RssiUtil() {} in RssiUtil() method in RssiUtil
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiScoreReport.java | 46 import com.android.server.wifi.util.RssiUtil; 208 int newRssi = RssiUtil.calculateAdjustedRssi(pollResults.getRssi()); in triggerUpdateOfWifiUsabilityStats()
|
D | WifiScoreCard.java | 72 import com.android.server.wifi.util.RssiUtil; 1313 mSignalLevel = RssiUtil.calculateSignalLevel(mContext, rssi); in updateWifiInfo()
|
D | ClientModeImpl.java | 159 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()
|
D | WifiServiceImpl.java | 221 import com.android.server.wifi.util.RssiUtil; 7103 return RssiUtil.calculateSignalLevel(mContext, rssi);
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiScoreCardTest.java | 70 import com.android.server.wifi.util.RssiUtil; 1915 int signalLevel = RssiUtil.calculateSignalLevel(mContext, mWifiInfo.getRssi()); in testLinkBandwidthLowOnTimeHighSignalLevel()
|
/packages/modules/Wifi/service/tests/wifitests/ |
D | Android.bp | 1262 "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/ |
D | metrics.proto | 3988 // Signal level derived by RssiUtil.calculateSignalLevel based on RSSI
|